Files
editor/packages/ifc-converter
Wassim SAMADandClaude Opus 4.7 7d9c89c612 feat(ifc-converter): real IFCWALL dims + profile-typed columns
Two converter accuracy refinements:

- Recover plain IFCWALL height/thickness from geometry. These carry
  Brep/mapped geometry that getBodyExtrusionData can't read, so measure
  the mesh in the wall's own axis frame (along/across/vertical) — a
  rotation-invariant projection rather than a world-space AABB (which
  conflated a rotated wall's length and thickness). Gate on the measured
  length matching the known wall length, and free web-ifc geometry
  handles via try/finally on every path.
- Type columns from their IFC swept profile: IfcCircleProfileDef → round
  + radius, IfcRectangleProfileDef → rectangular + width/depth, falling
  back to the width/depth ratio when the profile type is unknown.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 10:45:12 -04:00
..

@pascal-app/ifc-converter

Pure conversion logic for IFC → Pascal scene graphs. Takes a Uint8Array of IFC bytes, returns { nodes, rootNodeIds, stats } shaped against @pascal-app/core schemas.

No DOM, no React. The UI lives in apps/ifc-converter.