Commit Graph

61 Commits

Author SHA1 Message Date
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
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
Zheng, Lei
a1a8645ea9 Part: exported Part::sort_Edges
Fixed export of Part::shape2pyshape
2017-01-20 17:46:47 +08:00
Zheng, Lei
3bf3bd5cee Part: export Part::shape2pyshape 2017-01-19 23:05:30 +08:00
wmayer
413550d5b1 cleanup work: overload methods instead of using new method names 2017-01-04 15:39:27 +01:00
triplus
ff986b80f1 Add Part BOA multiCut, multiCommon and multiSection methods 2017-01-04 14:06:12 +01:00
wmayer
64f954cbfd fix build failure for occ version < 7.0 2016-11-12 16:19:51 +01:00
wmayer
446e5e94cc methods to fix shape tolerances 2016-11-12 16:14:46 +01:00
wmayer
2845b437b5 methods to analyze shape tolerances 2016-11-12 15:31:35 +01:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
7d38edb065 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
DeepSOIC
d4fc0becd7 Part: Py API: add makeOffset2d method to Part.Shape
+ write documentation to makeOffsetShape
2016-09-02 16:26:02 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
DeepSOIC
31aeb84075 Part: TopoShapePy: add generalFuse method 2016-07-04 14:57:50 +03:00
wmayer
ec82ea252a + add overloaded methods of write() and read() to write and read from streams 2016-06-11 14:47:01 +02:00
wmayer
9bfdfc723e + for importBrep() and exportBrep() allow file names or file objects 2016-06-11 12:38:58 +02:00
wmayer
00f20e89c0 + fix build failure with occ 6.9.1 2015-11-05 19:40:34 +01:00
wmayer
50189747c0 + (hopefully) fix build failure with occ 6.9.1 2015-11-05 17:06:04 +01:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
5609b63be3 + add method to write/read BREP in binary format 2015-09-07 19:02:56 +02:00
wmayer
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
Sebastian Hoogen
b9bcda349f add shape.proximity(shape) 2015-03-21 13:29:30 +01:00
Sebastian Hoogen
9a758221ee add TopoShape::multiFuse method
to fuse multiple shapes at once.
2015-02-21 12:35:21 +01:00
Sebastian Hoogen
b54dd77a50 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
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen
d49528b27e issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +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
7ac12b111b + Allow to get clean copy of a shape from Python 2014-07-30 12:21:22 +02:00
Sebastian Hoogen
29ea3d1a14 remove all references to BRepMesh 2014-07-18 10:43:16 +02:00
wmayer
f68760fbae + fixes #0001544: Python function to retrive direct children of a shape using TopoDS_Iterator 2014-05-14 18:14:06 +02:00
wmayer
55984a200f + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00
wmayer
fa14dec3fa + allow to set deflection of a mesh with exportStl 2014-03-27 10:41:25 +01:00
wmayer
b888d3dd41 + Fix reference leak in _getSupportIndex 2014-03-25 10:15:54 +01:00
wmayer
e09284ad85 + allow to use copy() method for a null shape 2014-03-15 13:05:06 +01:00
wmayer
6e9c60cb04 + fixes #0001463: setting Vertex.Tolerance modifies bound and shared shapes 2014-03-06 09:50:49 +01:00
wmayer
4e0add0749 + fix scale in TopoShapePy 2014-03-05 11:10:55 +01:00
Sebastian Hoogen
4a3f1cc33c BrepTools::Dump to string 2014-03-02 14:42:41 +01:00
Sebastian Hoogen
4749e35e95 parse keyword arguments in Part::TopoShapePy::makeOffsetShape 2014-03-02 08:56:08 +01:00
wmayer
9dedc1a1f7 + Fix compiler warning 2014-02-17 10:45:23 +01:00
WandererFan
1a0a2d1013 revise Part.distToShape return value format 2014-02-17 10:34:14 +01:00
WandererFan
aa8fecb50e Add Part.distToShape() 2014-02-17 10:34:13 +01:00
wmayer
c04a3251e9 + Rename methods 2014-01-12 21:42:46 +01:00
wmayer
7e9e6bbb51 + Projection of edges and wires 2014-01-12 18:48:55 +01:00
wmayer
925e2d20ac + Throw exception when querying information from invalid shape 2013-11-13 12:29:06 +01:00
wmayer
3ec0abc666 0001269: Parameter 'tolerance' in 'Create Mesh from geometry' work strange. 2013-10-11 14:31:11 +02:00
wmayer
ad877e1ae1 + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
jriegel
cc55ce4008 start node index interface 2013-09-12 21:58:11 +02:00
wmayer
224d17a984 0001221: Add a function that can apply a Placement to a Shape like sh.transformGeometry(sh.Placement.toMatrix()) 2013-08-25 11:32:03 +02:00
wmayer
f380c34d62 0001207: Expose Standard_Boolean TopoDS_Shape::IsPartner(const TopoDS_Shape& other) const; to python 2013-08-10 11:36:26 +02:00