Simple script to show bounding box length, width & thickness
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anybody help?
Can anybody create a simple Python script for me that shows a the length, width & thickness of a part (not an assembly) using the following?
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
Many thanks in advance!
Darren