Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE #664 Remove redundant transformation that is preventing metadata from referencing the right object #669

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

carmenfan
Copy link
Member

@carmenfan carmenfan commented Feb 4, 2024

This fixes #664

Description

Turns out we already optimise the first level of transformation. The problem lies on the model exporter in the plugins (issue addressed here https://github.com/3drepo/3drepoPlugin/issues/435) - for a node with geometry, it is exporting 2 transformations and a mesh....

To fix any existing .bim files or users using an older version of the plugins, the following change is made here:

  • If a node has no name or a transformation, do not port it into 3drepo as a transformation node, instead, append its geometry to the parent of this node.

Test cases

Test case described in 664 should now function as expected

@carmenfan carmenfan merged commit 50391b6 into master Feb 6, 2024
4 checks passed
@carmenfan carmenfan deleted the ISSUE_664 branch March 6, 2024 10:27
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.

Inspect the way we import .BIM
2 participants