Extrusion
An
Extrusion
primitive sweeps the cross-section along the x axis for a specified length. Extrusions are hollow objects that do not have endcaps.
Length <Value>
Parameter | <Value> |
---|---|
Range | >0.0 |
Default | 1.0 |
(R)eal #, (I)nteger? | R |
Description | Length of the extrusion. The length can be specified as a negative number. |
NumVerts <Value>
The
NumVerts
parameter specifies the number of points contained in the definition of the cross-section.
Parameter | <Value> |
---|---|
Range | >3 |
Default | N/A |
(R)eal #, (I)nteger? | I |
Description | Number of vertices in the extrusion. |
Data <x> <y> <z>
The
Data
section defines the coordinates for each vertex of the extrusion cross-section.
When defining an extrusion, the
Data
keyword must be on a line by itself. In addition, each point (defined by <x>
, <y>
and <z>
) in the extrusion should be on a line by itself.
Parameter | <Value> |
---|---|
Range | |
Default | any real # |
(R)eal #, (I)nteger? | R |
Description | Specific X, Y and Z positions for each of the 4 points in the cross-section. |
EdgeLines
Parameter | <Value> |
---|---|
Range | N/A |
Default | OFF |
(R)eal #, (I)nteger? | N/A |
Description | If specified, the cross-section will be outlined at the top and bottom. |
EdgeLineWidth
Parameter | <Value> |
---|---|
Range | 1.0 - 10.0 |
Default | 1.0 |
(R)eal #, (I)nteger? | R |
Description | The width of the outline when using the EdgeLines parameter. |
IsOpen
Parameter | <Value> |
---|---|
Range | N/A |
Default | OFF |
(R)eal #, (I)nteger? | N/A |
Description | If specified, the first and last
Data points are not connected. No value is required for this parameter.
|
SharpEdges
Parameter | <Value> |
---|---|
Range | N/A |
Default | OFF |
(R)eal #, (I)nteger? | N/A |
Description | If specified, shading between faces is not smoothed. No value is required for this parameter. |
The example
Extrusion
used here is defined in the X plane because the value of X is constant:
Component SlrPnl
Extrusion
Translate 0.2 0.0 0.0
FaceColor blue4
Length 11.5
NumVerts 4
Data0.0 3.05 -0.03EndExtrusion
0.0 3.05 0.03
0.0 -3.05 0.03
0.0 -3.05 -0.03
EndComponent