Semih Ufuk Güler Fri, 02/19/2021 - 14:55 Forums: Visualization and 3D ViewerI can get the bounding box of an Shape with shape->BoundingBox()but how can I display the bounding box in my current viewer? Kirill Gavrilov Fri, 02/19/2021 - 15:50 If you just want to see bounding box for debugging purposes - use display mode 2 for AIS_Shape, or set Aspect_TOHM_BOUNDBOX as highlight method. pload MODELING VISUALIZATION psphere s 1 vinit View1 # use bounding box for highlithing vdisplay -dispMode 1 -hiMode 2 s vfit vmoveto 200 200 # force bounding box presentation vbounding s Log in to post comments
Fri, 02/19/2021 - 15:50
If you just want to see bounding box for debugging purposes - use display mode 2 for AIS_Shape, or set Aspect_TOHM_BOUNDBOX as highlight method.