How to find Geometric parameters for the assembly

how to retrive the geometric parameters (geometric property)for the assembly if the user will click on the assembled model in opencascade. Is there any predefined functions to retrive the geometric property like width, height ,length etc of the assembly.

Rob Bachrach's picture

Create a Bnd_Box and add your assembly geometry to it with BRepBndLib::Add. Note that if you want an exact measurement, you will need to set the gap of the bounding box to 0.0.