Flat Projection
fablabchemnitz.de.flat_projection
org.inkscape.output.svg.inkscape
inkex.py
fablabchemnitz_flat_projection.py
Flat-projection rotates an object into 3D space, then projects it back on the 2D plane.
Optionally rotate before projection
3.2
- None (front)
- X-Axis: -90° (top)
- X-Axis: +90° (bottom)
- Y-Axis: -90° (right)
- Y-Axis: +90° (left)
- Y-Axis: +180° (back)
X:0; Y:0; Z:0
90
0
0
X:0; Y:0; Z:0
Projection
- Dimetric left: 42°, 7°
- Dimetric right: 7°, 42°
- Isometric right: 30°, 30°
- Isometric left: 30°, 30°
true
Projecting a 3D object back onto a 2D plane usually shortens apparent lengths. With dimetric and isometric projections this can be compensated to preserve scale. (The z-axis in dimetric projection has scale 0.5)
22.1
19.4
We first apply Y-axis, then X-axis rotation.
Examples: For Dimetric use y=22.1°; x=19.4° -- for Isometric use y=45°; x=35.26439°.
- stroke color red
- stroke color red or black
- stroke color green
- stroke color green or blue
- any stroke color except red
- any stroke color except red or black
- any stroke color except green
- any stroke color except green or blue
- any stroke color
- nothing
10
Compute lightness change of surfaces. Surfaces with a normal at 90° with the ray direction are unaffected. 100% colors a face white, when its normal is the ray direction, and black when it is opposite. Use 0 to disable shading.
1,-2,-1
0.1
Enforce a uniform stroke-width on generated objects. Enter '=' to use the stroke-widths as computed by inksvg.py -- (sometimes wrong!)
3d-proj
0.2
Used when rendering curves. Smaller values are smoother. Range: 0.0001 to 5
true
Almost always on. Remove e.g. to show a hollow shell.
true
Render perimeter faces. May take awhile for complex shapes.
true
Disabling both side walls and back walls is the same as applying depth==0.0
The flat-projection extension transforms paths to create the illusion of a 3D projection. This can be used to visualize how (e.g. lasercut) parts are assembled into three-dimensional objects.
From https://github.com/jnweiger/inkscape-flat-projection
(C) 2019 by Jürgen Weigert [juergen@fabmail.org]
Version 0.9.5
all