We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6818bb3 commit 711d718Copy full SHA for 711d718
src/Display/OCCViewer.py
@@ -52,8 +52,8 @@
52
Graphic3d_RenderingParams,
53
Graphic3d_MaterialAspect,
54
Graphic3d_TOSM_FRAGMENT,
55
- Graphic3d_Structure
56
- )
+ Graphic3d_Structure,
+ Graphic3d_GraduatedTrihedron)
57
from OCC.Core.Aspect import (Aspect_TOTP_RIGHT_LOWER, Aspect_FM_STRETCH,
58
Aspect_FM_NONE)
59
@@ -324,7 +324,8 @@ def ExportToImage(self, image_filename):
324
self.View.Dump(image_filename)
325
326
def display_graduated_trihedron(self):
327
- self.View.GraduatedTrihedronDisplay()
+ a_trihedron_data = Graphic3d_GraduatedTrihedron()
328
+ self.View.GraduatedTrihedronDisplay(a_trihedron_data)
329
330
def display_triedron(self):
331
""" Show a black triedron in lower right corner
0 commit comments