CAD Exchanger SDK

CAD Exchanger SDK allows to compute some key properties of a 3D model:
Each property can be computed either for an entire model (ModelData_Model) or for any assembly, part, instance, or part representation.
Bounding box is an axisaligned bounding box which encompasses a 3D model (or its component).
The following example demonstrates computation of a part's bounding box:
In addition to traditional bounding boxes, CAD Exchanger also allows to compute minimum bounding box which is not necessarily axisaligned:
aMinBox contains an axisaligned box which would be returned if the part were transformed with the help of returned transformation.
Surface area only can be computed for parts having a solid or sheet body in their BRep representation.
The following example demonstrates computation of a part's surface area:
Volume can only be computed for parts having a solid body in their BRep representation.
The following example demonstrates computation of a part's volume:
Centroid (center of mass) can only be computed for parts having BRep representations.
The following example demonstrates computation of a part's centroid: