AutodeskAILab / Fusion360GalleryDataset

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

Fix smt and step export so not to alter design #65

Closed karldd closed 3 years ago

karldd commented 3 years ago

Problem

Previously exporter.py would alter the design when exporting a body (fixes #62). This is due to an API limitation that requires a component for export.

Solution

Updates to export either using the temp brep manager (smt) or by making a new component, copying the body, exporting, then delete the body. Its likely that smt export will be faster than step here due to the number of steps involved.