meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:design_guide_rectangular_extrude [2020/12/05 05:30]
JSCAD Editor
en:design_guide_rectangular_extrude [2020/12/08 06:55] (current)
JSCAD Editor
Line 10: Line 10:
  
 Defaults: Defaults:
-  * size: 1 /* width of rectangle during extrusion */+  * size: 1 (width of rectangle during extrusion)
   * height : 1   * height : 1
  
 <code javascript> <code javascript>
-let mypath = extrudeRectangular({height: radiusZ * 2, size: 0.25}, shape1) +const myshape = extrudeRectangular({height: radiusZ * 2, size: 0.25}, shape1) 
-let mypath = extrudeRectangular({height: radiusZ * 2, size: 3, twistAngle: Math.PI / 2, twistSteps: 10}, shape2)+const myshape = extrudeRectangular({height: radiusZ * 2, size: 3, twistAngle: Math.PI / 2, twistSteps: 10}, shape2)
 </code> </code>