Commit Graph

35 Commits

Author SHA1 Message Date
luzpaz
cc87c20afe 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
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
wmayer
b989dafafa implement object serialization for BSplineCurve class 2017-06-22 22:42:01 +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
Abdullah Tahiri
084e375b2a Part: BSplineCurve Python creation change for greater flexibility 2017-04-08 12:58:06 +02:00
tomate44
645dc7d2ba in approximate, don't autocorrect continuity. Explain requirements in UserDocu instead 2017-03-18 19:01:45 +01:00
tomate44
395cb9836b BSplineCurve approximate, fix function sometime failing with smoothing algo 2017-03-18 19:01:45 +01:00
looooo
275db827aa py3: Part: App: gathering commits relevant for Mod/Part/App 2017-03-01 17:10:46 +01:00
wmayer
d5e9afa52b py3: ported Part to python3 2017-03-01 16:38:53 +01:00
wmayer
babc62fc93 improve exception handling in BSplineCurvePy class 2017-02-18 12:53:36 +01:00
wmayer
3db2feadb6 clear error state when creating spline 2017-02-18 12:30:00 +01:00
Abdullah Tahiri
43f2940262 Part: BSpline creation method corrected as per Werner's indication
==================================================================

http://forum.freecadweb.org/viewtopic.php?f=10&t=19700
2017-01-12 22:44:07 +01:00
Abdullah Tahiri
ca8b39516b Part: Enable BSpline creation from poles 2017-01-07 02:00:12 +01:00
wmayer
85020ab780 + remove GeomHermiteCurve class and add its methods to GeomBSplineCurve 2016-10-29 15:08:17 +02:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
tomate44
4749733b60 Implements more arguments to BSplineCurve.approximate 2016-06-13 14:18:35 +02:00
wmayer
285a417402 + fix mistake in BSplineCurve.interpolate for Tangents/TangentFlags argument 2016-05-25 14:22:22 +02:00
wmayer
432709330a + support of tangents in BSplineCurve.interpolate 2016-05-24 23:15:17 +02:00
wmayer
a55f676134 + issue #0002560: Part BSplineCurve alternate interpolate method 2016-05-23 14:14:50 +02:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
c1f96b20b1 + fix strict-aliasing warnings 2015-08-29 19:48:08 +02:00
wmayer
e01fc4cb18 + add method getPolesAndWeights() to NURBS surfaces and curves 2015-05-09 00:58:07 +02:00
wmayer
7118689243 + fix memory leak in toBiArcs 2015-04-05 17:19:04 +02:00
wmayer
ac5392cd42 + remove leftover 2015-04-05 16:50:58 +02:00
wmayer
997e21f749 + integrate biarcs algorithm 2015-04-05 14:10:03 +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
583a830b92 + Fix compiler warnings with OCC 6.6 2013-12-05 23:06:13 +01:00
wmayer
a4b51145f2 0000895: Part.BSplineCurve: allow to set degree and mutliplicites when calling constructor. 2013-10-27 12:56:05 +01:00
Sebastian Hoogen
8a703d28ce 0000895: Part.BSplineCurve: allow to set degree and mutliplicites when calling constructor.
Adds the functions:
Part.BSplineCurve.buildFromPolesMultsKnots()
Part.BSplineSurface.buildFromPolesMultsKnots()
2013-10-26 10:46:43 +02:00
wmayer
724dc0e8b8 + Apply fix on BSplineCurvePy::interpolate 2013-10-25 10:56:45 +02:00
wmayer
39f450ea3b 0000358: BSpline curves not closing correctly 2013-10-24 16:18:03 +02:00
wmayer
ad877e1ae1 + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer
1cdcbfa77a Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
wmayer
2edd283f4b 0000668: getPole() does not provide proper bound checking 2012-04-12 13:24:48 +02: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