Repository navigation
feat(ifc): a duct along a model axis has its ports placed at its ends, which its connector entry keys name (#847) - #868
Merged
Conversation
…, which its connector entry keys name (#847) A duct whose record box is its section by its length (RE-134) gets its two ends, the centres of the box's faces across its length, and the keys of the connector entries there (attach_duct_end_keys, through scan_pipe_end_keys). Its ports are then placed as a pipe's are: at the one end whose keys name the connector, Z axis out of the duct.
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
Follows #865 for ducts (#847). A duct along one of the model's axes has a record box that is its section by its length (RE-134: 25 of 25 RE1 ducts). Its two ends are the centres of the box's faces across its length.
attach_duct_end_keysgives each such duct those ends (m_duct_start_*,m_duct_end_*). It then reads the keys of the connector entries there throughscan_pipe_end_keys(m_duct_start_keys,m_duct_end_keys). A duct whose box leaves no single length axis gets neither.pipe_end_keys_from_fieldsand the newduct_end_keys_from_fieldsshare one reader. The pipe pass and the duct pass write their keys through one helper.Measured
Measure A/B against main, run 39374659068, on the code of this branch before its rebase onto #865's merge:
Outports and the 9 with no flow direction. It is opposite on the 27Inports (A port's SystemType (its connector's system classification) and an electrical port's Flow=Source/Sink description are not written (RE-212 follow-up) #834).