Macro Rotate View/sv

Detta makro roterar den nuvarande vyn med 90° åt vänster. Fungerar endast om du är i toppvyn.

Description
This code for : For FreeCAD Version 0.16
 * 1) axonometric view with Y pointing upwards Macro_Rotate_View_with_Y_pointing_upwards_.png mode 1
 * 2) axonometric view with Z pointing upwards Macro_Rotate_View_with_Z_pointing_upwards_.png mode 2

Description
This def paste in the Python console FreeCAD (or your macro) allows you to rotate the view in 3-axis and the angle (in degrees) give interesting to create a plan to a desired position

Use
Paste the code in the Python console FreeCAD and type →

Script
tip in the console ex :

If there is no open document an error is returned