Skip to content

Commit 711d718

Browse files
committed
Fix graduated trihedron
1 parent 6818bb3 commit 711d718

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Display/OCCViewer.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
Graphic3d_RenderingParams,
5353
Graphic3d_MaterialAspect,
5454
Graphic3d_TOSM_FRAGMENT,
55-
Graphic3d_Structure
56-
)
55+
Graphic3d_Structure,
56+
Graphic3d_GraduatedTrihedron)
5757
from OCC.Core.Aspect import (Aspect_TOTP_RIGHT_LOWER, Aspect_FM_STRETCH,
5858
Aspect_FM_NONE)
5959

@@ -324,7 +324,8 @@ def ExportToImage(self, image_filename):
324324
self.View.Dump(image_filename)
325325

326326
def display_graduated_trihedron(self):
327-
self.View.GraduatedTrihedronDisplay()
327+
a_trihedron_data = Graphic3d_GraduatedTrihedron()
328+
self.View.GraduatedTrihedronDisplay(a_trihedron_data)
328329

329330
def display_triedron(self):
330331
""" Show a black triedron in lower right corner

0 commit comments

Comments
 (0)