Skip to main content

Module swept

Module swept 

Source
Expand description

Swept solids: a cross section dragged along a path.

§The family

IfcSweptAreaSolid sweeps an IfcProfileDef; IfcSweptDiskSolid sweeps a circular disk along a curve. IfcSectionedSpine is neither – it interpolates between explicit cross sections along a spine and is a direct IfcGeometricRepresentationItem, not an IfcSolidModel.

§Why the profile is not resolved here

SweptArea is an IfcProfileDef reference and profiles are a separate resource schema owned by another module. Returning the EntityId keeps this module a transcription of the file; the profile layer decides what a profile means.

§Units

Every length and angle here is in the file’s units, not metres or radians. Converting is crate::units’s job and must happen exactly once, at lowering time. Doing it in an accessor would double-apply the scale for any caller that also converts.

Re-exports§

pub use area::ExtrudedAreaSolid;
pub use area::ExtrudedAreaSolidTapered;
pub use area::RevolvedAreaSolid;
pub use area::RevolvedAreaSolidTapered;
pub use area::SweptAreaSolid;
pub use directrix::FixedReferenceSweptAreaSolid;
pub use directrix::SectionedSpine;
pub use directrix::SurfaceCurveSweptAreaSolid;
pub use directrix::SweptDiskSolid;
pub use directrix::SweptDiskSolidPolygonal;
pub use trim::TrimMeasure;

Modules§

area
Profile sweeps: IfcSweptAreaSolid and its extrusion/revolution subtypes.
directrix
Path-driven sweeps: directrix sweeps, swept disks, sectioned spines.
trim
The trim of a directrix-driven sweep, and which kind of measure it is.