# EllipticArc

An elliptic arc.

## Example

app = cf.GetApplication()
project = app:NewProject()

-- Create an elliptic arc with the ellipse's centre at the specified 'Point'

ellipseCentre = cf.Point(0, 0, 0)
ellipticArc = project.Geometry:AddEllipticArc(ellipseCentre, 1.0, 0.5, 0, 360)

## Inheritance

The EllipticArc object is derived from the Geometry object.

## Property List

The radius of the aperture of the elliptic arc. Only valid if DefinitionMethod is ApertureCentrePoint. (Read/Write Expression)
BoundingBox
A box indicating the bounding box of this entity. (Read only Box)
Centre
The centre of either the underlying ellipse or the arc aperture, depending on the value of EllipticArcDefinitionMethodEnum. (Read/Write LocalCoordinates)
DefinitionMethod
Elliptic arc definition method as specified by the EllipticArcDefinitionMethodEnum, e.g. EllipseCentrePoint or ApertureCentrePoint. (Read/Write EllipticArcDefinitionMethodEnum)
Depth
The distance from the aperture centre point to the apex of the elliptical arc section. Only valid if DefinitionMethod is ApertureCentrePoint. (Read/Write Expression)
Eccentricity
The eccentricity of the ellipse on which the elliptical arc section lies. The eccentricity must be less than 1 to specify a valid ellipse. Only valid if DefinitionMethod is ApertureCentrePoint. (Read/Write Expression)
EndAngle
The angle (degrees), from the positive U axis direction where the arc ends. Only valid if DefinitionMethod is EllipseCentrePoint. (Read/Write Expression)
Faulty
Indicates whether the geometry has faults. (Read only boolean)
Included
Specifies whether the geometry must be included or excluded. (Read/Write boolean)
Label
LocalWorkplane
The elliptic arc workplane. (Read only LocalWorkplane)
Locked
Specifies whether the geometry must be locked to prevent modifications. (Read/Write boolean)
MajorAxisDirection
The major axis direction of the ellipse specified by the EllipticArcMajorAxisDirectionEnum, e.g. U or V. (Read/Write EllipticArcMajorAxisDirectionEnum)
MeshElementCount
Get the total number of mesh elements for the geometry part. (Read only number)
Parent
The parent part of this geometry. If this is a top level part nil will be returned. (Read only Geometry)
The U radius of the ellipse on which the arc lies. Only valid if DefinitionMethod is EllipseCentrePoint. (Read/Write Expression)
The V radius of the ellipse on which the arc lies. Only valid if DefinitionMethod is EllipseCentrePoint. (Read/Write Expression)
SimulationMeshInfo
The quality of the mesh can be examined through these properties. (Read only MeshInfo)
SimulationMeshPresent
Specifies whether the geometry has an associated simulation mesh. (Read only boolean)
StartAngle
The angle (degrees), from the positive U axis direction where the arc begins. Only valid if DefinitionMethod is EllipseCentrePoint. (Read/Write Expression)
Type
The object type string. (Read only string)
Visible
Specifies whether the geometry must be shown or hidden. (Read/Write boolean)

## Collection List

Children
The collection of child operators of the operator. (ChildOperatorCollection of Geometry.)
Edges
The collection of edges of the operator. (EdgeCollection of Edge.)
Faces
The collection of faces of the operator. (FaceCollection of Face.)
Regions
The collection of regions of the operator. (RegionCollection of Region.)
Transforms
The collection of transforms on the operator. (TransformGeometryCollection of Transform.)
Wires
The collection of wires of the operator. (WireCollection of Edge.)

## Method List

ConvertToPrimitive ()
Convert the geometry into its primitive base form, returning a new part without the concrete type properties. The reference to the original part will become invalid. (Returns a Geometry object.)
CopyAndMirror (properties table)
Apply a copy and mirror using a table defining the properties. (Returns a Geometry object.)
CopyAndRotate (origin Coordinate, rotationaxis Coordinate, angle Expression, count number)
Copy and rotate the geometry. (Returns a List of Geometry object.)
CopyAndRotate (properties table, count number)
Apply a copy and rotate using a table defining the properties. (Returns a List of Geometry object.)
CopyAndTranslate (from Coordinate, to Coordinate, count number)
Copy and translate the geometry. (Returns a List of Geometry object.)
CopyAndTranslate (properties table, count number)
Apply a copy and translate using a table defining the properties. (Returns a List of Geometry object.)
Delete ()
Delete the geometry.
DeleteMesh ()
Deletes the geometry's associated simulation mesh.
Duplicate ()
Duplicates the geometry. (Returns a Geometry object.)
Explode ()
Explode the geometry into separate surface and edge parts. The new parts represent a snapshot of the geometry at the time it was exploded. (Returns a List of Geometry object.)
GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step. (Returns a table object.)
ReEvaluate ()
Re-evaluate the model by initiating the mapping algorithm. The algorithm keeps track of the individual items when the geometry is modified. Models created in earlier versions of CADFEKO versions may not contain all the mapping information. As a result some items may be marked suspect.
ReverseFaceNormals ()
Reverse the geometry face normals.
ReverseFaceNormals (faces List of Face)
Reverse the geometry face normals.
SetProperties (properties table)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
Unlinks the geometry's associated simulation mesh. (Returns a Mesh object.)

## Static Function List

GetDefaultProperties ()
Creates a table containing the default settings to create an object. (Returns a table object.)

## Property Details

