Skip to content

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
DrunkOnJava merged 1 commit into
mainfrom
research/1856-sketch-runs-mesh
Nov 13, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
research/1856-sketch-runs-mesh

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

The count #1856 asked for before a body is chosen: probe_1856_sketch_runs_mesh exports each file as the reader does, takes every stair run drawn from its sketch (BodySource partition_stair_run_sketch), reads its saved scene, and prints the run's sketch volume (the NetVolume of its Qto_StairFlightBaseQuantities) beside the volume its saved mesh encloses (signed tetrahedra), with the mesh's status. No src/ 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_advanced 2024 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: on rac_advanced 2024 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

Audit-honesty checklist

  • README / docs reflect the current state after this PR (probe only)
  • A user-visible change has its entry as a fragment under changelog.d/: none, a probe
  • Commit messages describe WHAT changed and WHY
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content
  • No new test fixtures

Related issues

Refs #1856 (stays open for an oracle).

…ts sketch beside the volume of its saved mesh, for the count #1856 asks for
@DrunkOnJava

Copy link
Copy Markdown
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.

@DrunkOnJava
DrunkOnJava merged commit 1a48dd1 into main Nov 13, 2026
64 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/1856-sketch-runs-mesh branch November 13, 2026 13:33
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.

1 participant