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
Family extrusions: draw arc profiles again so every replaced body meets ref on ours (RE-327) #1346
rvt-ifc --family-extrusions (#156, RE-327, PR #1342) draws a family instance from its family's own extrusions only when they reproduce the instance's saved mesh. For now it also leaves out every instance with an arc in a profile, because of what one body showed. The first flag run drew arcs as true three-point arcs (IfcIndexedPolyCurve). On RE1 Architecture, element 360331 (a toilet-paper dispenser) then put Revit's export vertices 0.001439 ft from our surface, over the 0.001 ft "ref on ours" bar. As a saved mesh it is at 0.000914 ft.
What was measured
The extrusions agree with the saved mesh to under 1e-4 ft.
The gap is between two tessellations of the same arc: Revit's export, and IfcOpenShell's tessellation of our arc. The volumes point the same way (1.0006 ours against 1.0047 for the saved mesh), but no one has measured the dispenser's profile directly.
250 of the 251 arc bodies the scorer matched sit at about 1e-6 ft. Their tessellations start at the same point.
Taking arcs out costs 271 replaced bodies:
120 in each BIM4LCA office file;
11 in each terrain variant;
2 in RE1 Architecture, 6 in RE1 Electrical and 1 in RE1 Plumbing.
With them goes the first run's gain on the offices: bodies within 0.01% of Revit's volume went from 1,547 to 1,625 as built, out of 1,650.
Options, neither run yet
Fine sub-arcs. Write each arc as short sub-arcs whose chord stays within about 2.5e-4 ft of the arc. That bounds "ref on ours" wherever Revit's tessellation starts. It may give back some of the volume gains, and it can move the 0.001 ft both-directions column.
Stored loop order. Start each loop where the extrusion record's stored loop starts. This guesses that Revit tessellates from that point; nothing in the file says so.
Done when
Arc profiles are drawn again with every replaced body meeting "ref on ours" on Measure's mesh_bodies_vs_ifc and the RE-327 wrapper scorer.
No scorer line is worse than the --saved-meshes baseline.
Activity
research(families): rebuild a family's extrusions from their sketch c…
docs(research): RE-327 section 11 names its two Measure runs (#1346) …
fix(ifc): family extrusions write arcs as arcs again, and keep the me…
feat(ifc): in a Revit 2025 or later file a whole circle in a family e…
docs(research): RE-327 section 11 names the runs of its three heads (#…
fix(ifc): family extrusions keep the mesh for a loop that is one whol…
docs(research): RE-327 section 11 names the runs of the final rule (#…
fix(ifc): the report and the note keep the name arcs, for the arcs th…
fix(ifc): family extrusions keep the mesh for any arc over 0.12 ft in…
docs(research): RE-327 section 11 names the runs of the any-arc head (#…
fix(ifc): family extrusions draw arcs again, keeping the mesh for an …
feat(re): the body scorers also measure both files at one equal, fine…
feat(ifc): family extrusions draw every circle and arc as an arc, wha…