meta data for this page
This is an old revision of the document!
Dimension Conversions
| 2D to Path Conversions |
|---|
| var Path2DArray = 2Dshape.getOutlinePaths(); |
| 2D to 3D Extrusions |
|---|
| 3DShape = 2Dshape.extrude(); /* offset: [0,0,1], twistangle: 0, twiststeps: 12 */ |
| 3DShape = 2Dshape.extrude({offset: [0,0,50], twistangle: 360, twiststeps: 100}); |
| 3DShape = 2Dshape.rotateExtrude({offset: [0,0,50], twistangle: 360, twiststeps: 100}); /* angle: 360, resolution: 12 */ |
| 3Dshape = 2Dpath.rectangularExtrude(3, 4, 16, true); /* w, h, resolution, round ends */ |
| 3D to 2D Conversions |
|---|
| tbw |