Commit Graph

23 Commits

Author SHA1 Message Date
wmayer
58887d8b84 fix reference counting issue 2018-02-11 14:08:18 +01: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
0a86d959c0 add method to check for planar surface 2017-09-30 00:23:00 +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
wmayer
7aec98ffb6 add methods to get normal and curvature information from surfaces 2017-08-14 12:24:42 +02:00
wmayer
df9c81252f fix build failure 2017-07-27 11:06:06 +02:00
wmayer
99e3f95fff + add method trim() to Part.Curve 2017-07-26 22:59:39 +02:00
wmayer
6df816170a fix makeGeometryCurvePy to return a LinePy for lines instead of a GeometryCurvePy 2017-07-26 10:08:01 +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
wmayer
448ac27e56 fix crash in uIso of Sphere 2017-02-19 20:36:40 +01:00
wmayer
c6529d21fe implement Line class 2016-12-01 00:04:13 +01:00
wmayer
fbaf3a1bbc implement method to get GeomSurface from Geom_Surface 2016-10-17 22:39:17 +02:00
wmayer
7baeb6e51a simplify generic version of uIso/vIso 2016-10-17 19:04:52 +02:00
wmayer
12c3fde399 fix resource leaks 2016-10-17 16:35:16 +02:00
wmayer
1dbdfc276a fix build failure with older occ version 2016-10-17 16:15:53 +02:00
wmayer
5365678f72 implement generic uIso/vIso methods in GeometrySurfacePy 2016-10-17 16:10:33 +02:00
jrheinlaender
ae1890f56b Python functions to intersect curves and surfaces 2016-04-12 18:11:55 +02:00
wmayer
1a12d109e9 + fix strict-aliasing warnings 2015-08-29 19:48:08 +02: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
Sebastian Hoogen
256d844801 python property Continuity of GeometrySurface 2014-09-01 11:04:38 +02:00
wmayer
52d65e2085 + port to OCC 6.5.2
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5318 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 12:58: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