AutodeskAILab / Fusion360GalleryDataset

Data, tools, and documentation of the Fusion 360 Gallery Dataset
Other
421 stars 51 forks source link

Problems about processing Assembly - Joint dataset with new files #95

Open QuanYuhan opened 1 year ago

QuanYuhan commented 1 year ago

Hi, thanks for providing such a great dataset and tools.

For the Assembly - Joint dataset, I would like to know how to generate a json file from a new .step or .smt file for prediction by the JoinABLe model, including

  1. For the parts, refer to https://github.com/AutodeskAILab/Fusion360GalleryDataset/issues/92#issuecomment-1171724576, can I generate a networkx json file that can be used for the JoinABLe model by modifying solid_to_graph.py.?
  2. For joint sets, how to generate jointset****.json file from CAD file? That is to reverse the process of joint2cad.

Looking forward to your reply and thanks for your help!

karldd commented 1 year ago
  1. I plan to post the code to do this using Fusion 360, see here. But might not be for a week or two.
  2. Currently we don't have code to do exactly what you want to. However, using the Fusion 360 API it should be possible.
QuanYuhan commented 1 year ago

Thank you for your reply!

Regarding the second question, I found that in the assembly.json file of the Assembly dataset, the "joints" field provides similar information to the "joints" field of the jointset****.json of the Assembly - Joint dataset. It seems that they can be generated by similar code and Fusion 360 API. At the same time I found that you mentioned in https://github.com/AutodeskAILab/Fusion360GalleryDataset/issues/93#issuecomment-1279641286 that the code for parsing the .f3d file is not planned to be open sourced. I would like to know if the code that is not open sourced here refers to the code that generates assembly.json of Assembly dataset?

karldd commented 1 year ago

Yes the code we don't plan to release is the code that generates the assembly.json.