Skip to content

fix(saved-graphics): read collapsed ruled profiles from saved points - #1797

Merged
DrunkOnJava merged 5 commits into
DrunkOnJava:mainfrom
BIM4GIB:fix/collapsed-ruled-profiles
Nov 12, 2026
Merged

DrunkOnJava merged 5 commits into
DrunkOnJava:mainfrom
BIM4GIB:fix/collapsed-ruled-profiles

Conversation

@BIM4GIB

@BIM4GIB BIM4GIB commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Read a zero RuledSurf profile pointer as its separately saved point, bounded to point/arc patches with a unit envelope and rectangular trim. Bodies containing these patches are admitted only when their source element record has OST_DUCT_FITTING.

On the public Revit 2023 basic MEP sample this recovers 105 duct fittings. The two sanitary terminals keep their record boxes and an explicit refusal. Output remains IfcTriangulatedFaceSet.

Motivation

One shared pointer rule recovers measured bodies without element-specific decoders. RE-443 records the public file, streams, record hashes, offsets, bytes and values. The body category restriction follows the review of 5a0f8d1f: the terminals miss the strict native-reference threshold even with fine tessellation.

Changes

  • Merge upstream 97397b9e, preserving its project-unit and type-layer changes and both independent reconnaissance addenda. The comparisons below were rerun against that refreshed base.
  • Read m_Point1/m_Point2 only for a zero profile pointer, including the limiting pole normal and collapsed rectangular trim side. Both-null profiles, missing/invalid points, unresolved nonzero pointers, other curve combinations, non-unit envelopes and other trims remain refused.
  • Keep one cell along the straight generator, the reviewed arc grid and all trim knots. This revision changes no tessellation rule or positive accuracy bound.
  • Gate body admission using the source BuiltInCategory from the cached production walk, independently of IFC class or fixture ids. Unknown/conflicting categories fail closed. Other complete bodies containing these patches retain their boxes with collapsed ruled profile outside the measured duct fittings; already-partial bodies retain their existing decoder refusal.
  • Move terminals 543319 and 593903 from positive targets to explicit box/refusal controls. Add a real-file control that changes all 105 fittings' IFC classes to proxies and both terminals' classes to duct fittings: the source categories still decide admission.
  • Update RE-443, the manifest, status, support notes, reconnaissance addendum and changelog to the narrower scope and measured costs.

Screenshots or output samples

Local exports against base 97397b9e, with deterministic headers:

Export Recovered fittings Triangles in those fittings IFC bytes: base → new head
Basic MEP 2023 105 64,380 101,091,346 → 105,006,306
Basic MEP 2024 105 64,380 103,550,587 → 107,465,590
Snowdon HVAC 2024 32 5,856 65,514,494 → 65,858,488

The MEP fittings average 613.143 triangles, maximum 636. HVAC averages 183, maximum 212. Compared with 5a0f8d1f, exactly the two terminals return to boxes on each locally checked MEP save; all 105 fitting representations and all placements are unchanged. HVAC, architectural basic 2024 and the BIM4LCA concrete office IFCs are byte-identical to that head.

Local native-reference figures from RE-443:

Native reference tessellation Fittings Maximum sampled two-way distance Maximum volume difference
Default, primary 105 0.696493 mm 0.178479%
Fine, supplementary 105 0.131137 mm 0.019083%

Default: 0/105 pass the strict 0.001 ft threshold; fine: 105/105 pass. Fine does not replace the default verdict. The two terminals previously missed at 0.720662 mm with both settings and are now refused, not accepted under a looser bound.

Reproduction and evidence availability

research/collapsed-ruled.json pins the public Autodesk RVT, seven source records, 105 positive targets, two refusal controls and reference hashes/bounds. The RVT is also pinned in research/autodesk-sample-projects.tsv for Measure.

The public source suffices for the byte and category controls:

cargo build --locked --profile ci --bin rvt-ifc
cargo run --locked --profile ci -p rvt-probes --example probe_collapsed_ruled -- /path/to/rmebasicsampleproject.rvt

Native scoring additionally requires the local not-shared archive. Its redistribution terms are not established; there is no reference download URL. Its unchanged SHA-256 is 77322bed93a88f027f473cd71578fa27aaeabf9402eaab99a445a1a138d6f93a (52,288 bytes).

