Repository navigation
Open
Labels
area:ifcWork in the ifc area.priority:P1High-impact work needed for the MVP or beta path.type:featureNew product or library capability.
Milestone
Description
Part of W7 (#1016). Evidence: reports/element-framing/RE-296-space-net-volume.md.
Written
Qto_SpaceBaseQuantities.Height (RE-255) and, since RE-296, NetVolume of every room whose stored solid is a prism of its outline: 167 of 278 on the BIM4LCA office as built, 178 of 278 at building permit, both rooms of each R2025 model with rooms, none different.
Not written
On the office as built:
NetVolumeof 111 spaces (100 at permit): 54 with a stepped ceiling (a vertical face stops short of the ceiling; the stored faces carry a box in their own planes, not their outlines, and the cross-sections between the heights where a face starts or ends close into loops for 3 of the 54), 44 mapped volumes (theTurning Free Spaceaccessibility volumes and twoVolumespaces, whose solids are not in the room's own partition), and 13 whose outline does not close on the record box (RE-101 §3).GrossVolumeof 136 spaces (153 at permit). Revit's export writes it only on the rooms it draws as an extrusion (revit-ifcGrossVolumeCalculator: the outer loop's area times the extrusion's length). Of the 167 prisms it draws 88 as an extrusion and 79 as a tessellation, and nothing compared separates them: the number of horizontal faces stored, holes, wall faces, area, height and every field of the room's native record. A rule writing it on prisms would write 79 values Revit's export omits.GrossFloorArea,NetFloorAreaandGrossCeilingArea: Revit 25's export writes them on both rooms of every R2025 model with rooms, each the outline's area; the office's 24.0.5 exports write none on any of its 308 spaces. A rule writing them would count 924 values on the office that its export leaves out, and nothing in a file says which exporter will read it.
What would close it
A fact in the file that tells the rooms Revit draws as an extrusion from the ones it tessellates (or a model of the exporter's extrusion analysis on the room's shell); the stepped rooms' complete solids; and, for the areas, evidence of which exporter release the measurement is against.
Metadata
Metadata
Assignees
Labels
area:ifcWork in the ifc area.priority:P1High-impact work needed for the MVP or beta path.type:featureNew product or library capability.
Activity
docs: the contribution map lists #1203 and #1207 to #1209, and drops #…
docs: every row of the contribution map carries its issue's own title…
DrunkOnJava commentedon Nov 11, 2026
New corpus data for "what would close it" (RE-296, the extrusion-or-tessellation question), counted from Revit's own exports of the BIM4LCA housing and office, as built, read with IfcOpenShell (nothing of rvt-rs's side):
GrossVolumeis there exactly where Revit's body is an extrusion. Timber housing: the 119 rooms with aNetVolumethat Revit extrudes (71 plain, 43 mapped, 5 with voids) all hold aGrossVolume, and its 8 tessellated rooms (anIfcPolygonalFaceSet) hold aNetVolumeand noGrossVolume. Concrete housing: 118 of 118 and 7 of 7 the same way. The offices: 143 of 143 (timber) and 134 of 134 (concrete) extruded rooms hold it, and 130 and 142 tessellated rooms do not; two tessellated rooms in each office file do hold it.AS-1.04); timber office 63 stepped and 67 prisms; concrete office 60 stepped and 82 prisms. So a stepped solid is always tessellated, which rvt-rs's prism test already leaves out; the question is the prisms Revit tessellates anyway: 1 of about 120 in each housing file, and 67 of about 162 and 82 of about 167 in the offices.NetVolumeequal to the floor area times the solid's height on both (1.00000), and no property of the export (Pset_SpaceCommon, the occupancy set,LongName, the coverings,Reference,Height) is held by one group alone.So a rule that wrote
GrossVolumeon every prism rvt-rs reads would be wrong on 1 room of about 120 in a housing file and on about 40% of an office's: it stays unwritten. A signal for the office's prisms would have to come from rvt-rs's side of the file, and #1207's list of fields compared on the native record stands.feat(ifc): an Area's Qto_SpaceBaseQuantities.Height is its body's hei…
DrunkOnJava commentedon Nov 15, 2026
Where Revit's exporter chooses extrusion or tessellation for a room (revit-ifc, CLEANROOM.md source 5, read at
7fe314fd, 2026-10-30; cited, not copied). This narrows where the signal for the offices' tessellated prisms can be.SpatialElementExporter.cs, the space's body comes from the room'sClosedShellwhenever one exists and "Use 2D room boundary" is off. That shell is passed toRepresentationUtil.CreateAppropriateProductDefinitionShapewithPossibleExtrusionAxes = TryZ. The 2D boundary extrusion (CreateExtrudedShape) is only the first attempt when there is no shell, and the last fallback. So the BIM4LCA rooms Revit extrudes were extruded from their shell, not from their boundary.CreateAppropriateProductDefinitionShapepasses the shell throughGeometryUtil.GetSplitSolidMeshGeometryand drops invisible solids, so the body exporter receives a list of solids, one per volume.BodyExporter.ExportBody, the analyzer path needs anExtrusionLocalCoordinateSystem. That is null in the options the room passes (BodyExporterOptionsdefault), so it is skipped.IFCExtrusionCalculatorUtils.CalculateExtrusionData, Revit's own compiled code. Its test is not in the open source and cannot be read under the clean-room rule.So the choice is made per volume of the room's closed shell, by a test that is not readable. Two things on rvt-rs's side of the file can still be compared between the offices' 67 tessellated prisms and 95 extruded ones, and neither is on RE-296's list of compared fields:
The second matters because an extrusion calculator that reads a solid's faces may refuse a side or a floor stored as several coplanar faces, where the shape is still a prism. Whether the stored solid is the shell Revit exported from is itself unmeasured.