Skin
The
Skin
primitive causes two or more cross-sections defined by the
Data
points to be connected by a surface, or skin.
The
NumFrames
,
NumFramePts,
and
Data
parameters must be specified in a
Skin
primitive.
NumFrames <Value>
Parameter | <Value> |
---|---|
Range | > 2 |
Default | N/A |
(R)eal #, (I)nteger? | I |
Description | Number of cross-sections used to draw the skin. |
NumFramePts <Value>
TheNumFramePts
parameter defines the number of cross-sections contained in the Data
parameter.
Parameter | <Value> |
---|---|
Range | > 2 |
Default | N/A |
(R)eal #, (I)nteger? | I |
Description | Number of points used in each cross-section. |
Data < x> < y> < z>
Each row in the
Data
parameter specifies one point of the
Skin
.
When defining a
Skin
primitive, the
Data
keyword must be on a line by itself. In addition, each point (defined by
<
x>
,
<
y>,
and
<
z>
) of the
Skin
must be on a line by itself.
Parameter | <Value> |
---|---|
Range | any real # |
Default | N/A |
(R)eal #, (I)nteger? | R |
Description | X, Y, and Z positions for each of the vertices specified in the two frames. |
OpenFrame
Parameter | <Value> |
---|---|
Range | N/A |
Default | Frame closed |
(R)eal #, (I)nteger? | N/A |
Description | If included in the primitive, the first and last data points are not connected. |
The
CAPESTGEORGE.mdl
model uses the
Skin
primitive to define the forward deck house:
Component FwdSprStr
Skin
Translate 265.0 0.0 22.0
FaceColor gray50
NumFrames 3
NumFramePts 5
Data70.0 25.0 0.0EndSkin
106.5 24.0 0.0
106.5 -24.0 0.0
70.0 -25.0 0.0
70.0 25.0 0.0
70.0 25.0 19.5
106.5 24.0 24.0
106.5 -24.0 24.0
70.0 -25.0 19.5
70.0 25.0 19.5
70.0 17.0 39.5
100.5 17.0 39.5
100.5 -17.0 39.5
70.0 -17.0 39.5
70.0 17.0 39.5
EndComponent
The total number of points provided should be
NumFrames
multiplied by the
NumFramePts
.