Skip to main content

Module brep

Module brep 

Source
Expand description

Boundary representations: IfcManifoldSolidBrep and its subtypes.

§The model

A B-rep solid is one Outer closed shell, optionally with inner shells that carve cavities out of it. Faceted breps use planar polygonal faces; advanced breps use IfcAdvancedFace with analytic or NURBS surfaces and properly curved edges.

§The voids trap

IfcFacetedBrepWithVoids.Voids and IfcAdvancedBrepWithVoids.Voids are inner shells to be subtracted, not additional outer shells. Appending them to the outer shell yields a solid with its cavities rendered as extra surface – visually plausible, volumetrically wrong, and it silently corrupts any quantity takeoff computed from the mesh.

§Shells are not resolved here

IfcClosedShell belongs to IfcTopologyResource, owned elsewhere. These views return shell EntityIds; walking into CfsFaces is the topology layer’s job.

Structs§

AdvancedBrep
IfcAdvancedBrep: a brep whose faces are IfcAdvancedFace.
AdvancedBrepWithVoids
IfcAdvancedBrepWithVoids: an advanced brep with internal cavities.
FacetedBrep
IfcFacetedBrep: a brep whose every face is a planar polygon.
FacetedBrepWithVoids
IfcFacetedBrepWithVoids: a faceted brep with internal cavities.
ManifoldSolidBrep
IfcManifoldSolidBrep: the abstract brep, giving access to Outer.

Functions§

non_advanced_faces
Faces of a shell that are not IfcAdvancedFace, in file order.