luz paz
59b7e9fdd0
Base: remove Py2 code
2021-04-26 09:23:58 +02:00
luz paz
01b21e0d06
Base: Fix header uniformity, whitespace, and doxygen
...
[skip ci]
2020-11-22 18:12:16 +01:00
Eric Trombly
56769f1a27
change isOnLine to isOnLineSegment
2020-04-06 06:34:53 -05:00
Eric Trombly
f210d71f18
remove sleep calls, change some for loops to list comp, move isPointOnLine to base vector
2020-04-06 06:34:53 -05:00
Zheng, Lei
c5fd45f762
Base: remove VectorPy right multiplication to matrix/placement/rotation
2019-10-07 17:24:30 +02:00
Zheng, Lei
ff3ec0c7fd
Base: add Python number protocol support to Placement/Rotation
2019-09-28 15:32:00 +02:00
Zheng, Lei
1efadc928e
Base: improve base python object number protocol
2019-09-28 15:30:23 +02:00
wmayer
1106404b1e
implement true divide handler of the number protocol for Quantity
2018-10-27 15:27:27 +02:00
wmayer
5c984be41f
replace epsilon to check for null vector
2018-09-11 11:33:38 +02:00
Mark Ganson TheMarkster
e21f64caf9
fix bug in draft path array
...
put lnodes.normalize() inside try/except block
replace hard-coded 1e-6 with Vector3d::epsilon() in VectorPy::normalize()
2018-09-11 11:11:39 +02:00
wmayer
99ec96acd5
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
wmayer
e588862034
fix compiler warning
2018-01-08 19:55:07 +01:00
wmayer
15ed408121
support some more handlers in VectorPy and throw better exceptions for unsupported operators
2018-01-01 15:45:21 +01:00
wmayer
23863af612
implement slicing for VectorPy class
2017-08-21 15:16:03 +02:00
wmayer
4caf59fd8b
implement object serialization for Vector class
2017-06-22 21:52:53 +02:00
Yorik van Havre
d4b7100bb2
py3: Base: files R-Z ported to python3
...
issue 0000995
2017-05-21 12:35:41 +02:00
Kurt Kremitzki
61465e3a98
Handle right and left hand scalar-vector multiplication
2016-12-28 13:20:03 +01:00
wmayer
39e589a4d7
fix -Wextra in FreeCADBase
2016-09-21 15:02:02 +02:00
wmayer
4d77921111
use a stricter tolerance to check for equal points
...
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer
c294c8bdbd
+ rename methods in Vector3 class
...
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
wmayer
bcd19ad75b
support any sequence type in init method of Vector class
2016-07-27 09:23:20 +02:00
Sebastian Hoogen
af50cbf964
fixes #0001422 : Subclass Exception
...
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
ed4729dac1
+ extend number protocol
2014-02-14 13:53:47 +01:00
wmayer
8c354c7635
+ extend number protocol
2014-02-14 13:45:56 +01:00
wmayer
438b6d4681
+ extend number protocol
2014-02-14 12:46:30 +01:00
Yorik van Havre
f1dc173a0f
Exposed vector negative to python
2013-07-30 12:17:06 -03:00
wmayer
79c49e4939
Add distanceToPoint to VectorPy
2013-07-17 16:41:09 +02:00
wmayer
82081a6634
0001152: The output of __repr__() of Vector and Rotatio would create Objects with different Values do to inapropriate rounding
2013-06-17 13:21:25 +02:00
wmayer
74cf9b4521
Return a NotImplemented exception when comparing Matrix or Vector with other types
2012-03-13 08:49:01 +01:00
wmayer
6e4f689079
0000623: Matrix and Vector API extension
2012-03-11 16:22:17 +01:00
wmayer
6529c8c371
Make new method in Vector3 accesible from Python
2012-02-24 19:43:44 +01: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