Commit Graph

53 Commits

Author SHA1 Message Date
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
Sebastian Hoogen
3986c887c3 BrepTools::Dump to string 2014-03-02 14:42:41 +01:00
Sebastian Hoogen
fe0180d6b3 parse keyword arguments in Part::TopoShapePy::makeOffsetShape 2014-03-02 08:56:08 +01:00
wmayer
8de258dded + Fix compiler warning 2014-02-17 10:45:23 +01:00
WandererFan
ea0e7bed89 revise Part.distToShape return value format 2014-02-17 10:34:14 +01:00
WandererFan
dcc4839968 Add Part.distToShape() 2014-02-17 10:34:13 +01:00
wmayer
ca3b87a719 + Rename methods 2014-01-12 21:42:46 +01:00
wmayer
0f6ccf11bf + Projection of edges and wires 2014-01-12 18:48:55 +01:00
wmayer
387b8fcd9e + Throw exception when querying information from invalid shape 2013-11-13 12:29:06 +01:00
wmayer
e631be10a1 0001269: Parameter 'tolerance' in 'Create Mesh from geometry' work strange. 2013-10-11 14:31:11 +02:00
wmayer
4686118f2a + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
jriegel
866668ace0 start node index interface 2013-09-12 21:58:11 +02:00
wmayer
1da39d014d 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
1ede6a3b93 0001207: Expose Standard_Boolean TopoDS_Shape::IsPartner(const TopoDS_Shape& other) const; to python 2013-08-10 11:36:26 +02:00
wmayer
1b345c193e Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
wmayer
aee645ee9d Make more consistent method names in TopoShape 2012-11-24 20:45:47 +01:00
wmayer
013b5f0dce 0000764: Serialize Shape to python String 2012-06-28 18:29:48 +02:00
wmayer
8078b7e0a7 Handle OCC exception in exportStl 2012-05-26 00:29:29 +02:00
wmayer
a75fb03407 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
d3af186c1c + 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
3fd1827084 + 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