EXTRUSION - v14


extrusion                   <filename>, <p_range>, dir=<vector>, len=<len_value>,ang=<ang_value>, <svar> {,s=on|off} {,r} {,B=ON|OFF}

Function

Perform a regular extrusion.

Parameters

<object_filename>

Is the output file name

 

 

<p_range>

Defines the control face

 

 

dir=<vector>

Define the normal vector to apply to the  control face for the extrusion
 

len=<len_value>

Define the extrusion length.
 

ang=<ang_value>

Define the conicity angle in degrees (0 means no conicity).
 

<svar>

Defines the silhouettes for the extrusion. A value of '0' means that the corresponding edge 'could be shown', depending on the point of view; a value of '1' means that the corresponding edge is 'always shown', regardless of the point of view.
 

s=on|off

If Self-Intersection check is required (S=ON) or not (S=OFF). The default is S=OFF.
 

r

Load the result in the STACK.
 

 

extrusion                     <object_filename>, idface=<id>, dir=<vector>, len=<len_value>, ang=<ang_value> {,s=on|off} {,r}

 

<object_filename>

Is the output file name.
 

idface=<id>

Unique id of the PROFILE.
 

dir=<vector>

Define the normal vector to apply to the  control face for the extrusion.

 

 

len=<len_value>

Define the extrusion length.
 

ang=<ang_value>

Define the conicity angle in degrees (0 means no conicity).

 

s=on|off

If Self-Intersection Check is required (S=ON) or not (S=OFF). The default is S=OFF.
 

r

Load result in the stack.

 

 

extrusion                   <object_file>, <i>, F=<file1>, len=<len_value>,ang=<ang_value>
{,S=ON|OFF} {,r}

Parameters

<object_filename>

Is the output file name.
 

<i>

Number of points defining the control face.
 

f=<file>

Defines the control face .The default extension is .DAT
 

dir=<vector>

Define the normal vector to apply to the  control face for the extrusion.
 

len=<len_value>

Define the extrusion length.
 

ang=<ang_value>

Define the conicity angle in degrees (0 means no conicity).

 

s=on|off

If Self-Intersection check is required (S=ON) or not (S=OFF). The default is S=OFF.
 

r

Load result in the stack.

 

 

extrusion                   <object_filename>, IDFACE=<id>, dir=<vector>, len=<len_value>, ang=<ang_value> {,s=on|off} {,r}

Parameters

<object_filename>

Is the output file name.
 

IDFACE=<id>

Unique id of the PROFILE.
 

dir=<vector>

Define the normal vector to apply to the  control face for the extrusion.
 

len=<len_value>

Define the extrusion length.
 

ang=<ang_value>

Define the conicity angle in degrees (0 means no conicity).

 

S=on|off

If Self-Intersection Check is required (S=ON) or not (S=OFF). The default is S=OFF.
 

r

Load result in the workspace.

   

In the second case the string of silhouettes for the faces are described element by element in the data files. Each line of the files of description has the following record structure:

 

           . '0' or '1'

           . X_coordinates

           . Y_coordinates

           . Z_coordinates

 

      Example :

           '1 10.5 20 0.5'

Examples

point DIRECTION,P1\3

numeric FACE_ID,LENGTH,ANGLE

kill ALL

partition

move P0

line; E100;;

P1=(100,0,0), P2=(150,50,0), P3=(100,100,0)

arc S=P1,M=P2,E=P3

move P3

line; W100,P0;;

profile E

last

FACE_ID = INF(28)

DIRECTION=(0,0,1)

length = 50, ANGLE=10

extrusion RESULT,IDFACE=FACE_ID,DIR=DIRECTION,LEN=LENGTH,ANG=ANGLE,S=ON,R

fit

Notes

The resulting object is a new entity called Body.

 

Any number of control points can define the control face.

 

 

extrusion                    ENTITY=<id1>, <p_range>

Parameters

ENTITY=<id1>

Unique id of the Curve that needs to be extruded

 

 

<p_range>

Defines the control face

Examples

NUMERIC  CurveID

POINT    P1\2

# Defines the entity to be extruded

move p0

arc c=e50,a=90

last

convert

CurveID=inf(28)

nib 2

# Defines the extrusion vector

p1 = p0

p2 = p0&u100

# Makes the extrusion

pen 6

Extrusion entity=CurveID,P1\2

Fit

Notes

Note that this last syntax for the EXTRUSION command can be used only when the "ex" feature is available in the license file.

 

The entity that must be extruded must be a Curve entity.

 

The resulting object is a new Surface entity.