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

Questions about assembly datasets #97

Open
nylvy opened this issue Dec 26, 2022 · 2 comments
Open

Questions about assembly datasets #97

nylvy opened this issue Dec 26, 2022 · 2 comments

Comments

@nylvy
Copy link

nylvy commented Dec 26, 2022

I read your instructions in the assembly dataset, but I have some confusion.

You have introduced a concept in the assemblyset called components, which can be composed of one or more parts. In your assembly dataset you have derived a concept called components, which can be composed of one or more parts. I see that in your assembly json file you provide joint and as_built_joint as a clue to the connection between different ocurrence, but for ocurrence with multiple parts you don't provide information about the connection between these parts, nor do you have smt, step or obj files for the ocurrence. step or obj file of the ocurrence. So based on this data how should I compose this ocurrence with these parts?
Also I would like to know for ocurrence, component, body names in the assembly dataset are a long string of numbers and letters as their UUIDs, what are these UUIDs generated based on? Do they have any special meaning?

I hope you can answer my questions at your convenience, thank you!

@karldd
Copy link
Collaborator

karldd commented Mar 5, 2023

From the documentation here: https://github.com/AutodeskAILab/Fusion360GalleryDataset/blob/master/docs/assembly.md

occurrences

Instances of components, referencing the parent component with instance properties such as location, orientation, and visibility

components

Components containing bodies or other components to form sub-assemblies

bodies

The underlying 3D shape geometry in the B-Rep format

So the best way to think of an occurrence is like in object oriented programing, where the component is the class and the occurrence is the instance of a class. The component houses the body, which has the actual geometry. The occurrence is just an instance of a component with its own transform, color etc. If you have two occurrences, and update the geometry of the body in their component, both occurrences will update.

Note that we don't "introduce" these concepts, these exist in the Fusion 360 API see: https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-88A4DB43-CFDD-4CFF-B124-7EE67915A07A

The UUIDs are random, they only have meaning in the context of the assembly to indicate unique ids for cross-referencing.

@ylliu919
Copy link

Hi,
Thank you for providing such a fantastic and innovative project for machine learning.
We can use "search" tools to quickly test the automatic reconstruction of a BREP by inputting an SMT file. We would like to know if the sample code used in your paper (JoinABLe: Learning Bottom-up Assembly of Parametric CAD Joints) is provided in this project, then we can test the function of automatic assembly. Thanks!
Best regards,
Vincent

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

No branches or pull requests

3 participants