Repository navigation
re: the joins the list form missed (RE-170) and the native connectors that hold every join (RE-171) - #717
Merged
Conversation
… that hold every join (RE-171) RE-170's probe found B54's ten unread joins as lists with the terminal or equipment first (run 37301472228). RE-171's probe found that a family instance's Connector objects (own index m_nIndex, references of type 1 in m_arrRefs) give Revit's 73 joins on RE1 Mechanical and 126 on Plumbing, the tank Revit leaves out aside (run 37303312731), and that on Autodesk's 2025 MEP samples the list form misreads duct ends (207 of 265 disagreements) and joins 11 duct and pipe ends twice, where the connectors join none twice. B86 (#716) reads the connectors. The probes and both reports.
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.
Research behind B86 (#716).
examples/probe_re170_unread_joins.rs, run 37301472228) finds B54's ten unread joins on RE1. Each is a list in RE-138's form with the terminal or equipment first, which the reader never looked for.examples/probe_re171_connector_refs.rs, run 37303312731) reads joins from a family instance'sConnectorobjects: the own index ism_nIndex, and the joins are the type-1 references inm_arrRefs.rme_advancedput the duct's end the other way round, and it joins 11 duct and pipe ends twice. The connectors join no end twice.examples/probe_re170_join_list.rsprints every join an export writes, one per line, for diffing two refs on files Revit has not exported.The two reports are in
reports/element-framing/.Note
Low Risk
New Cargo examples and markdown reports only; no library or export behavior changes in this PR.
Overview
Adds research probes and write-ups for MEP port joins (#528, B54/B86), without changing export logic in this diff.
RE-170 adds
probe_re170_unread_joinsto compare Revit’sMODEL.ifcIfcRelConnectsPortsagainst the rvt-rs export, then scan partition bytes for RE-138-style join lists that name missing connections (including lists with terminals/equipment first, which RE-138/RE-141 never matched).probe_re170_join_listprints every join the export writes, one sorted line perIfcRelConnectsPorts, for ref-to-ref diffs when there is no Revit IFC baseline.RE-171 adds
probe_re171_connector_refs, which walks nativeFamilyInstance/ curve records, reads eachConnector’s type-1m_arrRefs, and scores candidate own-index fields (notablym_nIndex) against Revit’s IFC joins.The reports in
reports/element-framing/capture the conclusions: the ten RE1 gaps live in list form but widening list scanning would add hundreds of false joins on Autodesk samples; native connector refs match Revit on RE1 and motivate B86 reading records instead of lists.Reviewed by Cursor Bugbot for commit 2c1fd67. Configure here.