wmayer
068c0e5a98
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
3dc91fa2b8
Part: expose Geom2dCircle::getCircleCenter to Python and fix a regression
2022-02-05 16:07:00 +01:00
wmayer
0c933ac70a
Part: use of factory method of Vector2dPy
2021-11-14 18:19:34 +01:00
luz paz
c69f245d6f
Part: remove py2 code
2021-04-25 11:29:35 +02:00
wmayer
a6c55acdb1
Part: improve Python interface
...
+ rename getCurve2dFromGeom2d to makeFromCurve2d
+ add function makeFromCurve and makeFromTrimmedCurve like makeFromSurface
+ implement OffsetCurve.BasisCurve
+ fix memory leak in BRepOffsetAPI_MakePipeShellPy
2020-09-27 23:34:45 +02:00
tomate44
2ea94bee60
Part.Curve2d : adjust parameters
2020-08-24 16:09:54 +02:00
tomate44
f504152917
Part.Curve2d : fix for toShape sometimes generating wrong BSpline curves
2020-08-24 16:09:54 +02:00
wmayer
0f18bdeb72
PVS: V524 It is odd that the body of 'getLastUKnotIndex' function is fully equivalent to the body of 'getFirstUKnotIndex' function
2020-07-18 10:59:27 +02:00
asapelkin
e951094af9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
luz.paz
e04ba4e4a1
Add some more user-facing typo fixes
2019-03-22 10:44:14 -03:00
wmayer
90c80f83fd
PVS: V522 There might be dereferencing of a potential null pointer 'Py::Vector2d().getCxxObject()'
2019-02-18 00:00:10 +01:00
luz.paz
26750deb07
Documentation: uniformity
2019-01-30 11:08:03 -02:00
tomate44
9ea523a9e0
fix intersectCC method missing some intersection points for Geom2d curves
2019-01-03 12:33:58 +01:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
840c9e8b3c
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
luzpaz
706141b967
Make uniform the use of B-spline visible to users
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
wmayer
949c86d364
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
18f723cb03
use specialized Python exception classes
2017-04-28 19:33:51 +02:00
Peter Lama
a75a98ef27
Use OCCT Handle macro for Handle_ classes
...
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
looooo
a388a9d72d
py3: Part: App: gathering commits relevant for Mod/Part/App
2017-03-01 17:10:46 +01:00
wmayer
b32c102f0f
add missing header files for Linux build
2017-02-24 15:07:31 +01:00
wmayer
1073d06ef5
if possible then keep canonical curve and avoid to get a B-spline
2017-02-24 12:32:06 +01:00
wmayer
2dcbba9c33
call BRepLib::BuildCurves3d after mapping a 2d curve onto a surface to correctly create a 3d curve
2017-02-24 09:42:54 +01:00
wmayer
64912a59cc
allow to pass also a face to Curve2d.toShape
2017-02-23 21:31:03 +01:00
Zheng, Lei
4a0e037893
Part: export Part::shape2pyshape
2017-01-19 23:05:30 +08:00
wmayer
a68c204bb0
fix CID 154895
2016-12-18 11:32:45 +01:00
wmayer
6cde253f67
fix warnings
2016-12-04 17:04:48 +01:00
wmayer
04668901ea
code optimization
2016-12-03 22:27:07 +01:00
wmayer
428f099aaf
implement BSplineCurve2d
2016-12-03 22:17:04 +01:00
wmayer
3941fc4cea
implement BezierCurve2d
2016-12-03 18:23:55 +01:00
wmayer
fa585583d8
set type names of geom classes
2016-12-03 13:26:12 +01:00
wmayer
6de10d4fab
implement Curve2d
2016-12-03 11:01:44 +01:00
wmayer
d3e0f03650
add method to extract pcurve from an edge
2016-11-26 19:28:06 +01:00
wmayer
1348fe6bc1
implement Line2d
2016-11-26 15:30:00 +01:00
wmayer
3105c4b1da
fix -Wunused-parameter
2016-11-26 14:11:30 +01:00
wmayer
cb1b906bd4
implement Line2dSegment, fix doc strings
2016-11-26 14:08:14 +01:00
wmayer
de8bfaafc3
implement OffsetCurve2d
2016-11-25 23:45:14 +01:00
wmayer
c817c3334e
implement ArcOfParabola2d
2016-11-25 18:11:37 +01:00
wmayer
ffa942486a
implement Hyperbola2d and ArcOfHyperbola2d
2016-11-25 17:50:52 +01:00
wmayer
3067bd6a85
implement Ellipse2d and ArcOfEllipse2d
2016-11-25 17:20:58 +01:00
wmayer
3374737c5a
implement ArcOfConic2d and ArcOfCircle2d
2016-11-25 10:07:55 +01:00
wmayer
a0fc75d619
implement Circle2d
2016-11-24 23:45:05 +01:00
wmayer
94248e8da1
implement Conic2d and Parabola2d
2016-11-24 21:16:32 +01:00
wmayer
cdf45248dc
fix build failure on Linux
2016-11-23 19:27:41 +01:00
wmayer
97346672ea
create gp_Trsf2d from gp_Trsf
2016-11-23 18:53:48 +01:00
wmayer
8bd22e4d99
implement methods of Geometry2dPy
2016-11-23 15:05:55 +01:00
wmayer
9c720dde7b
use cmake's OBJECTS library option
2016-11-23 15:04:58 +01:00
wmayer
03ab1a4a4d
fix build problems on Linux/OSX
2016-11-22 16:16:48 +01:00
wmayer
9bdad96a69
add Python wrappers for Geom2d classes
2016-11-22 14:09:19 +01:00