Repository navigation
research(ifc): a probe sets the volume of each stair run drawn from its sketch beside the volume of its saved mesh, for the count #1856 asks for - #1909
Merged
Conversation
…ts sketch beside the volume of its saved mesh, for the count #1856 asks for
DrunkOnJava
marked this pull request as ready for review
November 13, 2026 13:12
Owner
Author
|
Approved at e28649d by the review bot as a self-approval, under Griffin's answer of 2026-11-12 ("You are allowed to self-approve"): rvtDevelop's session has not read it. A probe-only pull request; I re-read each probe file as if another session had written it, and each ran on Measure and produced the output the issue comments quote. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The count #1856 asked for before a body is chosen:
probe_1856_sketch_runs_meshexports each file as the reader does, takes every stair run drawn from its sketch (BodySourcepartition_stair_run_sketch), reads its saved scene, and prints the run's sketch volume (theNetVolumeof itsQto_StairFlightBaseQuantities) beside the volume its saved mesh encloses (signed tetrahedra), with the mesh's status. Nosrc/change, no export moves.Motivation
#1856: a run its sketch draws never takes its saved mesh, which replaces record boxes only; #1846 made the five
rac_advanced2024 stairs' first runs read their own records, so those are drawn from their sketch, 2.55% larger than the saved mesh. Row registered before the run, which holds: onrac_advanced2024 the probe reproduces the five runs of the issue to four digits on both volumes (sketch 8.2973 and 11.8273 ft³, mesh 8.0906 and 11.5327).Result (Measure 43421822007, 102 models; held-out models print nothing to a probe): 240 runs in 27 models are drawn from their sketch and every one has a saved mesh; 84 meshes decode whole, 156 in part. Of the 84, the sketch's volume equals the mesh's on 39, is 1% to 3.2% larger on 45, never smaller. Snowdon's Revit export has no quantity set for its flights, and its own flight bodies differ from both volumes by more than they differ from each other, so which body Revit's export gives is not settled (the issue comment has the detail). The issue stays open for that oracle.
Changes
probes/examples/probe_1856_sketch_runs_mesh.rs.Testing
-f probe=probe_1856_sketch_runs_mesh -f probe_scorer=- -f samples=true -f nordic=true -f r2025=true -f holdout=true -f base=none -f scorers=none: read and posted on Stair runs drawn from their sketch keep it where Revit's saved mesh exists: same box, 2.55% more volume on rac_advanced 2024 #1856.Audit-honesty checklist
changelog.d/: none, a probeLegal and contribution hygiene
Related issues
Refs #1856 (stays open for an oracle).