Chapter 4 · Geometry · preview

Missing holes and 300 MB files: geometry problems you can diagnose

The client's viewer shows a window in a solid wall, and the furniture supplier is about to deliver two hundred more chairs written the way one of these is. Both problems are visible in the file, and both are fixed in the export.

15 min reading on the practitioner path · 15 min exercise · 6 sectionsIFC4.3 (IFC4X3_ADD2)

The window with no hole

The client has opened the furnished house, both storeys of it, in their own viewer, and they’ve sent a screenshot. Window E1, in the east wall, is drawn: frame, glass, the lot. But the wall around it is solid. You can’t see through the window, and the quantity take-off counts the east wall as if it had no opening at all. Is the window missing its opening?

tiny-house-ch4.ifcLoading the live figure…
#404=IFCAXIS2PLACEMENT2D(#403,$);
#405=IFCRECTANGLEPROFILEDEF(.AREA.,$,#404,1.,1.3);
#406=IFCCARTESIANPOINT((0.,0.,0.));
#407=IFCAXIS2PLACEMENT3D(#406,$,$);
#408=IFCEXTRUDEDAREASOLID(#405,#407,#7,0.3);
#409=IFCSHAPEREPRESENTATION(#12,'Body','SweptSolid',(#408));
#410=IFCPRODUCTDEFINITIONSHAPE($,$,(#409));
#411=IFCWINDOW('3hwihuG7P3FAks5wVZUR_N',#5,'Window E1',$,$,#402,#410,$,1.3,1.,$,$,$);
Visible in 3D
#412=IFCRELFILLSELEMENT('39Dqis4P1B4gklM4H714P3',#5,$,$,#396,#411);
#413=IFCCARTESIANPOINT((3.7,0.2,0.9));
#414=IFCDIRECTION((0.,-1.,0.));
#415=IFCDIRECTION((1.,0.,0.));
#416=IFCAXIS2PLACEMENT3D(#413,#414,#415);
#417=IFCLOCALPLACEMENT(#80,#416);
#418=IFCCARTESIANPOINT((0.,0.65));
#419=IFCAXIS2PLACEMENT2D(#418,$);
#420=IFCRECTANGLEPROFILEDEF(.AREA.,$,#419,1.2,1.3);
#421=IFCCARTESIANPOINT((0.,0.,0.));
#422=IFCAXIS2PLACEMENT3D(#421,$,$);
#423=IFCEXTRUDEDAREASOLID(#420,#422,#7,0.4);
#424=IFCSHAPEREPRESENTATION(#12,'Body','SweptSolid',(#423));
#425=IFCPRODUCTDEFINITIONSHAPE($,$,(#424));
#426=IFCOPENINGELEMENT('3nG0sy_89DgfUYWEucW9_w',#5,'Window N1 Opening',$,$,#417,#425,$,.OPENING.);
#427=IFCRELVOIDSELEMENT('0sXZxwNyD1$fnf0MR9_Kcp',#5,$,$,#89,#426);
#428=IFCCARTESIANPOINT((3.7,0.15,0.9));
#429=IFCDIRECTION((0.,-1.,0.));
#430=IFCDIRECTION((1.,0.,0.));
#431=IFCAXIS2PLACEMENT3D(#428,#429,#430);
#432=IFCLOCALPLACEMENT(#80,#431);
#433=IFCCARTESIANPOINT((0.,0.65));
42 of 1,355 instances are things you can see

Fig. 4.1 · Follow what points here.
Spot the bug

These are the relationships of the ground floor's four windows. An IFCRELVOIDSELEMENT names a wall, then the opening it cuts. An IFCRELFILLSELEMENT names an opening, then the window in it. One window is drawn in a solid wall. Which line belongs to it?

