Programmatically access dimensions of parts by pulling BRep 2D info?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Fusion's included BOM script/plug-in uses the dimensions of the bounding box to report the dimensions of the object.
Other user-created scripts/plug-ins also seem to be using the bounding box to derive measurements presented in the BOM output.
But the bounding box is not reliably the size of the part - which matters if you are trying to generate a BOM for use in manufacturing:
To cut parts from stock you need to know the size of the part to know how much material of any given thickness you will be using.
I have dug into the documentation available via the Fusion/Autodesk website about how the actual measures might be pulled out of Fusion, and it seems like the best approach may be to access the bodies themselves - specifically to pull out the BRep information on the bodies.
If this is a valid approach, it might be the BRep 2D information that is the true target?
Since I am NOT a programmer, I am way in over my head here - and can only grasp the structures of the data from a 'somewhat competent layperson' point of view.
I wanted to ask those here in the API section of the community what their thoughts are regarding this issue, and their thoights on whether writing code to access the BRep 2D information is a sensible idea...
I do know that there are a lot of users searching for ways to get a 'shop floor usable' BOM out of Fusion, and I am hoping to find a path forward that provides solutions to that user segment.
Please chime in!!!