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
This commit is contained in:
DeepSOIC 2016-04-19 21:36:05 +03:00
parent 58d22f3137
commit 6b5554fb03

View File

@ -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 ) },
};