Macro Rotate View/sv

Description
This macro rotates the current view by 90° to the left. Only works if you are in Top view

Desription
This code for axonometric view with Y pointing upwards

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