You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plan profiles: slabs sketched as several separate loops need one solid per piece #331
Some slabs on Snowdon Towers Architectural (local only) are sketched as two or more separate loops, not one outer loop with voids. Revit's own IFC4 export writes one IfcSlab per piece, all with the element's Tag, the second named Family:Type:ElementId:2 and so on. Slab 1402063, for example, is two IfcSlabs of 0.594 × 0.635 m, exactly its two sketched loops.
plan_profile_from_segments used to take the largest loop as the outer boundary and every other loop as a void, even one lying outside it. On five Snowdon slabs that produced an IfcArbitraryProfileDefWithVoids whose "voids" sit outside the outer curve: invalid geometry, with near-zero net area.
slab
before RE-43 (invalid voids)
RE-43 (record box, ProfileResolved false), against Revit's area of one piece
1402063 (two pieces)
near zero
10.7 times
1388180
near zero
29.2 times
1388290
near zero
38.0 times
1402277 (no extrusion in Revit's export)
near zero
–
1404309
near zero
2.2 times
RE-43 fails closed: a loop not inside the largest one means no profile, so these slabs keep their record box and report ProfileResolved false.
To do
Represent a multi-piece plan profile, one piece per outer loop, each with the voids it contains. That needs:
PlanProfile to carry several outer loops;
the exporter to emit one element per piece with the element's Tag, as Revit does (:2, :3 name suffixes), or several solids in one body;
the glTF and viewer paths to follow.
Measure the pieces' areas against Revit's solids. Slab 1402063's two rectangles are the simplest case.
Refs RE-25, RE-43.
Edited 2026-11-15: absolute Snowdon Towers figures (positions, elevations, areas) are removed. The Snowdon files measured here have no licence, so only counts, lengths and differences from them are published.
Activity
fix(partitions): frames holding the invalid ElementId take their reco…
docs(readme): describe what rvt-rs reads from Revit 2024 and 2025 pro…
feat(ifc): write the GlobalId Revit's own exporter gives each element…
fix(ifc)!: derive generated GlobalIds from identity, not file position (
feat(ifc): export a slab sketched as separate pieces as one element p…
fix(ifc): each piece of an element written in pieces carries the elem…
fix(ifc): each piece of an element written in pieces carries the elem…
fix(ifc): a ceiling of separate loops is one IfcCovering whose body h…
feat(ifc): a floor drawn as one extrusion carries its GrossArea, its …
fix(re): ceiling_pieces_vs_ifc reads a ceiling's pieces as the extrus…
feat(ifc): a ceiling in pieces gets the GrossArea of the piece its fi…
fix(ifc): a roof whose sketch is several loops is not sloped on its f…
docs: Snowdon Towers figures are given as counts, lengths and differe…
fix(ifc): a ceiling written in pieces takes RE-486's area on its own …
fix(ifc): a ceiling in pieces takes the area of the piece Revit's exp…