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

About the potential to enhance the assembly tree structure? #1691

Open
huskier opened this issue Oct 26, 2024 · 3 comments
Open

About the potential to enhance the assembly tree structure? #1691

huskier opened this issue Oct 26, 2024 · 3 comments

Comments

@huskier
Copy link
Contributor

huskier commented Oct 26, 2024

The attached image is the screenshot of the door STEP model opened in FreeCAD, and the assembly tree structure is on the left. Is it possible to just keep the elements in the green rectangle box? To me, "door001", "Origin011", "Origin010", "left_part", "Origin001", "right_part", etc. are just duplications, and I think they are unnecessary.
door_asm_tree_small

@adam-urbanczyk
Copy link
Member

Is this based on CQ master, I remember there were some changes related to this. If so, would you know how FreeCAD maps elements from the XCAF structure?

@huskier
Copy link
Contributor Author

huskier commented Oct 27, 2024

Yes, this is based on the latest CQ master (The "dfba42f" commit). We've also tried to open the STEP file in OnShape, and here is the result. We still just want to keep the elements in the green rectangle box. We've also tried to open the STEP file in SolidWorks, and the tree structure is more complex, not as expected as mentioned above. By "How does FreeCAD map elements from the XCAF structure", We're approaching the FreeCAD community, and no response right now.
door_asm_tree_in_OnShape

@huskier
Copy link
Contributor Author

huskier commented Oct 28, 2024

The following reply is from the FreeCAD community. So, we can manipulate the assemble tree structure. For how-to, we may need to investigate it in details.

Re: About the STEP model's tree structure
Post by LHC » Mon Oct 28, 2024 8:47 pm

The little blue box parts are the ones you want to keep. You can click on the other stuff and hit delete button, and do NOT delete the contents when it asks you. The benefit of the top level "part container" (the yellow box) is that you can move the entire group of items together as a unit, otherwise you will quickly find that they are all just positioned in space and can be moved around so they are not in the right place relative to each other. Here's a pro-tip - make a copy of the file - then start butchering the copy - don't ask me how I learned this :lol:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants