next up previous contents index
Next: CONSTRUCT SHAPE CURVE NURB [shape_name] ... Up: CONSTRUCT SHAPE Previous: CONSTRUCT SHAPE BOX [shape_name]box_definition [refcs][csname]

CONSTRUCT SHAPE CONE [shape_name] pnam1 pnam2 rad1 rad2 [type [length [offset]]]

        

This command is used to define a cone using two points and two radii.


shape_name = name of the shape. If none is given a name will be generated.
pnam1, pnam2 = 2 points defining the axis of the cone.
rad1, rad2 = the radii of the cone at the two points. These may be specified
as parameter names. The shape will then be dependent on the
parameter value.
type = Optional keyword (INFINITE/TRUNCATE) controlling
whether the cone is infinite (the default) or truncated.
length = the length of the truncated cone, measured along the cone axis
in the direction from pnam1 towards pnam2. When length is
not given the cone length is taken to be the distance between
pnam1 and pnam2
offset = the offset of the start of the truncated cone measured from
pnam1 towards pnam2.

The two points and radii define a cone which can be used subsequently to define intersection points, lines and surfaces, for the projection of surfaces, and for projections during cursor or digitiser input of points.

Truncating a cone specifies the axial limits within which the cone is considered to be active when the cone is used in line or surface intersections.

Note that the position of a point defined as on a shape (or at the intersection of shapes) will be dependent on the shape definition and its position will change if the definition of the shape, or a parameter referenced in its definition, is changed.


 
Figure 2.44: Analytical Cone
\begin{figure}
\centerline{
\psfig {figure=diagrams/crycon.ps,width=1.5in}
}\end{figure}

Examples:

1.
CONSTRUCT SHAPE CONE CONEX P1 P2 1.23 0.5

Creates an infinite cone called CONEX with an axis P1 to P2 and with a radius of 1.23 at P1 and .5 at P2.

2.
CONSTRUCT SHAPE CONE CON6 P1 P2 1.23 RADS

Creates an infinite cone called CON6 with an axis P1 to P2 and with a radius 1.23 at P1 and as defined by the parameter RADS at P2.

3.
CONSTRUCT SHAPE CONE TCONE1 P2 P5 2.5 4 TRUNCATE

Creates a truncated cone called TCONE1 with an axis from P2 to P5 and radii 2.5 and 4 respectively with an axial length equal to the distance between P2 and P5.

4.
CONSTRUCT SHAPE CONE CONETR1 P2 P5 2.5 4 TRUNCATE 1.5 3.5

Creates a truncated cone, CONETR1, with an axis from P2 to P5 and radii 2.5 and 4 respectively with an axial length of 1.5 and with the start of the cone offset by 3.5 from P2 toward P5.

See also the following commands

'CONSTRUCT NAME'
'CONSTRUCT PARAMETER'
'CONSTRUCT SPACE CURS-SHPE'
'GEOMETRY LINE INTERSECT'
'GEOMETRY POINT INTERSECT'
'MESHING SHAPE'
'UTILITY DELETE SHAPES'
'UTILITY TABULATE GEOMETRY SHAPES'
'VIEW SHAPE'


next up previous contents index
Next: CONSTRUCT SHAPE CURVE NURB [shape_name] ... Up: CONSTRUCT SHAPE Previous: CONSTRUCT SHAPE BOX [shape_name]box_definition [refcs][csname]

Femsys Limited
1st October 1999