ifcopenshell.api.alignment.create_as_offset_curve¶
Module Contents¶
- ifcopenshell.api.alignment.create_as_offset_curve.create_as_offset_curve(file: ifcopenshell.file, name: str, offsets: collections.abc.Sequence[ifcopenshell.entity_instance], start_station: float = 0.0) ifcopenshell.entity_instance¶
Creates a new IfcAlignment with an IfcOffsetCurveByDistances representation.
The IfcAlignment is aggreated to IfcProject
- Parameters:
file
name – name assigned to IfcAlignment.Name
offsets – offsets from the basis curve that defines the offset curve, expected to be IfcOffsetCurveByDistances.
start_station – station value at the start of the alignment
- Returns:
Returns an IfcAlignment