Fix #1787 Draft.PathArray align

Correct handling of Euler angle calculations.
+ improve error handling in plane fit
+ add new render type to 3d viewer