luz paz
e0ab0382b3
Part: remove py2 code
2021-04-25 11:29:35 +02:00
wmayer
09eca18e99
Part: remove deprecated type LinePyOld
2020-10-18 14:45:31 +02:00
wmayer
12577acc40
Part: [skip ci] allow to create empty shapes of each type
2020-10-16 17:08:49 +02:00
wmayer
1f8296736b
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
wmayer
2c8f78b299
Part: [skip ci] return std::unique_ptr from Part::makeFromSurface() to avoid memory leaks
2020-08-29 23:56:12 +02:00
tomate44
21562568d6
Edge.curveOnSurface : add placement to the output tuple
2020-08-29 22:22:43 +02:00
tomate44
291050c8d0
Part.EdgePy : get access to stored Pcurves
2020-08-29 22:22:43 +02:00
wmayer
065619d243
Part: [skip ci] add methods to determine continuity
2020-05-17 21:57:25 +02:00
luz.paz
17ada69518
Part: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all Part WB files
2019-12-22 00:59:47 +01:00
Abdullah Tahiri
216926233f
Part: Make 3rd party libraries into PCH
2019-05-02 07:09:22 +02:00
wmayer
dc1720a7f2
continue PCH on Part module
2019-05-01 16:10:38 +02:00
wmayer
2aee1e8368
fixes 0003771: Memory leak in Part.Face.Surface
2019-01-23 22:38:51 +01:00
wmayer
5a380af1d7
remove ambiguous function setTolerance, use Tolerance attribute instead
2018-08-19 14:31:04 +02:00
wmayer
99ec96acd5
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
tomate44
2ec68ac393
Edge.getParameterByLength fix
2018-02-14 18:46:35 +01:00
wmayer
9980b74816
add method to get u,v nodes of the tessellation of a face
...
add method to get the nodes of the tessellation of an edge
2018-01-14 15:52:08 +01:00
wmayer
f1b9e751c8
make computation of the length of an edge consistent to the computation of a (limited) curve
2017-09-15 19:29:44 +02:00
wmayer
0d617f97d6
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
Peter Lama
fa4bebf2e0
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
wmayer
59682f31a7
add methods firstVertex and lastVertex to TopoEdge
2017-04-04 10:05:46 +02:00
wmayer
d5e9afa52b
py3: ported Part to python3
2017-03-01 16:38:53 +01:00
wmayer
c19dd8b4c7
make new Part.Line behaviour the default
2017-02-09 21:47:25 +01:00
wmayer
07c2334839
implement BezierCurve2d
2016-12-03 18:23:55 +01:00
wmayer
4b9d3915f4
in old mode Edge.Curve returns a line segment instead of an infinite line
2016-12-02 12:51:00 +01:00
wmayer
c74ba63283
implement Line class
2016-12-01 00:04:13 +01:00
wmayer
25108d8634
support offset curve in edge.Curve for occ 7.0
2016-09-15 10:36:44 +02:00
wmayer
c2dd2e2b99
fix Coverity issues
2016-08-21 18:46:40 +02:00
Wolfgang E. Sanyer
d1d2f1f811
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
wmayer
1736901e92
+ implement TopoEdge.isSeam(face)
2016-04-28 11:08:28 +02:00
Mateusz Skowroński
05f95c0506
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
897591f765
+ add methods to get GProps from curves and surfaces
2015-03-22 18:39:49 +01: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
b26ed2a3a9
+ Support Quasi methods in discretize()
2014-08-14 19:11:51 +02:00
wmayer
e4aa0049c1
+ support First and Last keywords in discretize
2014-08-14 11:16:54 +02:00
wmayer
1619ff964e
+ fix and improve discretize() method
2014-08-13 23:33:27 +02:00
wmayer
3be45a18a5
Parameter transformation
2013-11-14 11:27:07 +01:00
wmayer
4d653a2f17
+ Fix curve and surface property methods of topo edge and face
2013-11-05 12:16:57 +01:00
wmayer
ad877e1ae1
+ Make Python API more pythonic
2013-10-11 13:57:05 +02:00
wmayer
3fd1efe5b0
+ Fix for call of normalAt for edges
2013-10-02 09:42:09 +02:00
wmayer
236546151f
Add First/LastParameter attributes to TopoEdge
2012-06-26 14:58:05 +02:00
wmayer
53b0f9e952
Method Part.Edge.split added
2012-06-05 11:55:45 +02:00
wmayer
3933c6b109
+ implement Python interface to discretize wires or edge with given deflection or number of points
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5423 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-24 15:23:58 +00:00
wmayer
5c23a97737
+ attribute Tolerance added to vertex, edge and face
...
+ method 'add' added to wire
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5401 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-12 12:09:45 +00:00
wmayer
7d7eefc7ca
+ check for null shape before calling BRep_Tool::IsClosed
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5379 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-02 14:03:55 +00: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