The radius of the aperture of the elliptic arc. Only valid if DefinitionMethod is ApertureCentrePoint.
Type
Expression
Access
BoundingBox
A box indicating the bounding box of this entity.
Type
Box
Access
Centre
The centre of either the underlying ellipse or the arc aperture, depending on the value of EllipticArcDefinitionMethodEnum.
Type
LocalCoordinates
Access
DefinitionMethod
Elliptic arc definition method as specified by the EllipticArcDefinitionMethodEnum, e.g. EllipseCentrePoint or ApertureCentrePoint.
Type
EllipticArcDefinitionMethodEnum
Access
Depth
The distance from the aperture centre point to the apex of the elliptical arc section. Only valid if DefinitionMethod is ApertureCentrePoint.
Type
Expression
Access
Eccentricity
The eccentricity of the ellipse on which the elliptical arc section lies. The eccentricity must be less than 1 to specify a valid ellipse. Only valid if DefinitionMethod is ApertureCentrePoint.
Type
Expression
Access
EndAngle
The angle (degrees), from the positive U axis direction where the arc ends. Only valid if DefinitionMethod is EllipseCentrePoint.
Type
Expression
Access
Faulty
Indicates whether the geometry has faults.
Type
boolean
Access
Included
Specifies whether the geometry must be included or excluded.
Type
boolean
Access
Label
The object label.
Type
string
Access
LocalWorkplane
The elliptic arc workplane.
Type
LocalWorkplane
Access
Locked
Specifies whether the geometry must be locked to prevent modifications.
Type
boolean
Access
MajorAxisDirection
The major axis direction of the ellipse specified by the EllipticArcMajorAxisDirectionEnum, e.g. U or V.
Type
EllipticArcMajorAxisDirectionEnum
Access
MeshElementCount
Get the total number of mesh elements for the geometry part.
Type
number
Access
Parent
The parent part of this geometry. If this is a top level part nil will be returned.
Type
Geometry
Access
The U radius of the ellipse on which the arc lies. Only valid if DefinitionMethod is EllipseCentrePoint.
Type
Expression
Access
The V radius of the ellipse on which the arc lies. Only valid if DefinitionMethod is EllipseCentrePoint.
Type
Expression
Access
SimulationMeshInfo
The quality of the mesh can be examined through these properties.
Type
MeshInfo
Access
SimulationMeshPresent
Specifies whether the geometry has an associated simulation mesh.
Type
boolean
Access
StartAngle
The angle (degrees), from the positive U axis direction where the arc begins. Only valid if DefinitionMethod is EllipseCentrePoint.
Type
Expression
Access
Type
The object type string.
Type
string
Access
Visible
Specifies whether the geometry must be shown or hidden.
Type
boolean
Access

## Collection Details

Children
The collection of child operators of the operator.
Type
ChildOperatorCollection
Edges
The collection of edges of the operator.
Type
EdgeCollection
Faces
The collection of faces of the operator.
Type
FaceCollection
Regions
The collection of regions of the operator.
Type
RegionCollection
Transforms
The collection of transforms on the operator.
Type
TransformGeometryCollection
Wires
The collection of wires of the operator.
Type
WireCollection

## Method Details

ConvertToPrimitive ()
Convert the geometry into its primitive base form, returning a new part without the concrete type properties. The reference to the original part will become invalid.
Return
Geometry
The new primitive geometry base.
CopyAndMirror (properties table)
Apply a copy and mirror using a table defining the properties.
Input Parameters
properties(table)
A table of properties defining the mirror transform.
Return
Geometry
The mirrored geometry.
CopyAndRotate (origin Coordinate, rotationaxis Coordinate, angle Expression, count number)
Copy and rotate the geometry.
Input Parameters
origin(Coordinate)
The coordinates of the origin of the rotation.
rotationaxis(Coordinate)
The axis of rotation.
angle(Expression)
The angle of rotation (degrees).
count(number)
The number of copies.
Return
List of Geometry
The list of rotated geometry.
CopyAndRotate (properties table, count number)
Apply a copy and rotate using a table defining the properties.
Input Parameters
properties(table)
A table of properties defining the rotate transform.
count(number)
The number of transform copies.
Return
List of Geometry
The list of rotated geometry.
CopyAndTranslate (from Coordinate, to Coordinate, count number)
Copy and translate the geometry.
Input Parameters
from(Coordinate)
Translate from coordinate.
to(Coordinate)
Translate to coordinate.
count(number)
The number of copies.
Return
List of Geometry
The list of translated geometry.
CopyAndTranslate (properties table, count number)
Apply a copy and translate using a table defining the properties.
Input Parameters
properties(table)
A table of properties defining the translate transform.
count(number)
The number of transform copies.
Return
List of Geometry
The list of translated geometry.
Delete ()
Delete the geometry.
DeleteMesh ()
Deletes the geometry's associated simulation mesh.
Duplicate ()
Duplicates the geometry.
Return
Geometry
The duplicated geometry operator.
Explode ()
Explode the geometry into separate surface and edge parts. The new parts represent a snapshot of the geometry at the time it was exploded.
Return
List of Geometry
The list of new surface and edge parts.
GetProperties ()
Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step.
Return
table
A properties table.
ReEvaluate ()
Re-evaluate the model by initiating the mapping algorithm. The algorithm keeps track of the individual items when the geometry is modified. Models created in earlier versions of CADFEKO versions may not contain all the mapping information. As a result some items may be marked suspect.
ReverseFaceNormals ()
Reverse the geometry face normals.
ReverseFaceNormals (faces List of Face)
Reverse the geometry face normals.
Input Parameters
faces(List of Face)
The list of faces to reverse normal.
SetProperties (properties table)
Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
Input Parameters
properties(table)
A table of properties defining the new state of the object.
Unlinks the geometry's associated simulation mesh.
Input Parameters