Skip to content

Commit

Permalink
view direction modified
Browse files Browse the repository at this point in the history
  • Loading branch information
microelly2 committed Jul 8, 2015
1 parent 69fbd8c commit aa8105a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FCRotateViewAbsolute.FCMacro
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class Form(QDialog):
def front(self):
from pivy import coin
pos3=FreeCAD.Vector(0,0,0)
campos=FreeCAD.Vector(10,0,0)
campos=FreeCAD.Vector(0,-10,0)
camera = FreeCADGui.ActiveDocument.ActiveView.getCameraNode()
camera.position.setValue( campos)
camera.pointAt(coin.SbVec3f(pos3),coin.SbVec3f(0,0,1))
Expand All @@ -160,7 +160,7 @@ class Form(QDialog):

def trimetric(self):
pos3=FreeCAD.Vector(0,0,0)
campos=FreeCAD.Vector(-210,-790,580)
campos=FreeCAD.Vector(210,-790,580)
camera = FreeCADGui.ActiveDocument.ActiveView.getCameraNode()
camera.position.setValue( campos)
pos3.sub(campos)
Expand Down

0 comments on commit aa8105a

Please sign in to comment.