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:28]
JSCAD Editor
en:design_guide_rectangular_extrude [2020/12/08 06:55] (current)
JSCAD Editor
Line 7: Line 7:
 The two dimensional shape is extruded to the ''height'', upwards along the Z axis. The two dimensional shape is extruded to the ''height'', upwards along the Z axis.
  
-//Note: The extrusion process uses Linear Extrude underneath, so the two dimensional shape can be rotated twistAngle about the Z axis during the extrusion, creating twistSteps during the extrusion.//+//Note: The extrusion process uses Linear Extrude underneath, so the extrusion can be rotated ''twistAngle'' about the Z axis during the extrusion, creating ''twistSteps'' during the extrusion.//
  
 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>