Skip to main content

Module surface

Module surface 

Source
Expand description

Surface lowering: the LOW-EXACT surface half.

§Scope

Covers the surface families implemented by this adapter: elementary, swept, bounded, and the explicit-knot IfcBSplineSurfaceWithKnots / IfcRationalBSplineSurfaceWithKnots subtypes. Convention-only IfcBSplineSurface remains unsupported because lowering it would require inventing a knot convention absent from the record. B-splines are lowered as neutral values only; evaluation remains an Axiolid provider concern.

§Depth is a hint, not a bound

IfcSurfaceOfLinearExtrusion carries a Depth, but the surface it defines is unbounded in the extrusion parameter: the schema’s own definition sweeps the curve infinitely and Depth exists so a viewer can draw something finite. The neutral SurfaceRelation::LinearExtrusion therefore has no depth field.

Scaling the direction by Depth to “keep” the information would change the surface’s parameterisation: a point at parameter v would move to v * depth, silently reparameterising every trim taken against this surface. The direction is lowered as a unit-magnitude direction and the depth is deliberately dropped, which is lossy in exactly the way the schema intends.

Functions§

lower_bspline
Lower an IfcBSplineSurfaceWithKnots into a kernel B-spline patch.
lower_curve_bounded
Lower an IfcCurveBoundedPlane into a curve-bounded relation.
lower_curve_bounded_surface
Lower a generic IfcCurveBoundedSurface, preserving boundary order and whether the source omitted an explicit outer boundary.
lower_cylinder
Lower an IfcCylindricalSurface into a kernel cylinder.
lower_linear_extrusion
Lower an IfcSurfaceOfLinearExtrusion into a linear-extrusion relation.
lower_plane
Lower an IfcPlane into a kernel plane.
lower_rectangular_trimmed
Lower an IfcRectangularTrimmedSurface into a parameter-space trim.
lower_revolution
Lower an IfcSurfaceOfRevolution into a revolution relation.
lower_sphere
Lower an IfcSphericalSurface into a kernel sphere.
lower_surface_node
Lower any supported IfcSurface into a node.
lower_torus
Lower an IfcToroidalSurface into a kernel torus.