Giovanni Bettega Tue, 12/06/2022 - 13:37 Forums: Visualization and 3D ViewerHello, I would like to change the thickness of the lines in the wireframe view of an AIS_Shape, for example to have thicker lines. How to do that? Thanks in advance Giovanni Jacob Bandyk Mon, 12/12/2022 - 23:57 The function you are looking for is SetWidth() https://dev.opencascade.org/doc/refman/html/class_a_i_s___shape.html#a09... Log in to post comments Giovanni Bettega Tue, 12/13/2022 - 20:03 Thank you Jacob for the hint. Unfortunately AIS_Shape::setWidth() is protected. I tried AIS_InteractiveContext::SetWidth(anAISshape,10,true); (10 for a very thick line) and it works Ciao Giovanni Log in to post comments
Mon, 12/12/2022 - 23:57
The function you are looking for is SetWidth()
https://dev.opencascade.org/doc/refman/html/class_a_i_s___shape.html#a09...
Tue, 12/13/2022 - 20:03
Thank you Jacob for the hint.
Unfortunately AIS_Shape::setWidth() is protected.
I tried
AIS_InteractiveContext::SetWidth(anAISshape,10,true);
(10 for a very thick line) and it works
Ciao
Giovanni