Skip to content

Commit

Permalink
Swap front/back view directions to match with OCP CAD Viewer
Browse files Browse the repository at this point in the history
also makes it match with many other CAD software
  • Loading branch information
jdegenstein authored Jul 5, 2023
1 parent e59c6ae commit 25d4c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cq_editor/widgets/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ def top_view(self):
def front_view(self):

v = self._get_view()
v.SetProj(0,1,0)
v.SetProj(0,-1,0)
v.SetTwist(0)

def back_view(self):

v = self._get_view()
v.SetProj(0,-1,0)
v.SetProj(0,1,0)
v.SetTwist(0)

def left_view(self):
Expand Down

0 comments on commit 25d4c2c

Please sign in to comment.