Skip to main content

lower_rectangular_trimmed

Function lower_rectangular_trimmed 

Source
pub fn lower_rectangular_trimmed(
    session: &mut LoweringSession<'_>,
    id: EntityId,
    frame: Transform,
) -> GeometryResult<NodeId>
Expand description

Lower an IfcRectangularTrimmedSurface into a parameter-space trim.

The trim parameters are NOT all lengths. A revolution or conic direction is an angle in the model’s plane-angle unit, which is degrees in many real exports; a plane, and a cylinder’s axis, are lengths; a revolved surface’s v is its generatrix’s own parameter. Scaling everything by one factor turns a 90-degree patch into a sliver, or a cylinder’s height into radians, and still renders (#589).