Select the line with the bug.

  1. #337=IFCRELVOIDSELEMENT('2LNE7$dnf5Sgh5B898MbiS',#5,$,$,#43,#336);
  2. #352=IFCRELFILLSELEMENT('2kuWyW4ovDbQ7D4Llt8Wmq',#5,$,$,#336,#351);
  3. #367=IFCRELVOIDSELEMENT('05GPi9YlL40ACDFnnDuZcc',#5,$,$,#43,#366);
  4. #382=IFCRELFILLSELEMENT('2DE5kapvDEgxH41PphMDyY',#5,$,$,#366,#381);
  5. #412=IFCRELFILLSELEMENT('39Dqis4P1B4gklM4H714P3',#5,$,$,#396,#411);
  6. #427=IFCRELVOIDSELEMENT('0sXZxwNyD1$fnf0MR9_Kcp',#5,$,$,#89,#426);
  7. #442=IFCRELFILLSELEMENT('1QUQLNL192bPlIiU6rZihg',#5,$,$,#426,#441);
Answer

Line 5. Why: No IfcRelVoidsElement names its opening, so no wall is told to lose it

#412 says Window E1 (#411) fills opening #396. The other three openings, #336, #366 and #426, each have an IFCRELVOIDSELEMENT that cuts them out of a wall. Nothing names #396, so W-02 is drawn whole.

Needs JavaScript to check your answer. The answer is below.

. It’s an IFCWINDOW like the other nine. Nothing in its row is unusual. So look the other way, as in chapter 1: the selection card’s Pointed at by line, then List them. One of the rows that point at the window is , an IFCRELFILLSELEMENT.

That relationship says this window fills that opening. Its fifth attribute, RelatingOpeningElement, is #396; its sixth, RelatedBuildingElement, is the window. : an IFCOPENINGELEMENT named 'Window E1 Opening'. The opening exists. List what points at it, and you get one row: the relationship you came from.

Now do the same for a window that works. in the south wall, follow its IFCRELFILLSELEMENT to its opening #336, and list what points at that:

tiny-house-ch4.ifc· Excerpt

Fig. 4.2 · Compare the two openings.

Window S1’s opening has a second relationship pointing at it, #337, an IFCRELVOIDSELEMENT. Its RelatingBuildingElement is #43, wall W-01, and its RelatedOpeningElement is the opening. That’s the statement that tells W-01 to lose a window-sized piece. Window E1’s opening has nothing like it.

The figure’s chips agree. Select #336 and its chip reads Opening in W-01. Select #396 and it reads Opening · cuts nothing: no IfcRelVoidsElement points here.

So the window is there, the opening is there, and the window fills it. The relationship that cuts the hole is missing. A viewer subtracts an opening from a wall only where an IfcRelVoidsElement says so.

In real projects, a void usually goes missing for one of these reasons:

  • The export settings. Some exporters (Archicad, for one) have options for how openings are written, and some combinations leave the relationships out.
  • The window and the wall live in different files. A façade model’s window can’t void an architecture model’s wall: IFC relationships don’t cross files.
  • A tool “cleaned” the file and dropped relationships it didn’t understand.
  • The window was placed as a free object, not hosted in the wall, so the authoring tool never cut anything.

A quick test in any viewer, before you open the text: hide the window. If the wall behind it is still solid, no hole was cut. That has two possible causes: no IfcRelVoidsElement, as here, or a subtraction the viewer tried and failed, which happens with complicated or broken opening shapes. The text tells you which: look for the relationship. If there is a hole, the problem is somewhere else, perhaps in how the window itself is drawn.

The reverse holds too. This house exports whole walls and separate openings. Another export may write walls with the holes already cut into their shape. A visible hole alone doesn’t prove that an IfcOpeningElement and its relationships were delivered. Check the representation and the opening data you need before you report a fault.

What do you do next?

The client wants the window fixed before Friday. What do you do next?

Pick one. Then you see what happens with each option.

