Macro Rotate View Free

Description
This def pasted 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

Usage
Paste the code in the Python console FreeCAD and type →  (for validate) and tip ex:

Script
Macro_Rotate_View_Free.FCMacro

tip in the console ex :

If there is not open document an error is returned