REVOLUTION  - v14


revolution                  file, <vector1>, <vector2>,< p_range>, <n_angle>, <svar>,
{,S=ON|OFF} {,r} {,B=ON|OFF}

Function

Perform the rotational sweeping.

Parameters

<object_file>

The output file name

 

 

<vector1>,<vector2>

Define end points of the  axis of rotation

 

 

<p_range>

Define the control face

 

 

<n_angle>

The value of the rotation angle

 

 

<svar>

Define the silhouettes for the revolution. 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 result in the STACK (workspace).

 

 

revolution                  <object_filename>, <vector1>, <vector2>,
< n>, F=<file>, <n_angle> {,s=on|off} {,r}

Parameters

<object_filename>

The output file name.

 

 

<vector1>,<vector2>

The end points of the axis of rotation.

 

 

<i>

The number of points x control point.

 

 

F=<file>

File containing the description of the control face. The default extension is .DAT

 

 

<n_angle>

The value of the rotation angle.

 

 

s=on|off

If a Self-Intersection check is required this switch should be set to on (s=on). The default is S=OFF

 

 

r

load result in the workspace.

 

 

revolution                  <object_filename>, <vector1>, <vector2>,IDFACE=<i>, <n_angle> {,S=ON|OFF} {,r}

Parameters

<object_file>

The output file name.
 

<vector1>,<vector2>

Define the end points of the axis of rotation.
 

IDFACE=<i>

The unique ID of the profile to be revolved.
 

<n_angle>

The value of the rotation angle.
 

s=on|off

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

In the second case the string of silhouettes is described element_by_element in the data files.  Each line of the file of description has the following record structure:

. '0' or '1    

. 'X_coord    

. Y_coord   

. Z_coord

 

Example :
'1 10.5 20 0.5'

Examples

NUMERIC PROF_ID

Partition

Lines; E100, U50;;

Arc C=W30,A=90,D=S

Line; W70, P0;;

Shift E10

Profile E

Last

PROF_ID = INF(28)

Revolution RESULT,P0,P0&U10,IDF=PROF_ID,90,R

Fit

Notes

If there are points of the control face laying on the axis of rotation then they could be only 2. In these cases case it is necessary to define the control face such that the two points on the axis are exactly the first and the last in its definition. Any number of control points can define the control face.

The result is a new Body object

 

 

revolution                  ENTITY=<id1>, <vector1>, <vector2>, <n_angle>

Parameters

ENTITY=<id1>

Unique ID of the Curve that is to  be extruded

 

 

<vector1>,<vector2>

Define end points of the  axis of rotation

 

 

<n_angle>

The value of the rotation angle

Examples

NUMERIC  CurveID, angle

POINT    P1\2

# Defines the entity to be revolved

move (100,0,0)

arc c=w100,a=90,d=s

last

convert

CurveID=inf(28)

nib 2

# Defines the axis of revolution

p1 = p0

p2 = p0&u10

# Makes the revolution

pen 6

angle = 90

Revolution entity=CurveID,p1,p2,angle

FIT

points p1\100

strings s6

partition

lines
e100,u50,c4(c=w30,a=90,d=s),w70,r;

shift e10

p10=inf(1)

s6='11100011'

revolution result,p0,p0&u10,p10\17,90,s6,r 

 

Notes

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

 

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

 

 The resulting object is a new Surface entity.