Commit Graph

41 Commits

Author SHA1 Message Date
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
wmayer
1cdcbfa77a Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
wmayer
7ae0bb2f33 Make more consistent method names in TopoShape 2012-11-24 20:45:47 +01:00
wmayer
53413e8af6 0000764: Serialize Shape to python String 2012-06-28 18:29:48 +02:00
wmayer
0ea66aaf36 Handle OCC exception in exportStl 2012-05-26 00:29:29 +02:00
wmayer
546faca0de 0000572: add a method to Part module to read BRep data from string
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5410 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-16 20:23:26 +00:00
wmayer
050a7316ef + make try/catch block around sortEdges
+ set shape immutable when getting from feature
+ no use of tuples in removeShape

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5402 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-12 14:04:19 +00:00
wmayer
7d7eefc7ca + check for null shape before calling BRep_Tool::IsClosed
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5379 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-02 14:03:55 +00:00
wmayer
3b5c2c951f + add GUI command for shape refinement
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5307 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 13:16:44 +00:00
wmayer
271291a2d0 + add Thomas Anderson's remove splitter algorithm
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5228 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-07 15:16:57 +00:00
wmayer
e9bc1bfff8 + add method to offset arbitrary shapes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5005 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-11 11:47:57 +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