Commit Graph

10 Commits

Author SHA1 Message Date
wmayer
df0a3ded78 rename Placement.isNull to Placement.isIdentity
implement Rotation.isNull and Rotation.isIdentity
2017-12-13 17:00:38 +01:00
DeepSOIC
62b0d35270 Base: new Rotation constructor - on vectors
The new constructor accepts wanted directions of x,y,z axes of rotated
frame, and a priority string that affects how the vectors are made
perpendicular to each other.

Example - construct placement for sketch on XZ plane:

v = App.Vector
App.Rotation(v(1,0,0),v(0,0,1),v())
2017-09-10 18:31:40 +02:00
wmayer
f3226a0867 + fix == operator of Rotation class, + add method isSame() 2016-05-18 18:08:40 +02:00
wmayer
c3c11a9b81 + implement rich compare protocol of Python interface for Placement & Rotation 2016-05-18 11:26:27 +02:00
Sebastian Hoogen
ba0f2a765c document the convention used for Euler angles (XY'Z'')
in the Placement dialog and the docstrings of the Rotation python class.
fixes #2007
2015-03-21 13:29:32 +01:00
wmayer
707bc8a6a5 + allow to modify placement via sub-attributes 2014-12-02 19:19:23 +01:00
wmayer
9ef32aab8e + fixes #0001536: Feature.Placement.Rotation.isNull() touches the Feature 2014-05-08 18:52:08 +02:00
wmayer
24ca68514b 0001018: Possible inconsistencies between Euler angles, quaternion and matrix 2013-03-03 13:27:27 +01:00
Sebastian Hoogen
38333cf048 add isNull() method to Rotation 2012-05-15 18:01:15 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00