avila-tesselation
IFC Geometry Tesselation - 100% Rust
Converts IFC parametric solids to triangle meshes.
Features
- ExtrudedAreaSolid: Profile extrusion with caps and sides
- BRep: Boundary representation with face triangulation
- Primitives: Box, Cylinder, Sphere tesselation
- Configurable: Adjustable tolerance and segment counts
Example
use ;
use Vec3;
// Create tesselator
let tesselator = new; // 1cm tolerance
// Define rectangular profile
let profile = Profile ;
// Extrude to 3D solid
let geometry = ExtrudedAreaSolid ;
// Tesselate to mesh
let mesh = tesselator.tesselate?;
println!;
Supported IFC Types
IfcExtrudedAreaSolidIfcBoundingBoxIfcCylinderIfcSphereIfcFacetedBrepIfcTriangulatedFaceSet
License
MIT OR Apache-2.0