Commit Graph

25 Commits

Author SHA1 Message Date
wmayer
ff4d613acb + add method trim() to Part.Curve 2017-07-26 22:59:39 +02:00
wmayer
800526836a use specialized Python exception classes 2017-04-28 19:33:51 +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
d5e9afa52b py3: ported Part to python3 2017-03-01 16:38:53 +01:00
wmayer
becdede5c0 add methods to convert a curve to a B-Spline or NURBS 2017-02-13 10:38:09 +01:00
wmayer
dd1d45b081 fix bug in Curve class 2016-12-03 11:04:24 +01:00
wmayer
a9ade2be5b expose methods to Python to get normal, curvature and center of curvature for curve 2016-10-28 21:19:27 +02:00
wmayer
b44408a2a4 implement method to get GeomSurface from Geom_Surface 2016-10-17 22:39:17 +02:00
wmayer
c2dd2e2b99 fix Coverity issues 2016-08-21 18:46:40 +02:00
maito78
db7465b215 Add parameter at given distance method for curves 2016-07-29 22:40:19 +02:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
jrheinlaender
a07d1fdba8 Python functions to intersect curves and surfaces 2016-04-12 18:11:55 +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
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
2eb40b4fd8 + fixes #0001388: SIGSEGV in Part::GeometryCurvePy::toBSpline 2014-02-17 11:40:09 +01:00
wmayer
6321d460e1 + Approximate curve to B-Spline 2014-01-17 10:53:13 +01:00
wmayer
cca672d1e6 + Attribute to get continuity of curve 2013-10-24 18:11:24 +02:00
wmayer
a6b71c58dd + Method to convert any curve into B-Spline 2013-10-24 17:30:38 +02:00
wmayer
2255bdd30b Fix build failure 2013-04-10 09:41:44 +02:00
wmayer
48c69c820c Implement GeometryCurvePy::length 2013-04-08 12:54:46 +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
c0986a76dc + add method to get intersection of two curves
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5414 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-17 15:08:47 +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