Guide
IFC to STL for 3D Printing
IFC describes a building, not a printable solid. Converting it to STL extracts the geometry and throws away the building semantics. The two things that most often derail a first print are the unit scale and the assumption that every IFC element is a closed, printable body.
The short answer
Convert IFC to STL by extracting the building geometry, then treat the result as a model to repair and scale, not as a finished print file. IFC usually declares metres while a slicer assumes millimetres, so a 3-metre wall can arrive as 3 mm unless you scale it by 1000 or set the import unit correctly.
The unit trap
IFC carries a project-level unit assignment. A model may declare metres, millimetres or feet. STL carries no unit at all: it is a list of 32-bit coordinates with no field for a unit string. The converter copies the coordinates as the IFC declares them; it does not rescale them to millimetres.
Check the bounding box before anything else. If a wall that should be 3,000 mm is reading 3 mm in the slicer, the IFC is in metres and the slicer is assuming millimetres. Scale by 1000 in the slicer, or set the import unit to metres if the slicer supports it.
Do not “fix” the scale by editing the STL coordinates unless you have measured the model. A 1000× error is obvious; a 25.4× error from an inch-based project is easier to miss and equally fatal to the print.
What survives the conversion
IFC is semantics first and geometry second. A wall is an IfcWall with a global ID, owner history, property sets, material associations and a spatial relationship to a storey; only then does it have a shape representation. STL has room for triangles and a normal, not for any of that metadata.
The conversion keeps the outer surface triangles of the elements that have usable geometry, in project coordinates. It does not keep material layers, finishes, profiles, property sets, element names, storey assignments, grids, annotations or 2D drawings. Spaces are not the target of the print path and are skipped in the current converter; check a filtered export if room volumes matter to your model.
This is a feature, not a defect: a slicer cannot use a fire rating or a room name. The loss matters when you expected the STL to remain a BIM deliverable. It does not. Keep the IFC as the model of record and treat the STL as a disposable print artifact.
Watertightness and thin parts
Each element is tessellated as its own shell. Adjacent walls, slabs and columns are not fused into one solid, so coincident surfaces can meet without sharing topology. A slicer may weld near-coincident vertices, but it may also report open edges or fill gaps heuristically. Expect to run a repair pass.
Architectural elements are often too thin for a reliable print: glazing, railings, single-line walls, curtain-wall mullions and decorative louvres. Check the thinnest feature against your nozzle and layer height before committing to a print. A model that looks solid in a BIM viewer can be a collection of paper-thin shells in STL.
Projects placed far from their origin are another failure mode. STL stores coordinates as 32-bit floats, which carry roughly seven significant digits. A building 500,000 m from the project origin loses absolute precision, and surfaces that should meet can end up a centimetre apart. Re-export with a local origin near the geometry when the model looks cracked.
Large IFC files and browser memory
IFC is efficient at describing a building because much of the file is text and references. A 50 MB IFC can describe a whole campus. When the converter expands that into explicit triangles, the tab's WebAssembly memory becomes the limit, not the source file size. A model that opens fine in a BIM viewer can exhaust the browser before the download starts.
The reliable workaround is to filter before export: one building, one storey, one discipline or a selected set of elements. The converter has no storey picker because storey membership is a relationship, not a geometric grouping; the selection has to happen in the BIM authoring tool.
A print-oriented workflow
- Filter the export in the BIM toolExport only the building, storey or elements you intend to print. Remove grids, annotations, 2D views and site context that will not become geometry.
- Convert to STLUse the IFC to STL workspace. The IFC reader runs in the tab; the file is not uploaded.
- Measure the bounding boxConfirm the physical size before repairing. If the numbers are in metres, scale by 1000 or set the slicer's import unit.
- Repair and inspectRun the slicer's repair pass, then inspect thin walls, glazing and open edges. Split the model into printable pieces if one shell is too large for the bed.
- Orient and printChoose an orientation that supports the massing and minimizes supports. A building model often prints best as a vertical slice or a sectional massing rather than a whole facade.
If the goal is a visual massing model, a coarse mesh is often enough. If the goal is a structural detail, the IFC may not contain the solid you need; model that detail explicitly in the BIM tool and export it as a separate element.
Measured reference: triangle count and expected STL size
| Item | Value | How it was obtained |
|---|---|---|
| Source | example.ifc, 414 KB | Same sample as the IFC to GLB reference |
| Triangles | 14,660 | Measured through the IFC reader |
| Expected binary STL | about 716 KB | Derived from 84 + 50 × triangles; not a separate timing run |
The same sample has a unit assignment in millimetres but metre-scale coordinates (25.3 × 5.9 × 9.7 m). That is why the bounding box is the first thing to check after conversion, before repair or printing.
Known failure modes: spaces, grids and annotations are skipped; thin glazing and railings can be too thin to print; a whole-campus IFC can exhaust tab memory; coordinates far from the project origin lose precision and develop cracks.
Convert a filtered IFC to STL
Open the workspace with IFC to STL preselected. Filter the IFC in your BIM tool first; the browser tab has a finite memory budget.
Open IFC to STL workspaceFrequently asked questions
Can a slicer open an IFC file directly?
Usually not. Slicers are built around mesh formats such as STL and 3MF, not BIM semantics. Convert IFC to STL or 3MF first, then repair and scale the mesh in the slicer.
Why is my IFC to STL model 1000 times too large?
IFC commonly declares metres, while STL has no unit and slicers commonly assume millimetres. The converter copies the coordinates without rescaling, so a 3-metre wall becomes 3 mm. Scale by 1000 in the slicer or set the import unit to metres.
Are rooms and spaces included in the STL?
The print path targets building elements with usable geometry; spaces, grids, annotations and 2D drawings are not the target and are skipped in the current converter. If you need a room volume, create an explicit solid in the BIM tool and export that element.
Do materials, names and storey information survive?
No. STL stores triangles and normals only. Material layers, finishes, property sets, element names and storey relationships are dropped. Keep the IFC as the model of record.
Can I convert a 500 MB IFC in the browser?
It may exceed the tab's memory. Export a filtered IFC containing one building or storey, then convert that smaller file. There is no streaming mode that avoids the memory cost.
Related guides
References
- buildingSMART IFC 4.3
- web-ifc — IFC geometry engine
- cadtomesh IFC to STL reference
- cadtomesh methodology
Last updated: . This guide documents format behaviour and the cadtomesh workspace; it is not a promise that every file will convert cleanly.