ifcurl/forgejo/custom
Bruno Postle 97ae246aa2 Strip Clearance representation geometry before loading IFC in viewer
web-ifc disposes its IfcAPI after load so context filtering must happen
before the buffer reaches ifcLoader.load(). Pre-process the IFC-SPF buffer
to find IfcGeometricRepresentationSubContext entities with ContextIdentifier
'Clearance', then empty the items list of any IFCSHAPEREPRESENTATION that
references those contexts, so door-swing and equipment-clearance volumes
produce no geometry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 10:56:13 +01:00
..
public/assets Strip Clearance representation geometry before loading IFC in viewer 2026-05-17 10:56:13 +01:00