python3 -m pip install --require-hashes -r tools/ci/requirements-ifc.txt
python3 tools/re/replay_collapsed_ruled.py --work target/collapsed-ruled \
  --reference-zip /path/to/collapsed-ruled-native-v1.zip --fine

The archive still contains the original 107 references, but only the 105 fittings are positive geometry targets. Both terminals must retain boxes with the exact refusal. Native comparison cannot be reproduced from public downloads alone. Source/archive/member hashes are checked; a failed replay cannot leave an old success result. No Revit automation is included.

Testing

  • All required local workspace gates pass: formatting, clippy, strict checking, rustdoc, all-target/all-feature build, doc tests, real-file/CLI/contracts, MCP checks, examples and existing pure helpers. No new unit tests are added.
  • Against 97397b9e, the 12-project comparison changes only the intended 105 MEP representations. Eight other project IFCs are byte-identical; three change only the established 6, 9 and 15 refusal notes.
  • All six REV/ARC fixture IFCs remain byte-identical, including partial-arc refusals. Source hashes are unchanged.
  • The focused comparison covers MEP 2023/2024, HVAC 2024, architectural basic 2024 and the office; its results are above.
  • All 608 graph refusal controls, 105 fitting/2 terminal IFC-class override controls and both terminal body-refusal checks pass. Native replay passes the existing default/fine regression bounds for all 105 fittings.
  • The merged tree was checked against upstream 97397b9e across the 12 projects, six families and three additional focused projects (21 distinct inputs). All five focused IFC exports are byte-identical to 070a1436, and the full native replay reproduces its results exactly. Documentation and measurement-claim checks pass.

These are local results. The maintainer's unfiltered Measure and supplemental run passed the registered criteria on the previous head 5a0f8d1f, before this category restriction. A fresh unfiltered Measure is required for this merged head, against 97397b9e. Measure has no native IFC oracle for these samples; the accuracy figures above remain local RE-443 measurements.

Audit honesty and contribution hygiene

No workflow, dependency, build-script or README change. No model or native geometry archive is redistributed by this revision. The contribution uses public RVT bytes, Revit's own IFC export and existing rvt-rs readers/scorers; it includes no proprietary orchestration, SDK source, decompiled internals or copied revit-ifc implementation. Code is licensable under Apache-2.0.

Breaking changes

None to the stable API.

Related issues

RE-443, RE-430, #1737 and #1800.

A zero ruled-profile pointer selects its separately saved point. Admit
measured point/arc patches with a unit envelope and rectangular trim;
keep other combinations refused. RE-443 pins the public MEP source,
107 native IFC bodies, byte witnesses and a replay without Revit.
Keep the README summary qualitative until this reference is listed in
the central model index. The report retains the measured errors,
accuracy limits and pinned reproduction inputs.
@DrunkOnJava

Copy link
Copy Markdown
Owner

Thank you for this: the byte probe, the 608 refusal controls and the pinned inputs make it reviewable. I am measuring it the way every output change here is measured, and I register what I will read before the run starts.

One unfiltered Measure of this head (3d3caf78, pushed to the branch measure/pr1797 so that the sample you add to research/autodesk-sample-projects.tsv is part of the run) against main as it was when you branched (3abb42f0), with the held-out pairs and every scorer. The PR changes no workflow, Cargo file or build script, and tools/re/replay_collapsed_ruled.py is not run by Measure. Hold iff:

  1. Only what you describe moves. The exports that move are those that hold a saved ruled patch with a null profile pointer: the new 2023 rmebasicsampleproject against nothing to compare it with (it is new), and among the existing ones only MEP samples; every Revit 2025 model, the BIM4LCA files, Core Interior, RE1, Snowdon Towers and the held-out pairs are byte-identical (ifc.sha256).
  2. The 107 bodies. On the 2023 file BodySource saved_graphics_mesh rises by 107 (105 duct fittings, 2 sanitary terminals) and partition_element_record_bbox falls by the same; on the moved files that exist on both sides no body stops being drawn from its saved mesh.
  3. Refusals. The only saved_mesh_refusals that change are the SavedMeshRefusal notes you name (6, 9 and 15 on three files); no new reason appears.
  4. Not scored, said so: Measure has no Revit export of these samples, so the 0.963 mm and 0.179% are your native-reference figures and stay attributed to RE-443; nothing in this run confirms or contradicts them.
  5. same-project gates pass, and the semantic check reads the same text as the PR.

