Skip to main content

surface_of_linear_extrusion

Function surface_of_linear_extrusion 

Source
pub fn surface_of_linear_extrusion(
    tx: &mut Transaction,
    swept_curve: EntityId,
    position: Option<EntityId>,
    extruded_direction: EntityId,
    depth: f64,
) -> Result<EntityId, GeometryError>
Expand description

Stage an IfcSurfaceOfLinearExtrusion: a surface, not a solid.

SweptCurve is an IfcProfileDef, and Depth is a plain IfcLengthMeasure here – negative extrusion is legal, unlike the solid form which requires a positive depth.

§Errors

Refuses a non-finite depth.