thatopen-syntax-ifc-loading

Configure IfcLoader or IfcImporter for deterministic IFC ingestion into ThatOpen.

17|1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/ThatOpen-Claude-Skill-Package --skill thatopen-syntax-ifc-loading-impertio-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: thatopen-syntax-ifc-loading
Source: https://github.com/Impertio-Studio/ThatOpen-Claude-Skill-Package/tree/main/skills/source/thatopen-syntax/thatopen-syntax-ifc-loading
Command: npx skills add https://github.com/Impertio-Studio/ThatOpen-Claude-Skill-Package --skill thatopen-syntax-ifc-loading-impertio-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Prevents IFC loading failures in ThatOpen by guiding you through the correct IfcLoader/IfcImporter setup steps, especially WASM configuration and version alignment.

Core Features & Use Cases

  • Correct loader lifecycle: ensures you call setup() before load() to avoid WASM initialization errors.
  • Reliable WASM + version matching: uses auto WASM resolution or safe manual configuration aligned with the installed web-ifc version.
  • Production-ready IFC ingestion: converts IFC bytes into ThatOpen Fragments via IfcLoader.load() or IfcImporter.process() and supports fragment caching for fast reloads.
  • Safety for performance and memory: initializes FragmentsManager before loading and ensures proper cleanup when using raw readIfcFile() APIs.
  • Use Case: When building a web-based BIM app, load multiple aligned IFC models while avoiding common runtime issues caused by missing setup, wrong WASM path, or incorrect data types.

Quick Start

Use the skill to load an IFC file by fetching it as bytes, creating a Uint8Array, calling setup() first, then calling load(data, true, "MyBuilding") and adding model.object to your scene.

Frequently Asked Questions about thatopen-syntax-ifc-loading

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does IFC loading fail in ThatOpen with a WASM initialization error?

IFC loading fails because IfcLoader requires calling setup() before load() to properly initialize the WASM module, and the WASM path must match your installed web-ifc version.

How do I load an IFC file into a web-based BIM viewer using ThatOpen?

To load an IFC file, fetch the file bytes, convert them to a Uint8Array, call IfcLoader.setup(), then call load(data, true, 'MyBuilding') and add the resulting model.object to your scene.

What is the difference between IfcLoader and IfcImporter for IFC ingestion?

IfcLoader provides high-level IFC ingestion converting bytes directly into ThatOpen Fragments, while IfcImporter performs low-level conversion for custom parsing pipelines.

How can I cache IFC fragments for faster reloads in a multi-model BIM app?

You can cache IFC fragments for fast reloads by initializing FragmentsManager before loading and processing IFC data through IfcLoader.load() or IfcImporter.process() to generate reusable fragment data.

Do I need to manually configure the WASM path for web-ifc?

You can use auto WASM resolution for standard setups, but safe manual configuration is required when aligning the WASM path with a specific installed web-ifc package version to prevent loading errors.

What cleanup steps are required when using readIfcFile APIs for IFC parsing?

When using raw readIfcFile APIs for IFC parsing, you must perform proper cleanup after usage to prevent memory leaks and ensure safety for performance within your web-based BIM application.