From 6b5554fb03f414b9361f5971734d4a11966a0d82 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Tue, 19 Apr 2016 21:36:05 +0300 Subject: [PATCH] PartDesign: reverse XZ plane to match legacy orientations discussion in forum thread "ZX plane in PartDesign Next (instead of XZ)" http://forum.freecadweb.org/viewtopic.php?f=8&t=15319 --- src/App/Origin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Origin.cpp b/src/App/Origin.cpp index eafaf279eaf2..e55115f1057c 100644 --- a/src/App/Origin.cpp +++ b/src/App/Origin.cpp @@ -140,7 +140,7 @@ void Origin::setupObject () { {App::Line::getClassTypeId(), "Y_Axis", Base::Rotation ( Base::Vector3d (1,1,1), M_PI*2/3 ) }, {App::Line::getClassTypeId(), "Z_Axis", Base::Rotation ( Base::Vector3d (1,1,1), M_PI*4/3 ) }, {App::Plane::getClassTypeId (), "XY_Plane", Base::Rotation () }, - {App::Plane::getClassTypeId (), "XZ_Plane", Base::Rotation ( Base::Vector3d (0,1,1), M_PI ), }, + {App::Plane::getClassTypeId (), "XZ_Plane", Base::Rotation ( 1.0, 0.0, 0.0, 1.0 ), }, {App::Plane::getClassTypeId (), "YZ_Plane", Base::Rotation ( Base::Vector3d (1,1,1), M_PI*2/3 ) }, };