If 1 to 3 hold I read the diff once more against the run and approve; if one misses, I say which export or body and why.

@DrunkOnJava

Copy link
Copy Markdown
Owner

The Measure read against the rows I registered: the 107 bodies and the refusals hold, and two exports I called byte-identical are not, for a reason that is the change's own and I should have registered.

Run 43133538738 (your head 3d3caf78 against main 3abb42f0, every scorer, the held-out pairs; its held-out house job failed on a download from flowbim.ee six times, which is the host and not the change, and passed on a rerun) and a filtered run with the exports kept (43140323326), compared element by element:

  1. Only what you describe moves: held, with a correction to my row. 19 of 127 exports move and 108 are byte-identical, among them every Revit 2025 model, Core Interior, RE1, the other Snowdon Towers models and the held-out pairs. Ten move by bodies drawn: the five rme_basic saves (the new 2023 file included), the four rme_advanced saves and Snowdon Towers HVAC. Nine move by the text of a note alone: the four BIM4LCA office files and the five rac_basic saves. A partial body's note is written into the IFC, so a note that is reworded moves the file: the office loses "; missing surface pointer target" from 15 notes (113,622,643 to 113,622,163 bytes, 15 times 32 exactly) and rac_basic gets two reworded (+104 bytes). Element by element no body changes there: BodySource changed on 0 elements, and the meshes of the 10,944 (office) and 322 (rac_basic 2024) elements drawn from a saved mesh are identical. I had registered those files as byte-identical and did not know the note is in the file; the row was wrong, not the change.
  2. The 107 bodies: held. On the new 2023 file saved_graphics_mesh rises by 107 and partition_element_record_bbox falls by the same. On the 2024 save, with its IFC kept, they are 105 duct fittings and 2 sanitary terminals, each from a record box to a saved mesh and each with "partial: missing surface pointer target" before; no other body changes source, and Snowdon Towers HVAC gains 32 duct fittings the same way.
  3. Refusals: held. The only saved_mesh_refusals that change are "missing surface pointer target" (107 on each rme save and 32 on HVAC, now drawn; 15 on each office, dropped from a note of a body that stays partial) and, on rac_basic, 4 and 2 notes that now say "unqualified collapsed ruled profiles" or "trim". No other new reason appears.
  4. Not scored, as I said: Measure has no Revit export of these samples, so 0.963 mm and 0.179% stay attributed to RE-443.
  5. Same-project gates pass (15 samples held to their earlier saves). The semantic check only scores a commit that is the head of a pull request of this repository, so it reads NOT MEASURED here, by design.

