SWEEP  - v14


sweep                        <object_file>, <p_range1>, <p_range2>,
<p_range>, <svar1>, <svar2> {,r}, {B=ON|OFF}

 

Function

Perform the sweep of a profile along a spine.

Parameters

<object_file>

The output file name.

 

 

<p_range1>

Defines the points on the spine.

 

 

<p_range2>

Defines the control face.

 

 

<p_range3>

Defines orthogonal axis on that face.

 

 

<svar1>

Silhouette of the profile to be swept. 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.

 

 

<svar2>

 

Silhouette of the spine.

s=on|off

 

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

 

 

b=on|off

The “B=ON” option  create  a Body entity from a profile. The default is b=off, that will drive the command to the creation of a Shell entity.
 

r

Load result in the stack.

 

 

sweep                        <object_file>, <i1>, F=FILE1, <i2>, F=FILE2, <P-range>
{,S=ON|OFF} {,r}}

Parameters

<object_filename>
 

The output filename.

<i1>
 

The number of points defining the spline.

F=<file1>
 

Defines the points of the spline. The default extension is .DAT.

<i2>
 

The number of points defining the control face.

F=<file2>
 

Defines the control face. The default extension is .DAT.

<p_range>
 

Defines the orthogonal axis of that face.

s

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

r

Load the result into the stack.

 

 

sweep                        SPINE=<id_1>, ENTITY=<id_2>

Parameters

SPINE=<id1>

Unique id of the Curve defining the spine.
 

ENTITY-<id2>

Unique id of the Curve that is to be swept.

 

Examples

NUMERIC  SpineID, CurveID

POINT    P1\100

# Defines the entity to be swept

move p0

circle r=50

last

convert

CurveID=inf(28)

nib 2

# Defines the Spine

move p0

arc c=e300,a=90,d=n

last

convert

SpineID=inf(28)

nib 3

# Makes the sweeping

pen 6

SWEep spine=SpineID,entity=CurveID

FIT

 

Notes

The last syntax option for the SWEEP command can only be used when the 'ex' feature is available in the license file.

 

Both entity that is  be swept and the spine must be Curve entities.

 

 The resulting object is a new Surface entity.