Commit Graph

47 Commits

Author SHA1 Message Date
wmayer
8caf6275a5 + fix Part.__sortEdges__, check for object type in Part.Wire 2015-04-10 18:25:31 +02:00
wmayer
5bde5ae011 + fix doc string of Part.makeLoft 2015-02-25 21:36:40 +01:00
wmayer
adf3c12ced + better exception handling in Part module 2014-11-04 11:03:51 +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
1ca5955389 + improve the plane fit from REEN module 2014-07-28 16:39:34 +02:00
wmayer
bfa3f8a2b1 + support to create faces from vertices with shape builder 2014-07-25 13:35:10 +02:00
wmayer
a7d7e674b0 + extend makeFilledFace 2014-05-14 13:18:23 +02:00
WandererFan
375839eac1 fixes #1319
allow Part.makeHelix to use 'vertical height' parm
correct lefthanded conical helixes in TopoShape::makeHelix
2014-05-10 11:05:52 +02:00
WandererFan
113e6026e4 Add function to Close Part.Loft (Gui & scripting) 2014-04-14 16:30:56 +02:00
WandererFan
94f8469df1 Improve geom creation, scaling and translation 2014-03-18 07:57:44 +01:00
WandererFan
3814c6b126 1443: Fix ShapeString user font selection on Windows 2014-02-27 15:18:18 +01:00
wmayer
3b1513e940 + fixes #0001345: orient solids 2014-01-04 13:50:53 +01:00
WandererFan
62e82aca90 Add Part.makeLongHelix to work around Mantis #0954 2013-12-29 13:53:01 +01:00
wmayer
0d9da9ef4d + Add method to Part module to set static values 2013-11-12 12:15:40 +01:00
wmayer
65d8e5d9ba 0001022: BRepPrimAPI_MakeRevolution vs BRepPrimAPI_MakeRevol 2013-10-28 15:06:29 +01:00
wmayer
ad877e1ae1 + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer
a8f825917f + Make Python API more pythonic 2013-10-11 12:24:22 +02:00
wmayer
fc91651b3c 0000931: Can't change STEP/IGES export units through Python interface 2013-07-09 19:02:53 +02:00
wmayer
1ffb203edb Use PropertyFile for fonts 2013-06-11 22:31:15 +02:00
wmayer
6c1c33f568 Prepare Windows build to use FreeType 2013-06-11 17:28:21 +02:00
wmayer
a2b4b04c13 Better exception handling when writing STEP/IGES/BREP files via Python 2013-04-26 17:18:25 +02:00
wmayer
72d2a38d85 Minor repairs per jriegel/jmaustpc (fixes from wandererfan) 2013-03-30 13:42:30 +01:00
wmayer
64be2e2d6b Fix typo 2013-03-27 11:18:44 +01:00
jriegel
39824cc7bf Merge branch 'shapestring' of WndererFan and includ configure switch. Windows default off! 2013-03-26 14:51:45 +01:00
WandererFan
7ed64d340a Tidy PyList creation code. Add test driver. 2013-03-22 10:35:34 -04:00
WandererFan
14c21746b9 Refactor PyList logic to FT2FC from AppPartPy. 2013-03-22 09:38:32 -04:00
WandererFan
6ecee09443 Refactor to move FC object creation from AppPartPy to FT2FC. 2013-03-21 09:14:25 -04:00
WandererFan
bbc167ac67 Eliminate temporary vector in FT2FC. 2013-03-20 19:39:03 -04:00
WandererFan
3305dd24d3 Combine UCS2 & UTF-8 logic. 2013-03-20 19:12:53 -04:00
WandererFan
1f6b249c85 Unicode cleanup. 2013-03-20 08:12:46 -04:00
WandererFan
bcf6fda59c Handle UTF-8 in Py strings. 2013-03-19 13:20:12 -04:00
WandererFan
c3da34736f Handle Py_UNICODE objects & ASCII Py_Strings 2013-03-18 18:05:38 -04:00
WandererFan
070efe9d95 Basic ASCII text to wire version. Breaks on Unicode. std::exception handling. 2013-03-16 17:07:05 -04:00
wmayer
fbca805e3a Fix wrong order of arguments in Part.makeThread 2013-03-05 12:57:26 +01:00
wmayer
8189b9a869 Do not pass 0 to PyObject_IsTrue 2012-12-30 23:16:56 +01:00
wmayer
1cdcbfa77a Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
wmayer
a6261ed84b First draft of makeThread 2012-06-15 13:04:07 +02:00
wmayer
5b41f0e8a5 Replace makeTube algorithm 2012-05-14 19:15:11 +02:00
wmayer
70b5e3dec4 Directly create solid from Part.makeWedge 2012-02-03 15:59:10 +01: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
52d65e2085 + port to OCC 6.5.2
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5318 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 12:58:47 +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
25755de65e 0000497: FreeCAD crashes when calling Part.makeFilledFace with list of lines
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5197 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-28 14:44:34 +00:00
wmayer
a512879ba1 + fix non-parametric makeHelix() function in Part module
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5143 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 10:02:26 +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