Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
tomate44
1f63d6a103
add python binding of OCC defeaturing
2018-07-29 11:50:06 +02:00
Yorik van Havre
c93ff200ca
Part: Allow to disable progress bar in brep string reader
2018-07-19 11:57:07 -03:00
tomate44
f3ac51d9b7
add Approximation option to TopoShape section
2018-06-10 20:59:06 +02:00
wmayer
009b18a553
expose function to Python to get optimal bounding box
2018-05-30 21:27:49 +02:00
wmayer
3c91e14fcd
add typedef Py::TopoShape for convenience, move shape2pyshape to own file
2017-09-28 12:54:28 +02:00
wmayer
6ed14ed76a
for boolean ops also support to pass single shape and tolerance
2017-09-18 22:16:15 +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
eb64ecc06f
improve exception message if proximity function fails
2017-06-15 14:28:10 +02:00
wmayer
88bd341ad2
fixes #0002926 : Trying to access Part.Shape.children() before doc.recompute() crashes the whole program
2017-06-03 13:46:05 +02:00
wmayer
2a6a58e587
properly raise exception in TopoShapePy::check
2017-05-29 16:52:44 +02:00
wmayer
f9bfd77555
add method to get ancestors of a sub-shape
2017-05-11 11:20:21 +02:00
wmayer
51d7949409
add optional parameter to TopoShape.check() to run bop check
2017-05-10 22:40:12 +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
looooo
a388a9d72d
py3: Part: App: gathering commits relevant for Mod/Part/App
2017-03-01 17:10:46 +01:00
wmayer
ed23c0d3c4
py3: ported Part to python3
2017-03-01 16:38:53 +01:00
Zheng, Lei
eb0f89f477
Part: exported Part::sort_Edges
...
Fixed export of Part::shape2pyshape
2017-01-20 17:46:47 +08:00
Zheng, Lei
4a0e037893
Part: export Part::shape2pyshape
2017-01-19 23:05:30 +08:00
wmayer
dfbd6aa237
cleanup work: overload methods instead of using new method names
2017-01-04 15:39:27 +01:00
triplus
43ad429734
Add Part BOA multiCut, multiCommon and multiSection methods
2017-01-04 14:06:12 +01:00
wmayer
1dffd81295
fix build failure for occ version < 7.0
2016-11-12 16:19:51 +01:00
wmayer
a557836597
methods to fix shape tolerances
2016-11-12 16:14:46 +01:00
wmayer
ad49a96b14
methods to analyze shape tolerances
2016-11-12 15:31:35 +01:00
wmayer
f944ab3846
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
wmayer
1ce73dda96
fix -Wextra in Part
2016-09-22 11:49:28 +02:00
DeepSOIC
78d32b6405
Part: Py API: add makeOffset2d method to Part.Shape
...
+ write documentation to makeOffsetShape
2016-09-02 16:26:02 +02:00
Wolfgang E. Sanyer
7f4a437cc2
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
DeepSOIC
885fecb1ea
Part: TopoShapePy: add generalFuse method
2016-07-04 14:57:50 +03:00
wmayer
10bb9fa5cc
+ add overloaded methods of write() and read() to write and read from streams
2016-06-11 14:47:01 +02:00
wmayer
9c7bc073e4
+ for importBrep() and exportBrep() allow file names or file objects
2016-06-11 12:38:58 +02:00
wmayer
e8048a4968
+ fix build failure with occ 6.9.1
2015-11-05 19:40:34 +01:00
wmayer
44a54e417c
+ (hopefully) fix build failure with occ 6.9.1
2015-11-05 17:06:04 +01:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
7f9aa7b4a5
+ add method to write/read BREP in binary format
2015-09-07 19:02:56 +02:00
wmayer
cb16fec6bb
+ fix various warnings
2015-08-29 22:05:09 +02:00
Sebastian Hoogen
565a875365
add shape.proximity(shape)
2015-03-21 13:29:30 +01:00
Sebastian Hoogen
c2ce8f5eba
add TopoShape::multiFuse method
...
to fuse multiple shapes at once.
2015-02-21 12:35:21 +01:00
Sebastian Hoogen
8ec87dbdf2
rename python classes for shapes and
...
implememnt __getstate__ and __setstate__ to enable pickling
issue #1948
2015-02-04 17:07:29 +01:00
Sebastian Hoogen
a53a239f2f
issue #1027 use unicode filepaths
2014-10-11 13:32:06 +02:00
Sebastian Hoogen
ed66ada1cf
issue #1700 replace PyExc_Exception
2014-09-17 11:15:57 +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
wmayer
7294271c0c
+ Allow to get clean copy of a shape from Python
2014-07-30 12:21:22 +02:00
Sebastian Hoogen
a0454af685
remove all references to BRepMesh
2014-07-18 10:43:16 +02:00
wmayer
f9ff3b250e
+ fixes #0001544 : Python function to retrive direct children of a shape using TopoDS_Iterator
2014-05-14 18:14:06 +02:00
wmayer
3b5cdda879
+ fix flaws found with code analyzer tool
2014-05-07 13:09:44 +02:00
wmayer
6d53d9d50c
+ allow to set deflection of a mesh with exportStl
2014-03-27 10:41:25 +01:00
wmayer
12277cccf2
+ Fix reference leak in _getSupportIndex
2014-03-25 10:15:54 +01:00
wmayer
66819d9dfb
+ allow to use copy() method for a null shape
2014-03-15 13:05:06 +01:00
wmayer
92253429c5
+ fixes #0001463 : setting Vertex.Tolerance modifies bound and shared shapes
2014-03-06 09:50:49 +01:00
wmayer
480bf1bfa7
+ fix scale in TopoShapePy
2014-03-05 11:10:55 +01:00