Repository navigation
feat(diagnostics): count exported bodies by how they were derived, and the bounding-box stand-ins (#409) - #415
Merged
Merged
Conversation
…d the bounding-box stand-ins (#409) Each element already carries a BodySource property; the diagnostics sidecar now totals them (body_sources) and counts the bodies that are only the element record's bounding box with no recovered plan profile (bounding_box_bodies). rvt-ifc prints the count and the viewer's file status shows it as a Shapes row. Core Interior 274 of 970, Snowdon Towers 4,770 of 6,081, RE1 Architecture 75 of 85.
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_a83e30ff-bd1d-44f3-89b6-66e6c21db5ab) |
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.
Closes #409. Meets the remaining acceptance item of #93, #94 and #96 (diagnostics say which bodies fall back to bounding boxes).
What changes
ExportedModelDiagnosticsgainsbody_sources(count perBodySource) andbounding_box_bodies(bodies that are the record's bounding box with no recovered plan profile). Schema updated indocs/schemas/export-diagnostics.schema.json.rvt-ifcprints, after the type line:N of the bodies are their element record's bounding box: placed and sized, shape not decoded.M of T drawn from the element's own data; N are the element's bounding box ...(warn level when N > 0).Measured (
rvt-ifc --diagnostics)Some elements really are boxes (curtain panels, rectangular members), so "shape not decoded" is the claim, not "wrong shape".
Checks
cargo fmt --check,cargo clippy --all-targets --all-features -D warnings,json_schema_contractsandsupport_matrixwith the corpora,cargo test --lib ifc::,tsc --noEmiton the viewer. IFC output is unchanged; both Core Interior witness observations regenerate byte-identical.Legal and contribution hygiene
Note
Low Risk
Additive diagnostics, schema fields, CLI text, and viewer status only; IFC export geometry is explicitly unchanged.
Overview
Export diagnostics and file status now summarize how exported bodies were derived (#409). The diagnostics sidecar gains
body_sources(counts per existingBodySource/partition_*string) andbounding_box_bodies(record bounding-box bodies with no recovered plan profile). Aggregation walks exported building elements’ property sets forBodySourceandProfileResolved, using a sharedRECORD_BBOX_BODY_SOURCEconstant instead of a scattered literal.Surfaces:
rvt-ifcprints a one-line note when any stand-in boxes exist; the viewer Shapes row shows how many bodies use element-derived geometry vs bounding-box placeholders (warn when stand-ins > 0). The export-diagnostics JSON schema and changelog are updated; IFC geometry output is unchanged.Reviewed by Cursor Bugbot for commit fe58468. Configure here.