Hello everyone,
I am trying to create a message box that displays the length, width, and height of the bounding box of an object using the Fusion 360 API. I have tried but I cannot seem to access these properties. I can access the area and volume properties easily but I can't find the L, W, and H. Does anyone have any suggestions as to how I can do this?
Much appreciated,
Zach
Solved! Go to Solution.
Solved by MichaelT_123. Go to Solution.
L = component.boundingBox.maxPoint.x - component.boundingBox.minPoint.x
W = component.boundingBox.maxPoint.y - component.boundingBox.minPoint.y
H = component.boundingBox.maxPoint.z - component.boundingBox.minPoint.z
boundingBox |
Can't find what you're looking for? Ask the community or share your knowledge.