meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
en:quick_reference_conversion [2020/11/28 01:51] Admin created |
en:quick_reference_conversion [2021/06/10 01:45] (current) JSCAD Editor |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Dimension Conversions | + | ===== Extrusions |
| - | ^ 2D to Path Conversions | + | |
| - | | var Path2DArray = 2Dshape.getOutlinePaths(); | + | |
| - | ^ 2D to 3D Extrusions | + | The ' |
| - | | 3DShape = 2Dshape.extrude(); | + | |
| - | | 3DShape = 2Dshape.extrude({offset: | + | |
| - | | 3DShape = 2Dshape.rotateExtrude({offset: | + | |
| - | | 3Dshape = 2Dpath.rectangularExtrude(3, | + | |
| - | ^ | + | <code javascript> |
| - | | tbw | | + | const { extrudeLinear, |
| + | </ | ||
| + | |||
| + | ^ | ||
| + | | const newshape = extrudeLinear({height: | ||
| + | | const newshape = extrudeRectangular({size: | ||
| + | | const newshape = extrudeRotate({startAngle: | ||
| + | | const newshape = project({axis: | ||