The code reads right to me: every combination outside the measured one (point and arc, unit envelope, rectangular trim) is refused, and SAVED_GRAPHICS_FIELDS gains the two fields it needs. Three things before I approve:

  • What it costs in the file. The 2024 rme_basic IFC goes from 103.5 to 159.2 MB: the 107 new face sets hold 1,633,146 triangles (15,263 each, 15,588 at most). Snowdon Towers HVAC goes from 65.5 to 69.4 MB for 32 (3,610 each). This is the 0.001 ft chord bound the project keeps (#1737) applied to these patches, not a defect of the patch, but the changelog fragment and RE-443 should say it.
  • The reference archive. research/collapsed-ruled.json and tools/re/replay_collapsed_ruled.py fetch native-mep-107.ifc, a Revit export of 107 elements of Autodesk's sample, from a release on your fork. Under what terms may it be redistributed? If you cannot say, please drop the URL, keep the hashes and the figures, and mark the reference as not shared, as the pages do for a model nobody else can fetch; a missing licence is recorded as that, not assumed.
  • README. The paragraph on collapsed ruled patches is a narrow finding for the front page, and docs/status.md and the report already carry it. Please drop it.

None of these changes src/, so no new Measure is needed after them.

@DrunkOnJava

Copy link
Copy Markdown
Owner

A second thing I found while counting the file's growth, which I think is worth a look before this lands: the 107 new face sets are denser than they need to be.

The 107 bodies hold 1,633,146 triangles on the 2024 rme_basic save, 15,263 each on average (15,588 at most). A point-and-arc patch is a cone: each generator is a straight line from the point to the arc, so across the patch one cell is enough and the arc's own chord steps bound the sag. Reading face_grid for RuledSurf, I think the grid asks for far more than that:

  • In the branch where each face takes its own grid (narrowed), the twist term is computed from the four corners. With a Curve::Point profile two corners coincide, a = c10 - c00 is zero, so normal_length is zero and flat is false, and twisted becomes the length of the arc's chord. cells = twisted / CHORD is then about a thousand for a one foot chord, and n_v = ceil(cells / n_u) asks for a dozen cells across a patch whose cells are planar triangles.
  • In the branch that keeps the shared normalized grid, n takes the largest of the steps and of sqrt(mixed / CHORD), and the grid is n by n.

I have not run either; it is from reading your branch. If it holds, a face with a Point profile should take twisted = 0 (each cell is a triangle in one plane, exact on the surface at its three vertices) and n_v = 1, which would cut the triangles by roughly the number of cells across, the file growth with them, and leave the chord bound on the arc as it is. If you try it, the two things to read are the triangle count of the 107 and your replay distances; the Measure I would run for it is the same filtered one on the four exports above.

@DrunkOnJava

Copy link
Copy Markdown
Owner

A heads-up while this waits on your answers above: #1800 landed on main (3312271) and changes what a decoded graph's fields are, from serde_json::Value to rvt::research::graph_value::Fv. Merging main into this branch will fail to compile where native_parametric_surface.rs and the two probes read a graph's fields:

  • get, indexing, as_f64, as_u64, as_i64, as_str, pointer and is_* read as before; as_array is a slice, and an object iterates as (&str, &Fv).
  • A path such as .and_then(Value::as_i64) becomes .and_then(Fv::as_i64); a probe that prints JSON takes fields.to_json() at the edge.

If you would rather not do that merge yourself, say so and I will push it with the fix to your branch (maintainer edits are on) once the points above are settled. Nothing in the change itself needs a new decision from you.

…rids

Merge current main and adapt the probes to Fv fields. Keep the reviewed
arc sampling while removing redundant cells along straight generators.
Record mesh costs and local reference limits. Remove the reference URL
because redistribution terms are not established, and drop the narrow
README finding.
@DrunkOnJava

Copy link
Copy Markdown
Owner

Thank you for the three changes: the reference URL is gone and the terms are recorded as not established, the README paragraph is not in the branch, and the one cell along the point-to-arc generators is the density change I suggested. That is a change to src/ (face_grid takes dv = 1 for a collapsed patch), so it needs its own Measure, and I register what I will read before it starts.

One unfiltered run of this head (5a0f8d1f, which holds the release commit, so the base is 09b18bd3 and nothing from main after it enters the comparison), every scorer and the held-out pairs, IFC kept. Hold iff:

  1. Only the same exports move. The 19 exports that moved at 3d3caf78 (the five rme_basic saves, the four rme_advanced saves, Snowdon Towers HVAC, the four BIM4LCA office files by a note alone and the five rac_basic saves by a note alone) are the only ones that differ from 09b18bd3; every other ifc.sha256 is equal.
  2. The bodies are the same 107 and 32. saved_graphics_mesh rises by 107 on each rme save that has them and by 32 on HVAC, partition_element_record_bbox falls by the same, and BodySource changes on no other element.
  3. The triangles fall as the fragment says. On the 2024 rme_basic save the 107 bodies hold about 66,098 triangles (618 each, 859 at most) against the 1,633,146 of 3d3caf78, its IFC about 107.5 MB (it was 103.5 MB on main and 159.2 MB before), and Snowdon Towers HVAC's 32 hold 5,856 (65.5 to about 65.9 MB).
  4. Refusals and notes are as before. The saved_mesh_refusals that change are the ones counted at 3d3caf78 (107 and 32 "missing surface pointer target" now drawn, 15 per office dropped from a partial body's note, 4 and 2 reworded on rac_basic), and no new reason appears.
  5. Not scored, said so: the 0.721 mm and 0.179% are RE-443's native-reference figures; Measure has no Revit export of these samples. The chord bound on the arc is unchanged by one cell along a straight generator, which I read from the code and check on the 107 against the old grid's vertices: every new vertex lies on the old surface to within the old chord bound.
  6. same-project gates pass.

@BIM4GIB

BIM4GIB commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for the three changes: the reference URL is gone and the terms are recorded as not established, the README paragraph is not in the branch, and the one cell along the point-to-arc generators is the density change I suggested. That is a change to src/ (face_grid takes dv = 1 for a collapsed patch), so it needs its own Measure, and I register what I will read before it starts.

One unfiltered run of this head (5a0f8d1f, which holds the release commit, so the base is 09b18bd3 and nothing from main after it enters the comparison), every scorer and the held-out pairs, IFC kept. Hold iff:

  1. Only the same exports move. The 19 exports that moved at 3d3caf78 (the five rme_basic saves, the four rme_advanced saves, Snowdon Towers HVAC, the four BIM4LCA office files by a note alone and the five rac_basic saves by a note alone) are the only ones that differ from 09b18bd3; every other ifc.sha256 is equal.
  2. The bodies are the same 107 and 32. saved_graphics_mesh rises by 107 on each rme save that has them and by 32 on HVAC, partition_element_record_bbox falls by the same, and BodySource changes on no other element.
  3. The triangles fall as the fragment says. On the 2024 rme_basic save the 107 bodies hold about 66,098 triangles (618 each, 859 at most) against the 1,633,146 of 3d3caf78, its IFC about 107.5 MB (it was 103.5 MB on main and 159.2 MB before), and Snowdon Towers HVAC's 32 hold 5,856 (65.5 to about 65.9 MB).
  4. Refusals and notes are as before. The saved_mesh_refusals that change are the ones counted at 3d3caf78 (107 and 32 "missing surface pointer target" now drawn, 15 per office dropped from a partial body's note, 4 and 2 reworded on rac_basic), and no new reason appears.
  5. Not scored, said so: the 0.721 mm and 0.179% are RE-443's native-reference figures; Measure has no Revit export of these samples. The chord bound on the arc is unchanged by one cell along a straight generator, which I read from the code and check on the 107 against the old grid's vertices: every new vertex lies on the old surface to within the old chord bound.
  6. same-project gates pass.

Thanks! Those criteria match the intended scope, and '09b18bd3' is the correct base. I’ll leave '5a0f8d1f' unchanged while the run completes.

Agreed on keeping the native-reference figures attributed to RE-443; they are not a Measure verdict. The new-vertex check against the old surface is a useful independent check of the subdivision change.

One small numerical clarification: my local export of '09b18bd3' gives 103,550,587 bytes for basic MEP 2024, hence the changelog’s rounded 103.6 MB baseline. The revised output is 107,547,770 bytes.

Thanks for running the full comparison!

@rvt-rs-review rvt-rs-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change before this lands: the two sanitary terminals keep their boxes.

The Measure of 5a0f8d1f holds on all six rows I registered (the read is below), and I approved it on that read. Then I re-read the result against the bar the project holds every body to: within 0.001 ft of Revit's own export. RE-443's table gives this:

  • At Revit's default tessellation, no body passes, because Revit's own facets lie further than 0.001 ft from the surface.
  • At Revit's fine tessellation, the 105 duct fittings are within 0.131 mm.
  • The two sanitary terminals stay at 0.721 mm at both tessellations. The miss is at a plane/cylinder junction in their bodies, not in your patches.

A body that misses the bar where it can be measured is not written: it keeps its box and says why. So I'm replacing my approval with this request:

  • Admit collapsed ruled patches where the measurement covers them, which is duct fittings. A sanitary terminal, or any other category, that holds one keeps its box and a refusal note that names the reason (for example "collapsed ruled profile outside the measured duct fittings"). Decide it from the element record's BuiltInCategory, not from element ids, so that a duct fitting in another project is read the same way.
  • Update the counts. It becomes 105 on each MEP save; HVAC's 32 duct fittings are unchanged. Change it in the changelog fragment, RE-443, docs/status.md and docs/support-matrix.json. The triangle and size figures move a little with it.
  • Move the two terminals out of the targets. In research/collapsed-ruled.json and the replay they become refusal controls, or the replay reports them as refused.

This changes src/, so the new head takes one more Measure, and I'll register its rows when you push. If you'd rather I make the change, say so and I'll push it to your branch (maintainer edits are on) for you to check.

The read of 5a0f8d1f

Run 43264778976: this head against the release commit 09b18bd3, unfiltered, every scorer, the held-out pairs, IFC kept. Plus a filtered run, 43273062356, for the seven Revit 2015 to 2020 models the first one left out.

  1. Only the same exports move. 19 of 127 move:

    • the five rme_basic saves;
    • the four rme_advanced saves;
    • Snowdon Towers HVAC;
    • the four BIM4LCA office files and the five rac_basic saves, by note text alone.

    The other 108 are byte for byte the base's. They include the 2015 to 2020 models and the held-out pairs.

  2. The bodies are the same 107 and 32. Element by element on the six exports kept:

    • BodySource changes on exactly those elements: 105 duct fittings and 2 sanitary terminals on each MEP save, and 32 duct fittings on HVAC.
    • The mesh of every other element drawn from a saved mesh is identical.
  3. The triangles fall as the fragment says. The 107 hold 66,098 triangles (618 each, 859 at most) where they held 1,633,146. The 2024 rme_basic IFC is 107,547,779 bytes against 103,550,596 at the base. HVAC's 32 hold 5,856, and its IFC goes from 65.5 to 65.9 MB. Your 103,550,587 and 107,547,770 differ from these by the same 9 bytes on both sides, so the difference is in the header.

  4. Refusals and notes are as before. Only the ones counted at 3d3caf78 change, and no new reason appears.

  5. The one cell along the generators loses nothing measurable. Every vertex of the new bodies lies on the old grid's surface, to within 0.0001 mm. Every vertex of the old grid lies within 0.0015 mm of the new surface, against the 0.3048 mm chord bound.

  6. same-project gates pass. The semantic check cannot score a commit from a fork, so it reads NOT MEASURED by design.

Three small things, none of them blocking, which you can fold in with the change or leave for later:

  • native_parametric_surface.rs:311: a ruled profile whose field is absent fails inside pointer() with "missing pointer token". A .with_context(|| format!("ruled profile {name}")) would keep the note pointing at the profile.
  • native_parametric_mesh.rs:304 and :306 accept the point profile only at v exactly 0 or 1. The spatial collapse check just below already decides it, so a pole saved at v = 1e-9 is refused. That fails closed, but it is narrower than the geometry.
  • "unqualified collapsed ruled trim" is written out in three places: native_parametric_mesh.rs:504, probe_collapsed_ruled.rs and replay_collapsed_ruled.py. Use one constant, or add a note that they must match.

Gate admission on the source BuiltInCategory and keep the two sanitary
terminals as explicit box/refusal controls. Preserve the 105 measured
fittings and add real-file IFC-class override controls. Update RE-443,
the manifest, status and costs to the narrower scope.
@BIM4GIB

BIM4GIB commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor Author

UPDATE2: Merge conflict resolved. Run Measure against:
Head: abd1db6
Base: 97397b9
UPDATE: I'm resolving a merge conflict before you rerun Measure again.

Thanks for catching that!
Pushed the restriction in signed commit 070a143, keeping the existing '09b18bd3' base for comparison.

Admission now uses the source element record’s BuiltInCategory. Only duct fittings qualify; unknown or conflicting categories fail closed. Terminals 543319 and 593903 retain their boxes with collapsed ruled profile outside the measured duct fittings, and are now refusal controls in the manifest and replay.

Local results:

On both basic MEP 2023/2024 saves, exactly those two terminals revert. All 105 fitting representations and placements remain identical to 5a0f8d1.

The 105 fittings contain 64,380 triangles: 613.143 average, 636 maximum. The 2024 IFC is 107,465,590 bytes with deterministic headers.

HVAC retains its 32 recovered fittings and 5,856 triangles; its IFC is byte-identical to the previous head.

All 608 graph refusal controls pass. Additional controls deliberately override the IFC classes: all 105 fittings remain admitted as proxies, while both terminals remain refused as duct fittings.

The 12-project regression passes, and all six REV/ARC fixture outputs remain byte-identical to the base. Required local workspace checks pass.

RE-443, the changelog, status, support notes and manifest reflect these results. The native-reference limitation remains explicit: default tessellation gives 0/105 within 0.001 ft; fine gives 105/105, maximum 0.131137 mm. These remain local RE-443 figures against the not-shared reference.

The new head is ready for your registered Measure rerun.

Retain both independent report addenda and preserve the duct-fitting
admission restriction. Recheck the native replay, existing fixtures and
local workspace gates against upstream 97397b9.
@DrunkOnJava

Copy link
Copy Markdown
Owner

Thank you. I've read 070a1436.

  • Admission takes the BuiltInCategory from the walked element record, never the IFC class.
  • A missing or conflicting category fails closed.
  • A body that is already partial keeps its decoder's refusal.
  • The new m_pSurf and pointer_token lookups index the graph value the same way native_saved_mesh.rs:480 already does, so a missing field reads as null rather than panicking.

The merge's parents are 070a1436 and main's 97397b9e, so this run's base is 97397b9e. Comparing against 09b18bd3 would count main's own changes since then as yours.

One unfiltered run of abd1db62 against 97397b9e, with every scorer and the held-out pairs, IFC kept. It holds iff:

  1. Only the same exports move. Every export that differs from 97397b9e is one of the 19 that moved at 3d3caf78: the five rme_basic saves, the four rme_advanced saves, Snowdon Towers HVAC, the four BIM4LCA office files and the five rac_basic saves. Every other ifc.sha256 is equal, the held-out models' included.
  2. 105 and 32 bodies.
    • On each save that holds terminals 543319 and 593903, saved_graphics_mesh rises by 105, two fewer than at 5a0f8d1f.
    • On Snowdon Towers HVAC it rises by 32.
    • In each case partition_element_record_bbox falls by the same number.
    • Every element whose BodySource changes is an OST_DuctFitting record, and the two terminals keep their boxes.
  3. Triangles as you measured.
    • On the 2024 rme_basic save the 105 bodies hold 64,380 triangles (613.1 on average, 636 at most), and its IFC is 107,465,590 bytes.
    • HVAC's 32 hold 5,856.
  4. Refusals. The two terminals carry "collapsed ruled profile outside the measured duct fittings". No other new reason appears, and any other change in saved_mesh_refusals is one counted at 3d3caf78.
  5. Not scored, said so. RE-443's native-reference figures (0/105 within 0.001 ft at default tessellation, 105/105 at fine, 0.131137 mm at most) stay local. Measure has no Revit export of these samples.
  6. same-project gates pass.

@DrunkOnJava

Copy link
Copy Markdown
Owner

The registered read of abd1db62 against 97397b9e: every row holds.

There are two runs:

  • the unfiltered one, 43301498228, with every scorer, the held-out pairs and the IFC kept;
  • 43312343180, with this branch's own workflow, because main's sample list does not yet hold the 2023 rme_basic save that this PR adds.
  1. Only the same exports move. Holds. In the unfiltered run, 18 of 125 exports differ and 107 are byte-identical, every held-out model among them. The 18 are the four BIM4LCA office files, the five rac_basic saves of 2023 to 2027, the four rme_advanced saves, the rme_basic saves of 2024 to 2027 and Snowdon Towers HVAC. The second run adds the nineteenth, the 2023 rme_basic save. Every export that moves is one of the 19.
  2. 105 and 32 bodies. Holds.
    • On the 2023 and 2024 rme_basic saves and each rme_advanced save, saved_graphics_mesh rises by 105 and partition_element_record_bbox falls by 105.
    • On Snowdon Towers HVAC both move by 32.
    • In the kept IFCs every product whose body changes is an IfcDuctFitting: 105 on the 2023 and 2024 rme_basic saves and 32 on HVAC.
    • Terminals 543319 and 593903 keep their IfcExtrudedAreaSolid boxes.
  3. Triangles. Holds.
    • On the 2024 rme_basic save the 105 new sets hold 64,380 triangles, 636 at most.
    • That IFC is 107,465,599 bytes against your 107,465,590. The sets and their triangles agree with your count, so I put the 9 bytes down to the header's file name and time stamp, which I did not compare.
    • HVAC's 32 hold 5,856.
  4. Refusals. Holds.
    • Each save with the terminals counts 2 under "collapsed ruled profile outside the measured duct fittings", and 107 "missing surface pointer target" refusals go.
    • The offices' 15 lose that reason from a partial body's note.
    • The rac_basic saves reword 4 and 2.
    • No other reason appears.
  5. Not scored. RE-443's native-reference figures stay local, as the PR says. Measure has no Revit export of these samples.
  6. same-project gates. Holds on abd1db62: 15 samples are held to their earlier saves, and the Areas on 4 saves.

Full CI is green on this head, and every commit is signed. Thank you for the work and for the controls that made it checkable.

@DrunkOnJava
DrunkOnJava merged commit 21958f8 into DrunkOnJava:main Nov 12, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants