ELLIPSE - v14
Ellipse center=<point>, X=<vector>, Y=<vector>,
maxrad=<value>, minrad=<value>,
{,start=<value>, end=<value>} {,angle1=<value>,angle2=<value>}, sense=1|0
Function
Add an elliptical Curve entity to the model. Various parameters of Ellipse may be specified.
Parameters
|
centre |
The center of the ellipse. |
|
|
|
|
x |
The major axis. |
|
y |
The minor axis. |
|
maxrad |
The major radius measured along the major axis |
|
minrad |
The minor radius measured along the minor axis |
|
start |
Start parameter, defined as the angle obtained from the construction on the two circles with MAXRAD and MINRAD. Defined in the range [-2*PI,2*PI] |
|
end |
End parameter, defined as the angle obtained from the construction on the two circles with MAXRAD and MINRAD. |
|
angle1 |
ANGLE1 = Start plan angle. It is defined in the range [-360, 360]. |
|
angle2 |
ANGLE2 = End plan angle. It is defined in the range [-360, 360]. |
|
sense |
A value of '1' indicates anti-clockwise direction from start to end. A value of '0' indicates clockwise direction from start to end. The default is anti-clockwise (that is '1') |
Examples:
Ellipse center=(50,50,0), X=(51,50,0), Y=(50,51,0), maxrad=80, minrad=50, start=0, end=2*pi, sense=1
Ellipse center=(450,100,0), X=(451,100,0), Y=(450,101,0), maxrad=80, minrad=60, start=-pi/2, end=pi/2, sense=0
Ellipse center=(0,0,0), X=(1,0,0), Y=(0,1,0), maxrad=80, minrad=60, angle1=-45, angle2=45, sense=1
Notes
The resulting object is a new Curve entity.
See also