Commit Graph

31 Commits

Author SHA1 Message Date
tomate44
4e2d7c36ca Edge.getParameterByLength fix 2018-02-14 18:46:35 +01:00
wmayer
95fbd8a099 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
7a17a34dbe 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
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
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
wmayer
d7d7aa238f add methods firstVertex and lastVertex to TopoEdge 2017-04-04 10:05:46 +02:00
wmayer
ed23c0d3c4 py3: ported Part to python3 2017-03-01 16:38:53 +01:00
wmayer
81c3bc6ef5 make new Part.Line behaviour the default 2017-02-09 21:47:25 +01:00
wmayer
3941fc4cea implement BezierCurve2d 2016-12-03 18:23:55 +01:00
wmayer
846f062c12 in old mode Edge.Curve returns a line segment instead of an infinite line 2016-12-02 12:51:00 +01:00
wmayer
c6529d21fe implement Line class 2016-12-01 00:04:13 +01:00
wmayer
53ca0eb6a3 support offset curve in edge.Curve for occ 7.0 2016-09-15 10:36:44 +02:00
wmayer
e8b36592c0 fix Coverity issues 2016-08-21 18:46:40 +02:00
Wolfgang E. Sanyer
7f4a437cc2 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
wmayer
af72ae09c1 + implement TopoEdge.isSeam(face) 2016-04-28 11:08:28 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
5ff38ba7d5 + add methods to get GProps from curves and surfaces 2015-03-22 18:39:49 +01:00
Sebastian Hoogen
5e51a6cdf7 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
7eaa4fff74 + Support Quasi methods in discretize() 2014-08-14 19:11:51 +02:00
wmayer
9ed61f107b + support First and Last keywords in discretize 2014-08-14 11:16:54 +02:00
wmayer
3d2a2b06f0 + fix and improve discretize() method 2014-08-13 23:33:27 +02:00
wmayer
babcf2f027 Parameter transformation 2013-11-14 11:27:07 +01:00
wmayer
fdff852950 + Fix curve and surface property methods of topo edge and face 2013-11-05 12:16:57 +01:00
wmayer
4686118f2a + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer
789e810213 + Fix for call of normalAt for edges 2013-10-02 09:42:09 +02:00
wmayer
bbafe9cb00 Add First/LastParameter attributes to TopoEdge 2012-06-26 14:58:05 +02:00
wmayer
fac54a4306 Method Part.Edge.split added 2012-06-05 11:55:45 +02:00
wmayer
1aa7e55e92 + 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
7feebeb5a2 + 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
3fd1827084 + 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