GeometryCollection
A collection of geometry.
Example
app = cf.GetApplication() project = app:NewProject() -- Create various geometry objects project.Geometry:AddCuboid(cf.Point(1,0,0),1,1,1) project.Geometry:AddLine(cf.Point(0,0,0),cf.Point(1,1,1)) project.Geometry:AddSphere(cf.Point(0,0,0),1) project.Geometry:Union({project.Geometry[1], project.Geometry[2]}) -- Lock all the geometry for value,geometry in pairs(project.Geometry) do geometry.Locked = true end
Usage locations (collections)
The following objects contain the GeometryCollection collection:
Property List
Collection List
- Assemblies
- The collection of geometry assemblies. (GeometryAssemblyCollection of GeometryAssembly.)
Method List
- AddAnalyticalCurve (properties table)
- Create an analytical curve from a table defining the properties. (Returns a AnalyticalCurve object.)
- AddAnalyticalCurve (start Expression, end Expression, u Expression, v Expression, n Expression)
- Create an analytical curve in the Cartesian coordinate system. (Returns a AnalyticalCurve object.)
- AddAnalyticalCurveCylindrical (start Expression, end Expression, rho Expression, phi Expression, n Expression)
- Create an analytical curve in the cylindrical coordinate system. (Returns a AnalyticalCurve object.)
- AddAnalyticalCurveSpherical (start Expression, end Expression, r Expression, theta Expression, phi Expression)
- Create an analytical curve in the spherical coordinate system. (Returns a AnalyticalCurve object.)
- AddBezierCurve (properties table)
- Create a Bezier from a table defining the properties. (Returns a BezierCurve object.)
- AddBezierCurve (startpoint Coordinate, starttangent Coordinate, endtangent Coordinate, endpoint Coordinate)
- Create a Bezier curve from the given coordinates. (Returns a BezierCurve object.)
- AddCone (properties table)
- Create a cone from a table defining the properties. (Returns a Cone object.)
- AddCone (base Coordinate, baseradius Expression, topradius Expression, height Expression)
- Create a cone by specifying height and top radius in addition to the centre and radius at the base. (Returns a Cone object.)
- AddConeWithAngleAndHeight (base Coordinate, baseradius Expression, angle Expression, height Expression)
- Create a cone by specifying the height and side angle in addition to the centre and radius at the base. (Returns a Cone object.)
- AddConeWithAngleAndTopCentre (base Coordinate, baseradius Expression, angle Expression, top Coordinate)
- Create a cone by specifying the top centre position and side angle in addition to the centre and radius at the base. (Returns a Cone object.)
- AddConeWithTopRadiusAndTopCentre (base Coordinate, baseradius Expression, topradius Expression, top Coordinate)
- Create a cone by specifying the centre and radius at the top in addition to the centre and radius at the base. (Returns a Cone object.)
- AddConstrainedSurface (positionlist List of Coordinate, normallist List of Coordinate, usurfaceparameterlist List of Expression, vsurfaceparameterlist List of Expression)
- Add a constrained surface operator. (Returns a ConstrainedSurface object.)
- AddConstrainedSurface (properties table)
- Create a constrained surface from a table defining the properties. (Returns a ConstrainedSurface object.)
- AddCuboid (properties table)
- Create a cuboid from a table defining the properties. (Returns a Cuboid object.)
- AddCuboid (cornerpoint Coordinate, width Expression, depth Expression, height Expression)
- Create a cuboid at the specified base corner and dimensions. (Returns a Cuboid object.)
- AddCuboidAtCentre (centrepoint Coordinate, width Expression, depth Expression, height Expression)
- Create a cuboid at the specified base centre and dimensions. (Returns a Cuboid object.)
- AddCylinder (properties table)
- Create a cylinder from a table defining the properties. (Returns a Cylinder object.)
- AddCylinder (centrepoint Coordinate, radius Expression, height Expression)
- Create a cylinder at the specified base centre, radius and height. (Returns a Cylinder object.)
- AddCylinderWithTopCentre (centrepoint Coordinate, radius Expression, topcentrepoint Coordinate)
- Create a cylinder at the specified base centre, radius and top centre. (Returns a Cylinder object.)
- AddEllipse (properties table)
- Create an ellipse from a table defining the properties. (Returns a Ellipse object.)
- AddEllipse (centrepoint Coordinate, radiusu Expression, radiusv Expression)
- Create an ellipse at a given centre point and 2 radii. (Returns a Ellipse object.)
- AddEllipticArc (properties table)
- Create an elliptic arc from a table defining the properties. (Returns a EllipticArc object.)
- AddEllipticArc (ellipsecentre Coordinate, radiusu Expression, radiusv Expression, startangle Expression, endangle Expression)
- Create an elliptic arc by specifying the ellipse centre point, radii and the arc angles. (Returns a EllipticArc object.)
- AddEllipticArcWithAperture (aperturecentre Coordinate, depth Expression, apertureradius Expression, eccentricity Expression, majoraxisdirection EllipticArcMajorAxisDirectionEnum)
- Create an elliptic arc by specifying the aperture centre point, depth, radius and eccentricity. (Returns a EllipticArc object.)
- AddFittedSpline (properties table)
- Create a fitted spline from a table defining the properties. (Returns a FittedSpline object.)
- AddFittedSpline (points List of Coordinate)
- Create a fitted spline from the given coordinates. (Returns a FittedSpline object.)
- AddFlare (properties table)
- Create a flare from a table defining the properties. (Returns a Flare object.)
- AddFlare (base Coordinate, bottomwidth Expression, bottomdepth Expression, height Expression, topwidth Expression, topdepth Expression)
- Create a flare by specifying the height, bottom- and top width, bottom- and top depth in addition to the centre at the base. (Returns a Flare object.)
- AddFlareWithBaseCentreAndFlareAngles (base Coordinate, bottomwidth Expression, bottomdepth Expression, height Expression, angleu Expression, anglev Expression)
- Create a flare by specifying the height, bottom width, bottom depth and flare angles in addition to the centre at the base. (Returns a Flare object.)
- AddFlareWithBaseCorner (base Coordinate, bottomwidth Expression, bottomdepth Expression, height Expression, topwidth Expression, topdepth Expression)
- Create a flare by specifying the height, bottom- and top width, bottom- and top depth in addition to the corner at the base. (Returns a Flare object.)
- AddFlareWithBaseCornerAndTopCorner (base Coordinate, top Coordinate, bottomwidth Expression, bottomdepth Expression)
- Create a flare by specifying a corner at the base, a corner at the top as well as the bottom width and depth. (Returns a Flare object.)
- AddHelix (properties table)
- Create a helix from a table defining the properties. (Returns a Helix object.)
- AddHelix (basecentre Coordinate, baseradius Expression, endradius Expression, height Expression, turns Expression, lefthandrotated boolean)
- Create a variable radius helix by specifying the top and bottom radii, the height and number of turns. (Returns a Helix object.)
- AddHelixWithHeight (basecentre Coordinate, radius Expression, height Expression, pitchangle Expression, lefthandrotated boolean)
- Create a constant radius helix with the number of turns implied by the height. (Returns a Helix object.)
- AddHelixWithTurns (basecentre Coordinate, radius Expression, pitchangle Expression, turns Expression, lefthandrotated boolean)
- Create a constant radius helix with height implied by the number of turns. (Returns a Helix object.)
- AddHyperbolicArc (properties table)
- Create a hyperbolic arc from a table defining the properties. (Returns a HyperbolicArc object.)
- AddHyperbolicArc (basecentre Coordinate, depth Expression, radius Expression, eccentricity Expression)
- Create a hyperbolic arc by specifying the hyperbola base centre point, the radius, depth and eccentricity. (Returns a HyperbolicArc object.)
- AddHyperbolicArcAtApertureCentre (aperturecentre Coordinate, depth Expression, radius Expression, eccentricity Expression)
- Create a hyperbolic arc by specifying the centre point of the arc's aperture, the radius, depth and eccentricity. (Returns a HyperbolicArc object.)
- AddLine (properties table)
- Create a line from a table defining the properties. (Returns a Line object.)
- AddLine (startpoint Coordinate, endpoint Coordinate)
- Create a straight line between the given start and end coordinates. (Returns a Line object.)
- AddNurbsSurface (points List of List of Coordinate, weights List of List of Expression)
- Create a NURBS surface by specifying all control points and all weights. The number of rows and columns (U' and V' direction orders) will be derived implicitly from the provided 2D tables' size. (Returns a NurbsSurface object.)
- AddParabolicArc (properties table)
- Create a parabolic arc from a table defining the properties. (Returns a ParabolicArc object.)
- AddParabolicArc (basecentre Coordinate, radius Expression, focaldepth Expression)
- Create a parabolic arc by specifying the parabola base centre point, radius and focal depth. (Returns a ParabolicArc object.)
- AddParabolicArcAtApertureCentre (aperturecentre Coordinate, radius Expression, depth Expression)
- Create a parabolic arc by specifying the centre point of the arc's aperture, the radius and depth. (Returns a ParabolicArc object.)
- AddParabolicArcAtBaseCentre (basecentre Coordinate, radius Expression, depth Expression)
- Create a parabolic arc by specifying the parabola base centre point, radius and depth. (Returns a ParabolicArc object.)
- AddParaboloid (properties table)
- Create a paraboloid from a table defining the properties. (Returns a Paraboloid object.)
- AddParaboloid (centrepoint Coordinate, radius Expression, focaldepth Expression)
- Create a paraboloid at a given centre point, with specified radius and focal depth. (Returns a Paraboloid object.)
- AddPolygon (properties table)
- Create a polygon from a table defining the properties. (Returns a Polygon object.)
- AddPolygon (points List of Coordinate)
- Create a polygon from the given coordinates. (Returns a Polygon object.)
- AddPolyline (properties table)
- Create a polyline from a table defining the properties. (Returns a Polyline object.)
- AddPolyline (points List of Coordinate)
- Create a polyline from the given coordinates. (Returns a Polyline object.)
- AddRectangle (properties table)
- Create a rectangle from the properties given. (Returns a Rectangle object.)
- AddRectangle (cornerpoint Coordinate, width Expression, depth Expression)
- Create a rectangle at the specified base corner and dimensions. (Returns a Rectangle object.)
- AddRectangleAtCentre (centrepoint Coordinate, width Expression, depth Expression)
- Create a rectangle at the specified base centre and dimensions. (Returns a Rectangle object.)
- AddSphere (centre Coordinate, radius Expression)
- Create a sphere with the specified radius. (Returns a Spheroid object.)
- AddSpheroid (properties table)
- Create a spheroid from a table defining the properties. (Returns a Spheroid object.)
- AddSpheroid (centre Coordinate, radiusu Expression, radiusv Expression, radiusn Expression)
- Create a spheroid at centre with radii specified in the U, V and N directions. (Returns a Spheroid object.)
- AddSurfaceBezierCurve (worksurface WorkSurface, startu Expression, startv Expression, starttangentu Expression, starttangentv Expression, endtangentu Expression, endtangentv Expression, endu Expression, endv Expression)
- Add a surface Bezier curve operator. (Returns a SurfaceBezierCurve object.)
- AddSurfaceBezierCurve (properties table)
- Create a surface Bezier from a table defining the properties. (Returns a SurfaceBezierCurve object.)
- AddSurfaceLine (worksurface WorkSurface, startu Expression, startv Expression, endu Expression, endv Expression)
- Add a surface line operator. (Returns a SurfaceLine object.)
- AddSurfaceLine (properties table)
- Create a surface line from a table defining the properties. (Returns a SurfaceLine object.)
- AddSurfaceRegularLines (worksurface WorkSurface, startcorneru Expression, startcornerv Expression, endcorneru Expression, endcornerv Expression, numlines Expression)
- Add a surface regular lines operator. (Returns a SurfaceRegularLines object.)
- AddSurfaceRegularLines (properties table)
- Create a surface regular lines operator from a table defining the properties. (Returns a SurfaceRegularLines object.)
- Contains (label string)
- Checks if the collection contains an item with the given label. (Returns a boolean object.)
- GetFaultyParts ()
- Returns all faulty parts in the model. (Returns a List of Geometry object.)
- ImprintPoints (geometry Geometry, properties table)
- Imprint points onto the geometry. (Returns a ImprintPoints object.)
- ImprintPoints (geometry Geometry, points List of Coordinate)
- Imprint points onto the geometry. (Returns a ImprintPoints object.)
- Intersect (geometrylist List of Geometry)
- Intersect the given geometry. (Returns a Intersect object.)
- Item (index number)
- Returns the Geometry at the given index. (Returns a Geometry object.)
- Item (label string)
- Returns the Geometry with the given label. (Returns a Geometry object.)
- Items ()
- Returns a table of Geometry. (Returns a List of Geometry object.)
- Loft (startgeometry Geometry, endgeometry Geometry)
- Create a loft from one geometry profile to another. The two geometry profiles should either both be surfaces or curves.For surfaces each profile can only contain a single face without holes.For curves and arcs, the profiles must be continuous. (Returns a Loft object.)
- Loft (startgeometry Geometry, endgeometry Geometry, reverse boolean)
- Create a loft from one geometry profile to another. The two geometry profiles should either both be surfaces or curves.For surfaces each profile can only contain a single face without holes.For curves and arcs, the profiles must be continuous. (Returns a Loft object.)
- Loft (startgeometry Geometry, endgeometry Geometry, properties table)
- Create a loft from one geometry profile to another, using a table defining the properties. The two geometry profiles should either both be surfaces or curves.For surfaces each profile can only contain a single face without holes.For curves and arcs, the profiles must be continuous. (Returns a Loft object.)
- LoftEdges (startedge Edge, endedge Edge)
- Create a loft from one edge to another.The edges will be copied out of their current geometry into new geometry profiles.Also accepts wires. (Returns a Loft object.)
- LoftEdges (startedge Edge, endedge Edge, properties table)
- Create a loft from one edge to another, using a table defining the properties.The edges will be copied out of their current geometry into new geometry profiles.Also accepts wires. (Returns a Loft object.)
- LoftFaces (startface Face, endface Face)
- Create a loft from one face to another.The faces will be copied out of their current geometry into new geometry profiles.The faces should not contain holes. (Returns a Loft object.)
- LoftFaces (startface Face, endface Face, properties table)
- Create a loft from one face to another, using a table defining the properties.The faces will be copied out of their current geometry into new geometry profiles.The faces should not contain holes. (Returns a Loft object.)
- PathSweep (geometry Geometry, path Geometry)
- Sweep a part along the given path. (Returns a PathSweep object.)
- PathSweep (geometry Geometry, path Geometry, flipends boolean)
- Sweep a part along the given path. (Returns a PathSweep object.)
- PathSweep (geometry Geometry, path Geometry, twistangle Expression, scalefactor Expression, flipends boolean)
- Sweep a part along the given path with normal alignment. (Returns a PathSweep object.)
- PathSweepParallel (geometry Geometry, path Geometry, twistangle Expression, scalefactor Expression, flipends boolean)
- Sweep a part along the given path with parallel alignment. (Returns a PathSweep object.)
- ProjectGeometry (geometry Geometry, part Geometry)
- Project the provided geometry onto the target geometry. (Returns a ProjectGeometry object.)
- ProjectGeometry (geometrylist List of Geometry, part Geometry)
- Project the provided list of geometry onto the target geometry. (Returns a ProjectGeometry object.)
- Simplify (geometrylist Geometry, properties table)
- Simplify the provided geometry using a table to define the simplification settings. (Returns a Simplify object.)
- Simplify (geometry Geometry)
- Simplify the provided geometry. (Returns a Simplify object.)
- Spin (geometry Geometry, axisorigin Coordinate, axisdirection Coordinate, angle Expression)
- Spin the given geometry. (Returns a Spin object.)
- Spin (geometry Geometry, properties table)
- Spin geometry using a table defining the properties. (Returns a Spin object.)
- Split (geometry Geometry, origin Coordinate, rotationu Expression, rotationv Expression)
- Split geometry along the UV plane. (Returns a List of Split object.)
- Split (geometry Geometry, properties table)
- Split geometry using a table defining the properties. (Returns a List of Split object.)
- SplitPlaneUN (geometry Geometry, origin Coordinate, rotationu Expression, rotationn Expression)
- Split geometry along the UN plane. (Returns a List of Split object.)
- SplitPlaneVN (geometry Geometry, origin Coordinate, rotationv Expression, rotationn Expression)
- Split geometry along the VN plane. (Returns a List of Split object.)
- Stitch (geometrylist List of Geometry)
- Stitch the given geometry. (Returns a Stitch object.)
- Stitch (geometrylist List of Geometry, tolerance Expression)
- Stitch the given geometry. (Returns a Stitch object.)
- Subtract (part Geometry, geometrylist List of Geometry)
- Subtract the given geometry. (Returns a Subtract object.)
- Subtract (part Geometry, parttosubtract Geometry)
- Subtract the given geometry. (Returns a Subtract object.)
- Sweep (geometry Geometry, from Coordinate, to Coordinate)
- Sweep geometry between the vector defined by the given start and end points. (Returns a Sweep object.)
- Sweep (geometry Geometry, properties table)
- Sweep geometry using a table defining the properties. (Returns a Sweep object.)
- Union ()
- Union all the geometry. (Returns a Union object.)
- Union (geometrylist List of Geometry)
- Union the given geometry. (Returns a Union object.)
- UniqueName (label string)
- Generates a unique name base of of the provided base name.If the base name already exists in the collection, a digit will be appended until a valid name is generated. (Returns a boolean object.)
Index List
Property Details
- Count
- The number of Geometry items in the collection.
- Type
- number
- Access
- Read only
- Find
- The geometry find tools.
- Type
- Find
- Access
- Read only
- Rebuild
- The geometry rebuild tools.
- Type
- Rebuild
- Access
- Read only
- Repair
- The geometry repair tools.
- Type
- GeometryRepair
- Access
- Read only
- Type
- The object type string.
- Type
- string
- Access
- Read only
Collection Details
- Assemblies
- The collection of geometry assemblies.
Method Details
- AddAnalyticalCurve (properties table)
- Create an analytical curve from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new analytical curve.
- Return
- AnalyticalCurve
- The analytical curve.
- AddAnalyticalCurve (start Expression, end Expression, u Expression, v Expression, n Expression)
- Create an analytical curve in the Cartesian coordinate system.
- Input Parameters
- start(Expression)
- The start of the interval over which the analytical curve is parametrically defined.
- end(Expression)
- The end of the interval over which the analytical curve is parametrically defined.
- u(Expression)
- The curve description in the U dimension as a function of variable t.
- v(Expression)
- The curve description in the V dimension as a function of variable t.
- n(Expression)
- The curve description in the N dimension as a function of variable t.
- Return
- AnalyticalCurve
- The analytical curve.
- AddAnalyticalCurveCylindrical (start Expression, end Expression, rho Expression, phi Expression, n Expression)
- Create an analytical curve in the cylindrical coordinate system.
- Input Parameters
- start(Expression)
- The start of the interval over which the analytical curve is parametrically defined.
- end(Expression)
- The end of the interval over which the analytical curve is parametrically defined.
- rho(Expression)
- The curve description in the rho dimension as a function of variable t.
- phi(Expression)
- The curve description in the phi dimension as a function of variable t.
- n(Expression)
- The curve description in the N dimension as a function of variable t.
- Return
- AnalyticalCurve
- The analytical curve.
- AddAnalyticalCurveSpherical (start Expression, end Expression, r Expression, theta Expression, phi Expression)
- Create an analytical curve in the spherical coordinate system.
- Input Parameters
- start(Expression)
- The start of the interval over which the analytical curve is parametrically defined.
- end(Expression)
- The end of the interval over which the analytical curve is parametrically defined.
- r(Expression)
- The curve description in the R dimension as a function of variable t.
- theta(Expression)
- The curve description in the theta dimension as a function of variable t.
- phi(Expression)
- The curve description in the phi dimension as a function of variable t.
- Return
- AnalyticalCurve
- The analytical curve.
- AddBezierCurve (properties table)
- Create a Bezier from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new Bezier curve.
- Return
- BezierCurve
- The Bezier curve.
- AddBezierCurve (startpoint Coordinate, starttangent Coordinate, endtangent Coordinate, endpoint Coordinate)
- Create a Bezier curve from the given coordinates.
- Input Parameters
- startpoint(Coordinate)
- The starting point of the curve.
- starttangent(Coordinate)
- The first control point of the Bezier curve.
- endtangent(Coordinate)
- The second control point of the Bezier curve.
- endpoint(Coordinate)
- The end point of the curve.
- Return
- BezierCurve
- The Bezier curve.
- AddCone (properties table)
- Create a cone from a table defining the properties.
- AddCone (base Coordinate, baseradius Expression, topradius Expression, height Expression)
- Create a cone by specifying height and top radius in addition to the centre and radius at the base.
- Input Parameters
- base(Coordinate)
- The base centre point coordinate.
- baseradius(Expression)
- The base radius.
- topradius(Expression)
- The top radius.
- height(Expression)
- The height.
- Return
- Cone
- The cone.
- AddConeWithAngleAndHeight (base Coordinate, baseradius Expression, angle Expression, height Expression)
- Create a cone by specifying the height and side angle in addition to the centre and radius at the base.
- Input Parameters
- base(Coordinate)
- The base centre point coordinate.
- baseradius(Expression)
- The base radius.
- angle(Expression)
- The angle (degrees) between the cone's side and base.
- height(Expression)
- The height.
- Return
- Cone
- The cone.
- AddConeWithAngleAndTopCentre (base Coordinate, baseradius Expression, angle Expression, top Coordinate)
- Create a cone by specifying the top centre position and side angle in addition to the centre and radius at the base.
- Input Parameters
- base(Coordinate)
- The base centre point coordinate.
- baseradius(Expression)
- The base radius.
- angle(Expression)
- The angle (degrees) between the cone's side and base.
- top(Coordinate)
- The top centre point coordinate.
- Return
- Cone
- The cone.
- AddConeWithTopRadiusAndTopCentre (base Coordinate, baseradius Expression, topradius Expression, top Coordinate)
- Create a cone by specifying the centre and radius at the top in addition to the centre and radius at the base.
- Input Parameters
- base(Coordinate)
- The base centre point coordinate.
- baseradius(Expression)
- The base radius.
- topradius(Expression)
- The top radius.
- top(Coordinate)
- The top centre point coordinate.
- Return
- Cone
- The cone.
- AddConstrainedSurface (positionlist List of Coordinate, normallist List of Coordinate, usurfaceparameterlist List of Expression, vsurfaceparameterlist List of Expression)
- Add a constrained surface operator.
- Input Parameters
- positionlist(List of Coordinate)
- The list of point positions.
- normallist(List of Coordinate)
- The list of normals for each point position.
- usurfaceparameterlist(List of Expression)
- The list of expressions U' surface parameter for each point.
- vsurfaceparameterlist(List of Expression)
- The list of expressions V' surface parameter for each point.
- Return
- ConstrainedSurface
- The constrained surface operator.
- AddConstrainedSurface (properties table)
- Create a constrained surface from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new constrained surface.
- Return
- ConstrainedSurface
- The constrained surface.
- AddCuboid (properties table)
- Create a cuboid from a table defining the properties.
- AddCuboid (cornerpoint Coordinate, width Expression, depth Expression, height Expression)
- Create a cuboid at the specified base corner and dimensions.
- Input Parameters
- cornerpoint(Coordinate)
- The base corner coordinates.
- width(Expression)
- The cuboid width (W).
- depth(Expression)
- The cuboid depth (D).
- height(Expression)
- The cuboid height (H).
- Return
- Cuboid
- The cuboid.
- AddCuboidAtCentre (centrepoint Coordinate, width Expression, depth Expression, height Expression)
- Create a cuboid at the specified base centre and dimensions.
- Input Parameters
- centrepoint(Coordinate)
- The base centre coordinates.
- width(Expression)
- The cuboid width (W).
- depth(Expression)
- The cuboid depth (D).
- height(Expression)
- The cuboid height (H).
- Return
- Cuboid
- The cuboid.
- AddCylinder (properties table)
- Create a cylinder from a table defining the properties.
- AddCylinder (centrepoint Coordinate, radius Expression, height Expression)
- Create a cylinder at the specified base centre, radius and height.
- Input Parameters
- centrepoint(Coordinate)
- The base centre coordinates.
- radius(Expression)
- The cylinder radius.
- height(Expression)
- The cylinder height.
- Return
- Cylinder
- The cylinder.
- AddCylinderWithTopCentre (centrepoint Coordinate, radius Expression, topcentrepoint Coordinate)
- Create a cylinder at the specified base centre, radius and top centre.
- Input Parameters
- centrepoint(Coordinate)
- The base centre coordinates.
- radius(Expression)
- The cylinder radius.
- topcentrepoint(Coordinate)
- The top centre of the cylinder.
- Return
- Cylinder
- The cylinder operator.
- AddEllipse (properties table)
- Create an ellipse from a table defining the properties.
- AddEllipse (centrepoint Coordinate, radiusu Expression, radiusv Expression)
- Create an ellipse at a given centre point and 2 radii.
- Input Parameters
- centrepoint(Coordinate)
- The centre point coordinate.
- radiusu(Expression)
- The U radius.
- radiusv(Expression)
- The V radius.
- Return
- Ellipse
- The ellipse.
- AddEllipticArc (properties table)
- Create an elliptic arc from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new elliptic arc.
- Return
- EllipticArc
- The elliptic arc.
- AddEllipticArc (ellipsecentre Coordinate, radiusu Expression, radiusv Expression, startangle Expression, endangle Expression)
- Create an elliptic arc by specifying the ellipse centre point, radii and the arc angles.
- Input Parameters
- ellipsecentre(Coordinate)
- The centre point coordinate of the ellipse on which the arc lies.
- radiusu(Expression)
- The ellipse U radius.
- radiusv(Expression)
- The ellipse V radius.
- startangle(Expression)
- The arc start angle (degrees).
- endangle(Expression)
- The arc end angle (degrees).
- Return
- EllipticArc
- The elliptic arc.
- AddEllipticArcWithAperture (aperturecentre Coordinate, depth Expression, apertureradius Expression, eccentricity Expression, majoraxisdirection EllipticArcMajorAxisDirectionEnum)
- Create an elliptic arc by specifying the aperture centre point, depth, radius and eccentricity.
- Input Parameters
- aperturecentre(Coordinate)
- The centre point coordinate of the aperture formed by the elliptical arc section.
- depth(Expression)
- The distance from the aperture centre point to the apex of the elliptical arc section.
- apertureradius(Expression)
- The radius of the aperture of the elliptic arc.
- eccentricity(Expression)
- The eccentricity of the ellipse on which the elliptical arc section lies. The eccentricity must be less than 1 to specify a valid ellipse.
- majoraxisdirection(EllipticArcMajorAxisDirectionEnum)
- The ellipse major axis direction specified by EllipticArcMajorAxisDirectionEnum.
- Return
- EllipticArc
- The elliptic arc.
- AddFittedSpline (properties table)
- Create a fitted spline from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new fitted spline.
- Return
- FittedSpline
- The fitted spline.
- AddFittedSpline (points List of Coordinate)
- Create a fitted spline from the given coordinates.
- Input Parameters
- points(List of Coordinate)
- List of coordinates describing the fitted spline.
- Return
- FittedSpline
- The fitted spline.
- AddFlare (properties table)
- Create a flare from a table defining the properties.
- AddFlare (base Coordinate, bottomwidth Expression, bottomdepth Expression, height Expression, topwidth Expression, topdepth Expression)
- Create a flare by specifying the height, bottom- and top width, bottom- and top depth in addition to the centre at the base.
- Input Parameters
- base(Coordinate)
- The base centre point coordinate.
- bottomwidth(Expression)
- The bottom width.
- bottomdepth(Expression)
- The bottom depth.
- height(Expression)
- The height.
- topwidth(Expression)
- The top width.
- topdepth(Expression)
- The top depth.
- Return
- Flare
- The flare.
- AddFlareWithBaseCentreAndFlareAngles (base Coordinate, bottomwidth Expression, bottomdepth Expression, height Expression, angleu Expression, anglev Expression)
- Create a flare by specifying the height, bottom width, bottom depth and flare angles in addition to the centre at the base.
- Input Parameters
- base(Coordinate)
- The base centre point coordinate.
- bottomwidth(Expression)
- The bottom width.
- bottomdepth(Expression)
- The bottom depth.
- height(Expression)
- The height.
- angleu(Expression)
- The flare angle (degrees) between the flare and the UN plane.
- anglev(Expression)
- The flare angle (degrees) between the flare and the VN plane.
- Return
- Flare
- The flare.
- AddFlareWithBaseCorner (base Coordinate, bottomwidth Expression, bottomdepth Expression, height Expression, topwidth Expression, topdepth Expression)
- Create a flare by specifying the height, bottom- and top width, bottom- and top depth in addition to the corner at the base.
- Input Parameters
- base(Coordinate)
- The base corner point coordinate.
- bottomwidth(Expression)
- The bottom width.
- bottomdepth(Expression)
- The bottom depth.
- height(Expression)
- The height.
- topwidth(Expression)
- The top width.
- topdepth(Expression)
- The top depth.
- Return
- Flare
- The flare.
- AddFlareWithBaseCornerAndTopCorner (base Coordinate, top Coordinate, bottomwidth Expression, bottomdepth Expression)
- Create a flare by specifying a corner at the base, a corner at the top as well as the bottom width and depth.
- Input Parameters
- base(Coordinate)
- The base corner point coordinate.
- top(Coordinate)
- The top corner point coordinate.
- bottomwidth(Expression)
- The bottom width.
- bottomdepth(Expression)
- The bottom depth.
- Return
- Flare
- The flare.
- AddHelix (properties table)
- Create a helix from a table defining the properties.
- AddHelix (basecentre Coordinate, baseradius Expression, endradius Expression, height Expression, turns Expression, lefthandrotated boolean)
- Create a variable radius helix by specifying the top and bottom radii, the height and number of turns.
- Input Parameters
- basecentre(Coordinate)
- The centre point of the helix base.
- baseradius(Expression)
- The radius of the helix base.
- endradius(Expression)
- The radius of the helix top.
- height(Expression)
- The height of the helix.
- turns(Expression)
- The number of turns of the helix.
- lefthandrotated(boolean)
- The rotation direction of the helix. Left handed if true, else right handed.
- Return
- Helix
- The helix.
- AddHelixWithHeight (basecentre Coordinate, radius Expression, height Expression, pitchangle Expression, lefthandrotated boolean)
- Create a constant radius helix with the number of turns implied by the height.
- Input Parameters
- basecentre(Coordinate)
- The centre point of the helix base.
- radius(Expression)
- The radius of the helix.
- height(Expression)
- The height of the helix.
- pitchangle(Expression)
- The angle (degrees) between the tangent of the curve and the UV plane.
- lefthandrotated(boolean)
- The rotation direction of the helix. Left handed if true, else right handed.
- Return
- Helix
- The helix.
- AddHelixWithTurns (basecentre Coordinate, radius Expression, pitchangle Expression, turns Expression, lefthandrotated boolean)
- Create a constant radius helix with height implied by the number of turns.
- Input Parameters
- basecentre(Coordinate)
- The centre point of the helix base.
- radius(Expression)
- The radius of the helix.
- pitchangle(Expression)
- The angle (degrees) between the tangent of the curve and the UV plane.
- turns(Expression)
- The number of turns of the helix.
- lefthandrotated(boolean)
- The rotation direction of the helix. Left handed if true, else right handed.
- Return
- Helix
- The helix.
- AddHyperbolicArc (properties table)
- Create a hyperbolic arc from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new hyperbolic arc.
- Return
- HyperbolicArc
- The hyperbolic arc.
- AddHyperbolicArc (basecentre Coordinate, depth Expression, radius Expression, eccentricity Expression)
- Create a hyperbolic arc by specifying the hyperbola base centre point, the radius, depth and eccentricity.
- Input Parameters
- basecentre(Coordinate)
- The centre point coordinate of the hyperbola base.
- depth(Expression)
- The distance from the apex of the hyperbola to the centre of the aperture.
- radius(Expression)
- The radius of the hyperbolic arc's aperture.
- eccentricity(Expression)
- The eccentricity of the hyperbola on which the hyperbolic arc section lies.
- Return
- HyperbolicArc
- The hyperbolic arc.
- AddHyperbolicArcAtApertureCentre (aperturecentre Coordinate, depth Expression, radius Expression, eccentricity Expression)
- Create a hyperbolic arc by specifying the centre point of the arc's aperture, the radius, depth and eccentricity.
- Input Parameters
- aperturecentre(Coordinate)
- The aperture centre of the hyperbolic arc section.
- depth(Expression)
- The distance from the apex of the hyperbola to the centre of the aperture.
- radius(Expression)
- The radius of the hyperbolic arc's aperture.
- eccentricity(Expression)
- The eccentricity of the hyperbola on which the hyperbolic arc section lies.
- Return
- HyperbolicArc
- The hyperbolic arc.
- AddLine (properties table)
- Create a line from a table defining the properties.
- AddLine (startpoint Coordinate, endpoint Coordinate)
- Create a straight line between the given start and end coordinates.
- Input Parameters
- startpoint(Coordinate)
- The start coordinate.
- endpoint(Coordinate)
- The end coordinate.
- Return
- Line
- The line.
- AddNurbsSurface (points List of List of Coordinate, weights List of List of Expression)
- Create a NURBS surface by specifying all control points and all weights. The number of rows and columns (U' and V' direction orders) will be derived implicitly from the provided 2D tables' size.
- Input Parameters
- points(List of List of Coordinate)
- The 2D table containing the control points.
- weights(List of List of Expression)
- The 2D table containing the weights at each control point.
- Return
- NurbsSurface
- The NURBS surface.
- AddParabolicArc (properties table)
- Create a parabolic arc from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new parabolic arc.
- Return
- ParabolicArc
- The parabolic arc.
- AddParabolicArc (basecentre Coordinate, radius Expression, focaldepth Expression)
- Create a parabolic arc by specifying the parabola base centre point, radius and focal depth.
- Input Parameters
- basecentre(Coordinate)
- The centre point coordinate of the parabola base.
- radius(Expression)
- The radius of the parabolic arc's aperture.
- focaldepth(Expression)
- The focal depth of the parabola.
- Return
- ParabolicArc
- The parabolic arc.
- AddParabolicArcAtApertureCentre (aperturecentre Coordinate, radius Expression, depth Expression)
- Create a parabolic arc by specifying the centre point of the arc's aperture, the radius and depth.
- Input Parameters
- aperturecentre(Coordinate)
- The aperture centre of the parabolic arc section.
- radius(Expression)
- The radius of the parabolic arc's aperture.
- depth(Expression)
- The distance from the apex of the parabola to the centre of the aperture.
- Return
- ParabolicArc
- The parabolic arc.
- AddParabolicArcAtBaseCentre (basecentre Coordinate, radius Expression, depth Expression)
- Create a parabolic arc by specifying the parabola base centre point, radius and depth.
- Input Parameters
- basecentre(Coordinate)
- The centre point coordinate of the parabola base.
- radius(Expression)
- The radius of the parabolic arc's aperture.
- depth(Expression)
- The distance from the apex of the parabola to the centre of the aperture.
- Return
- ParabolicArc
- The parabolic arc.
- AddParaboloid (properties table)
- Create a paraboloid from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new paraboloid.
- Return
- Paraboloid
- The paraboloid.
- AddParaboloid (centrepoint Coordinate, radius Expression, focaldepth Expression)
- Create a paraboloid at a given centre point, with specified radius and focal depth.
- Input Parameters
- centrepoint(Coordinate)
- The centre point coordinate.
- radius(Expression)
- The radius.
- focaldepth(Expression)
- The focal depth.
- Return
- Paraboloid
- The paraboloid.
- AddPolygon (properties table)
- Create a polygon from a table defining the properties.
- AddPolygon (points List of Coordinate)
- Create a polygon from the given coordinates.
- Input Parameters
- points(List of Coordinate)
- List of coordinates describing the polygon.
- Return
- Polygon
- The polygon.
- AddPolyline (properties table)
- Create a polyline from a table defining the properties.
- AddPolyline (points List of Coordinate)
- Create a polyline from the given coordinates.
- Input Parameters
- points(List of Coordinate)
- List of coordinates describing the polyline.
- Return
- Polyline
- The polyline.
- AddRectangle (properties table)
- Create a rectangle from the properties given.
- AddRectangle (cornerpoint Coordinate, width Expression, depth Expression)
- Create a rectangle at the specified base corner and dimensions.
- Input Parameters
- cornerpoint(Coordinate)
- The base corner coordinates.
- width(Expression)
- The rectangle width (W).
- depth(Expression)
- The rectangle depth (D).
- Return
- Rectangle
- The rectangle.
- AddRectangleAtCentre (centrepoint Coordinate, width Expression, depth Expression)
- Create a rectangle at the specified base centre and dimensions.
- Input Parameters
- centrepoint(Coordinate)
- The base centre coordinates.
- width(Expression)
- The rectangle width (W).
- depth(Expression)
- The rectangle depth (D).
- Return
- Rectangle
- The rectangle.
- AddSphere (centre Coordinate, radius Expression)
- Create a sphere with the specified radius.
- Input Parameters
- centre(Coordinate)
- The coordinate of the centre of the sphere.
- radius(Expression)
- The radius of the sphere.
- Return
- Spheroid
- The spheroid.
- AddSpheroid (properties table)
- Create a spheroid from a table defining the properties.
- AddSpheroid (centre Coordinate, radiusu Expression, radiusv Expression, radiusn Expression)
- Create a spheroid at centre with radii specified in the U, V and N directions.
- Input Parameters
- centre(Coordinate)
- The coordinate of the centre of the spheroid.
- radiusu(Expression)
- The radius in the U direction.
- radiusv(Expression)
- The radius in the V direction.
- radiusn(Expression)
- The radius in the N direction.
- Return
- Spheroid
- The spheroid.
- AddSurfaceBezierCurve (worksurface WorkSurface, startu Expression, startv Expression, starttangentu Expression, starttangentv Expression, endtangentu Expression, endtangentv Expression, endu Expression, endv Expression)
- Add a surface Bezier curve operator.
- Input Parameters
- worksurface(WorkSurface)
- The work surface on which to create the surface line.
- startu(Expression)
- The start point U' coordinate.
- startv(Expression)
- The start point V' coordinate.
- starttangentu(Expression)
- The start tangent point U' coordinate.
- starttangentv(Expression)
- The start tangent point V' coordinate.
- endtangentu(Expression)
- The end tangent point U' coordinate.
- endtangentv(Expression)
- The end tangent point V' coordinate.
- endu(Expression)
- The end point U' coordinate.
- endv(Expression)
- The end point V' coordinate.
- Return
- SurfaceBezierCurve
- The surface Bezier curve.
- AddSurfaceBezierCurve (properties table)
- Create a surface Bezier from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new surface Bezier curve.
- Return
- SurfaceBezierCurve
- The surface Bezier curve.
- AddSurfaceLine (worksurface WorkSurface, startu Expression, startv Expression, endu Expression, endv Expression)
- Add a surface line operator.
- Input Parameters
- worksurface(WorkSurface)
- The work surface on which to create the surface line.
- startu(Expression)
- The start point U' coordinate.
- startv(Expression)
- The start point V' coordinate.
- endu(Expression)
- The end point U' coordinate.
- endv(Expression)
- The end point V' coordinate.
- Return
- SurfaceLine
- The surface line operator.
- AddSurfaceLine (properties table)
- Create a surface line from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new surface line.
- Return
- SurfaceLine
- The surface line.
- AddSurfaceRegularLines (worksurface WorkSurface, startcorneru Expression, startcornerv Expression, endcorneru Expression, endcornerv Expression, numlines Expression)
- Add a surface regular lines operator.
- Input Parameters
- worksurface(WorkSurface)
- The work surface on which to create the surface line.
- startcorneru(Expression)
- The start corner point U' coordinate.
- startcornerv(Expression)
- The start corner point V' coordinate.
- endcorneru(Expression)
- The end corner point U' coordinate.
- endcornerv(Expression)
- The end corner point V' coordinate.
- numlines(Expression)
- The number of lines.
- Return
- SurfaceRegularLines
- The surface line operator.
- AddSurfaceRegularLines (properties table)
- Create a surface regular lines operator from a table defining the properties.
- Input Parameters
- properties(table)
- A table of properties defining the new surface regular lines.
- Return
- SurfaceRegularLines
- The surface regular lines.
- Contains (label string)
- Checks if the collection contains an item with the given label.
- GetFaultyParts ()
- Returns all faulty parts in the model.
- ImprintPoints (geometry Geometry, properties table)
- Imprint points onto the geometry.
- Input Parameters
- Return
- ImprintPoints
- The points imprint operator.
- ImprintPoints (geometry Geometry, points List of Coordinate)
- Imprint points onto the geometry.
- Input Parameters
- geometry(Geometry)
- The geometry onto which to imprint.
- points(List of Coordinate)
- The list of point coordinates to imprint.
- Return
- ImprintPoints
- The points imprint operator.
- Intersect (geometrylist List of Geometry)
- Intersect the given geometry.
- Item (index number)
- Returns the Geometry at the given index.
- Item (label string)
- Returns the Geometry with the given label.
- Items ()
- Returns a table of Geometry.
- Loft (startgeometry Geometry, endgeometry Geometry)
- Create a loft from one geometry profile to another. The two geometry profiles should either both be surfaces or curves.For surfaces each profile can only contain a single face without holes.For curves and arcs, the profiles must be continuous.
- Loft (startgeometry Geometry, endgeometry Geometry, reverse boolean)
- Create a loft from one geometry profile to another. The two geometry profiles should either both be surfaces or curves.For surfaces each profile can only contain a single face without holes.For curves and arcs, the profiles must be continuous.
- Loft (startgeometry Geometry, endgeometry Geometry, properties table)
- Create a loft from one geometry profile to another, using a table defining the properties. The two geometry profiles should either both be surfaces or curves.For surfaces each profile can only contain a single face without holes.For curves and arcs, the profiles must be continuous.
- LoftEdges (startedge Edge, endedge Edge)
- Create a loft from one edge to another.The edges will be copied out of their current geometry into new geometry profiles.Also accepts wires.
- LoftEdges (startedge Edge, endedge Edge, properties table)
- Create a loft from one edge to another, using a table defining the properties.The edges will be copied out of their current geometry into new geometry profiles.Also accepts wires.
- LoftFaces (startface Face, endface Face)
- Create a loft from one face to another.The faces will be copied out of their current geometry into new geometry profiles.The faces should not contain holes.
- LoftFaces (startface Face, endface Face, properties table)
- Create a loft from one face to another, using a table defining the properties.The faces will be copied out of their current geometry into new geometry profiles.The faces should not contain holes.
- PathSweep (geometry Geometry, path Geometry)
- Sweep a part along the given path.
- PathSweep (geometry Geometry, path Geometry, flipends boolean)
- Sweep a part along the given path.
- PathSweep (geometry Geometry, path Geometry, twistangle Expression, scalefactor Expression, flipends boolean)
- Sweep a part along the given path with normal alignment.
- Input Parameters
- geometry(Geometry)
- The geometry to sweep.
- path(Geometry)
- The geometry defining the path to sweep along.
- twistangle(Expression)
- The twist angle of the path sweep (degrees).
- scalefactor(Expression)
- The scale factor of the path sweep.
- flipends(boolean)
- Start the sweep from the other end of the path (boolean).
- Return
- PathSweep
- The path sweep operator.
- PathSweepParallel (geometry Geometry, path Geometry, twistangle Expression, scalefactor Expression, flipends boolean)
- Sweep a part along the given path with parallel alignment.
- Input Parameters
- geometry(Geometry)
- The geometry to sweep.
- path(Geometry)
- The geometry defining the path to sweep along.
- twistangle(Expression)
- The twist angle of the path sweep (degrees).
- scalefactor(Expression)
- The scale factor of the path sweep.
- flipends(boolean)
- Start the sweep from the other end of the path (boolean).
- Return
- PathSweep
- The path sweep operator.
- ProjectGeometry (geometry Geometry, part Geometry)
- Project the provided geometry onto the target geometry.
- Input Parameters
- Return
- ProjectGeometry
- The project geometry operator.
- ProjectGeometry (geometrylist List of Geometry, part Geometry)
- Project the provided list of geometry onto the target geometry.
- Input Parameters
- Return
- ProjectGeometry
- The project geometry operator.
- Simplify (geometrylist Geometry, properties table)
- Simplify the provided geometry using a table to define the simplification settings.
- Simplify (geometry Geometry)
- Simplify the provided geometry.
- Spin (geometry Geometry, axisorigin Coordinate, axisdirection Coordinate, angle Expression)
- Spin the given geometry.
- Input Parameters
- geometry(Geometry)
- The geometry that must be spun.
- axisorigin(Coordinate)
- The coordinates of the axis of rotation.
- axisdirection(Coordinate)
- The direction of the axis of rotation.
- angle(Expression)
- The angle (degrees) to spin by.
- Return
- Spin
- The spin operator.
- Spin (geometry Geometry, properties table)
- Spin geometry using a table defining the properties.
- Split (geometry Geometry, origin Coordinate, rotationu Expression, rotationv Expression)
- Split geometry along the UV plane.
- Input Parameters
- geometry(Geometry)
- The geometry that must be split.
- origin(Coordinate)
- The origin of the split plane.
- rotationu(Expression)
- The split plane U axis rotation angle (degrees).
- rotationv(Expression)
- The split plane V axis rotation angle (degrees).
- Return
- Split (geometry Geometry, properties table)
- Split geometry using a table defining the properties.
- SplitPlaneUN (geometry Geometry, origin Coordinate, rotationu Expression, rotationn Expression)
- Split geometry along the UN plane.
- Input Parameters
- geometry(Geometry)
- The geometry that must be split.
- origin(Coordinate)
- The origin of the split plane.
- rotationu(Expression)
- The split plane U axis rotation angle (degrees).
- rotationn(Expression)
- The split plane N axis rotation angle (degrees).
- Return
- SplitPlaneVN (geometry Geometry, origin Coordinate, rotationv Expression, rotationn Expression)
- Split geometry along the VN plane.
- Input Parameters
- geometry(Geometry)
- The geometry that must be split.
- origin(Coordinate)
- The origin of the split plane.
- rotationv(Expression)
- The split plane V axis rotation angle (degrees).
- rotationn(Expression)
- The split plane N axis rotation angle (degrees).
- Return
- Stitch (geometrylist List of Geometry)
- Stitch the given geometry.
- Stitch (geometrylist List of Geometry, tolerance Expression)
- Stitch the given geometry.
- Input Parameters
- geometrylist(List of Geometry)
- The list of geometry that must be stitched.
- tolerance(Expression)
- The tolerance to use when stitching.
- Return
- Stitch
- The stitch operator.
- Subtract (part Geometry, geometrylist List of Geometry)
- Subtract the given geometry.
- Subtract (part Geometry, parttosubtract Geometry)
- Subtract the given geometry.
- Sweep (geometry Geometry, from Coordinate, to Coordinate)
- Sweep geometry between the vector defined by the given start and end points.
- Input Parameters
- geometry(Geometry)
- The geometry to sweep.
- from(Coordinate)
- The point to start the sweep from.
- to(Coordinate)
- The point to sweep to.
- Return
- Sweep
- The sweep operator.
- Sweep (geometry Geometry, properties table)
- Sweep geometry using a table defining the properties.
- Union ()
- Union all the geometry.
- Return
- Union
- The union operator.
- Union (geometrylist List of Geometry)
- Union the given geometry.
- UniqueName (label string)
- Generates a unique name base of of the provided base name.If the base name already exists in the collection, a digit will be appended until a valid name is generated.