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
Body scorers: measure shapes, not IfcOpenShell's default tessellation (circle forms differ by one chord) #1355
area:ciWork in the ci area.area:geometryWork in the geometry area.priority:P2Important quality, usability, or hardening work.type:researchReverse engineering, discovery, or design investigation.
The body scorers (mesh_bodies_vs_ifc, saved_meshes_vs_ifc and RE-327's family_extrusion_bodies_vs_ifc) tessellate both IFC files with IfcOpenShell's default settings. They then check Revit's vertices against rvt-rs's surface ("ref on ours", the #1280 bar) at 0.001 ft. That measures the agreement of two tessellations, not of two shapes.
Measured case (RE-327 §11, #1352). The same exact circle comes out in two forms, depending on the exporter:
Revit 24.0.5's IFC4 export writes two half arcs (the BIM4LCA office).
Revit 26.2's IFC2X3 export writes an IfcCircleProfileDef (RE1).
IfcOpenShell cuts a 69.85 mm circle into 27 chords as a circle profile and 28 as two half arcs (29 and 30 at 80 mm). Their vertices then sit 0.0014 ft apart, although both describe one circle. Because of this, --family-extrusions keeps the saved mesh for every whole circle over 0.12 ft radius, the office's 78 floor drains included. Those drains matched the office's export exactly as true arcs (run 41805333248).
Work
Add a fine mode to the body scorers. Both files are tessellated at one equal, fine deflection (IfcOpenShell mesher-linear-deflection and mesher-angular-deflection, or analytic distances where a surface is a plane, cylinder or cone). Report it beside today's columns on every model, without replacing them.
Run it unfiltered and report, per class and model:
the true-arc family extrusions, in both circle forms;
the default door and window saved meshes, whose 0.001 ft chords would sit inside a finely tessellated Revit surface;
every other curved body.
Bring the evidence to the maintainer. Changing the bar changes published figures, so it is his call. If the bar changes, a follow-up restores true arcs for big circles in every release.
Done when the fine mode's figures are published beside today's, and the decision on the bar is recorded.
area:ciWork in the ci area.area:geometryWork in the geometry area.priority:P2Important quality, usability, or hardening work.type:researchReverse engineering, discovery, or design investigation.
Activity
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 …
docs(re): RE-331, the deflections tried for the fine mode (#1355)
docs(re): RE-331 sections 4 and 5, what the fine runs measured and th…
fix(re): the fine mode's switch takes 1 or true, the box scorer uses …
docs(re): RE-331 records the decision on the bar, fine where both fil…
docs(re): RE-331, the box figures re-measured with one offset are unc…
feat(re): the body scorers also measure both files at one equal, fine…
feat(re): the body scorers judge a body both files write as true curv…
feat(ifc): family extrusions draw every circle and arc as an arc, wha…