aerocaps.geom.curves.CompositeCurve3D#

class CompositeCurve3D(curves: List[PCurve3D], name: str = 'CompositeCurve3D', construction: bool = False)[source]#

Bases: Geometry3D

Three-dimensional composite curve class

__init__(curves: List[PCurve3D], name: str = 'CompositeCurve3D', construction: bool = False)[source]#

Three-dimensional composite curve (list of three-dimensional curves connected end-to-end)

Parameters:
  • curves (List[PCurve3D]) – List of connected curves

  • name (str) – Name of the geometric object. May be re-assigned a unique name when added to a GeometryContainer. Default: ‘CompositeCurve3D’

  • construction (bool) – Whether this is a geometry used only for construction of other geometries. If True, this geometry will not be exported or plotted. Default: False

Methods

evaluate(Nt)

to_iges(curve_iges_entities, *args, **kwargs)

Converts the geometric object to an IGES entity.

transform(**transformation_kwargs)

Creates a transformed copy of the curve by transforming each of the child curves

Attributes

ordered_curves

unordered_curves

to_iges(curve_iges_entities: List[IGESEntity], *args, **kwargs) IGESEntity[source]#

Converts the geometric object to an IGES entity. To add this IGES entity to an .igs file, use an IGESGenerator.

transform(**transformation_kwargs) CompositeCurve3D[source]#

Creates a transformed copy of the curve by transforming each of the child curves

Parameters:

transformation_kwargs – Keyword arguments passed to Transformation3D

Returns:

Transformed curve

Return type:

CompositeCurve3D