Macro Rotate View/en

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

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