v1.1
 
ExtrusionParameters Struct Reference

Parameters for Extrude(). More...

Public Member Functions

 ExtrusionParameters (number ForwardDirectionDepth, number oReverseDirectionDepth)
 Constructor.
 

Public Attributes

number ForwardDirectionDepth
 Depth of extrusion along the forward direction.
 
number ReverseDirectionDepth
 Depth of extrusion along the backward direction.
 
Vector3D Direction
 Extrusion direction. By default it is equal to the direction of the Z axis.
 
number OutwardOffset
 Parameter sets the offset outside of the generatrix of the curve (default 0).
Used to build a thin-walled body.
If OutwardOffset=0 and InwardOffset=0 then solid body is built along the contour.
 
number InwardOffset
 Parameter sets the offset inside from the generatrix of the curve (default 0).
Used to build a thin-walled body.
If OutwardOffset=0 and InwardOffset=0 then solid body is built along the contour.
 
number ForwardDirectionDraftAngle
 Draft angle when extruding forward (0 by default).
A positive value causes narrowing. If negative - extension.
Used only when extruding in the direction along the Z axis.
 
number ReverseDirectionDraftAngle
 Draft angle when extruding backward (0 by default).
A positive value causes narrowing. If negative - extension.
Used only when extruding in the direction along the Z axis.
 

Detailed Description

Parameters for Extrude().

Constructor & Destructor Documentation

◆ ExtrusionParameters()

ExtrusionParameters::ExtrusionParameters ( number ForwardDirectionDepth,
number oReverseDirectionDepth )

Constructor.

Parameters
ForwardDirectionDepthDepth of extrusion along the forward direction.
oReverseDirectionDepth[opt] Depth of extrusion along the backward direction. Equals 0 if not set.