What happens with each option:

  1. The viewer cuts the hole, until the next export overwrites your edit. And you've changed a model someone else is responsible for.
  2. Best next stepThe fix lands where the model is made, so every later export keeps it. The GlobalId names the window in any tool; whether it survives the re-export is chapter 7.
  3. No viewer cuts a hole the file doesn't ask for, and the quantity take-off stays wrong as well.
  4. One missing relationship doesn't make the model useless. Returning it costs everyone a round; one issue fixes it.

What to tell the author: the window has lost its void relationship, so check how it’s hosted and how openings are exported. The rest of this chapter explains why a viewer can draw a wall without its hole: where IFC keeps a wall’s shape, and how that shape gets a hole cut into it.

Quick check

Which statement is missing for Window E1's opening?

Answer

IfcRelVoidsElement · #396 exists, and #412 says Window E1 fills it. But no IfcRelVoidsElement names it, so wall W-02 is never told to lose it. Compare #337, which cuts Window S1's opening out of W-01.

Needs JavaScript to check your answer. The answer is below.

At work

Cause. The window and its opening were exported, and the window fills the opening; only the relationship that cuts the hole is missing. When the opening and the fill are there and only the void is gone, the file was usually post-processed (merged, filtered, “cleaned”), or the window was hosted in another element. When the opening is missing too, the window wasn’t hosted in this wall, lives in another model, or the export left openings out.

In your tool (vendor docs, as of Nov 2026):

  • Revit 2026: the IFC export settings have no option for openings; the exporter cuts a hole for a window that is hosted in its wall. A window in a linked model goes to another file with Linked Files = Export as separate IFCs (Additional Content tab), and relationships don’t cross files. Revit help
  • Archicad 29: with Export gross geometry of elements (Export holes separately) in the Geometry Conversion settings, walls are written whole and the holes as openings, and the openings are only exported when IfcOpeningElement is ticked in the Model Filter for IFC Export. Archicad help

Ask for it. A re-export with the window hosted in its wall, in the same model, and with openings in the export. If the same delivery is too heavy (§4), ask in the same message for coarser faceting (Revit: Level of detail for some element geometry; Archicad: Parametric (Extruded/revolved)) and for type geometry written once (Archicad: Export Geometry of IFC Type Products), before anyone asks for a new viewer.

Message to copy
Subject: Window E1: no hole in wall W-02 Window E1 (GlobalId 3hwihuG7P3FAks5wVZUR_N) has no hole in wall W-02 in the IFC export. The opening is there and the window fills it, but no IfcRelVoidsElement cuts it out of the wall, so viewers and quantity take-offs treat the wall as solid. Could you check that the window is hosted in this wall in the authoring model, that openings are included in the IFC export, and whether the file went through a tool that merges or cleans IFC files after export? Then please export again. Thanks.
Pro

Continue with Pro

You’ve read the opening and section 1, free. The rest of this chapter, its exercise and the tutor are part of Pro.

What’s in the rest of this chapter

  1. §2 One element, several shapes
  2. §3 A profile, pushed
  3. §4 When a shape isn’t a sweep
  4. §5 One chair shape, many chairs
  5. §6 Holes and cuts
  6. ✎ Exercise: 4 tasks on your own copy of the model, checked instantly
  7. ? A tutor that knows this chapter and asks you questions instead of giving answers

Pro: EUR 99 once (founding price until 31 December 2026), all 8 chapters, 14-day refund.

14-day money-back guarantee: if the course isn’t for you, write to hello@howifc.works within 14 days of purchase and we refund you in full.

Payment through Stripe: card, Apple Pay, Google Pay and others. Prices include VAT. Digital content: access starts as soon as you pay. On Stripe’s page you accept the terms of sale and agree to immediate access, which ends the 14-day right of withdrawal for consumers in the EU and the UK. Your statutory rights if something doesn’t work stay the same, and the 14-day money-back guarantee applies on top.

Chapter 1 is free in full. All 8 chapters

Already have Pro?

We’ll email you a sign-in link that brings you back here.

We only email you login links and the course updates you opt into.