Commit Graph

44 Commits

Author SHA1 Message Date
wmayer
5edeb99828 + add methods to get/set scene graph, add parameter to set window title of viewer 2016-05-01 17:50:40 +02:00
wmayer
61376ef135 + improve whitespaces
+ fix sequence protocol and fix crash
2016-05-01 15:49:00 +02:00
wmayer
e331bdbc5d Squashed commit of the following:
commit 89eb699e69c05dda0ebecf4aa22acc85386ede8f
Author: looooo <sppedflyer@gmail.com>
Date:   Wed Apr 27 21:43:16 2016 +0200

    added close function

commit 2acc25adbc9df47194934ef4db18383919248c7d
Author: looooo <sppedflyer@gmail.com>
Date:   Wed Apr 27 21:12:18 2016 +0200

    some additions to the split-view-bindings

commit ec366d154a96a71c7716900f4de1c109a9160df8
Author: looooo <sppedflyer@gmail.com>
Date:   Sun Apr 24 20:55:26 2016 +0200

    SplitView: Antia-Aliasing, getViewer, handlinging of deletion
    added anti-aliasing for the SplitView3DInventor class
    added method getViewer to the AbstractSplitView
    delete python-object when c++ object gets deleted

commit 7225cd836b0001d302c9e14328b5eb7dd489cdb1
Author: looooo <sppedflyer@gmail.com>
Date:   Sun Apr 24 15:28:57 2016 +0200

    added function Gui.createViewer([int])->Viewer/SplitViewer
2016-05-01 15:46:53 +02:00
Yorik van Havre
d6c8d6c62c added FreeCADGui.listCommands() method 2016-04-27 22:42:22 -03:00
jriegel
16ab7f710b Active object manager for the Viewer 2016-04-12 18:12:03 +02:00
Yorik van Havre
5ef5a8ec3c Gui: added Gui.showPreferences() python function
This function accepts 2 optional arguments: a string (ex. "Draft")
and an integer (ex. 2). If given, the preferences dialog will open at
the third tab of the Draft group, if existing.
2016-02-02 15:01:42 -02:00
wmayer
24c60199cc + improve getting proper group name from Python module path name 2015-12-17 18:56:40 +01:00
wmayer
5ac4a6fa91 + improve getting proper group name from Python module name 2015-12-17 10:41:01 +01:00
wmayer
61e1a5ca2f + use Python's inspect module to get calling instance of addCommand 2015-12-16 23:07:24 +01:00
wmayer
969b43bb64 + improve active document handling 2015-10-18 19:35:15 +02:00
wmayer
cbfdfd5c2e + proper Python exception handling in Gui.doCommand(Gui) 2015-09-15 18:36:15 +02:00
wmayer
5652ca2c61 + fix crash due to sloppy reference counting 2015-09-15 18:19:36 +02:00
wmayer
a801fb20b8 + disable SVG and IDTF export for 3d view 2015-08-26 22:11:53 +02:00
wmayer
99fc24ea07 + fixes #0002221 2015-08-26 19:24:00 +02:00
wmayer
84a65a53ef + remove method View3DInventor::dumpSelection 2015-08-26 18:58:59 +02:00
wmayer
3241b1ece1 + Support preference pages for Python widget class 2015-07-16 00:10:23 +02:00
wmayer
f7644fc9f3 + issue #0002053: Support of themes 2015-07-12 22:54:56 +02:00
wmayer
2b53da4eee + include missing header files 2015-06-30 17:48:03 +02:00
wmayer
882ecd3ce3 + implement class PythonGroupCommand 2015-06-27 17:21:02 +02:00
wmayer
9431d301d3 + for VRML and OpenInventor export only selection, fix whitespaces 2015-05-17 13:53:22 +02:00
wmayer
994fbd072a + whitespace fixes 2015-05-17 12:53:00 +02:00
wmayer
436749f864 + fixes #0002029: VRML inline ignored 2015-03-27 16:42:14 +01:00
Sebastian Hoogen
faac8c36ba add encoding parameter to .as_std_string()
to handle PyUnicode Objects. Usually ASCII for object names and Utf-8
for file names and console output.
issue #995
2015-02-08 15:37:00 +01:00
wmayer
3904d0a8ee + fixes #0001830: Gui.export() cannot handle long filenames 2014-11-17 21:11:28 +01:00
wmayer
f233a50a00 + harmonize API 2014-10-19 14:25:51 +02: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
Yorik van Havre
850d0b5e82 Added Gui.showDownloads() py function to show the download manager, and allow to click https links in webgui browser 2014-08-31 16:51:51 -03:00
wmayer
0c2d201396 + fix security issue (do not run uncontrolled format string) 2014-08-06 10:16:06 +02:00
Yorik van Havre
81e983b6ac Exposed doCommand (Gui version) to python - fixes #1564 2014-08-05 19:28:36 -03:00
wmayer
609422f08a More detailed error message when xerces fails to read in parameters 2014-07-31 10:58:48 +02:00
wmayer
c6af002ab5 + fixes #0001614: Provide proper Error Message for corrupt xml files 2014-07-16 19:12:19 +02:00
jriegel
2a950d66ea Add some error reporting for python GuiCommands 2014-04-17 06:33:58 +02:00
wmayer
1f478269af + use dialog button box where possible, replace old Python icon 2014-03-08 15:17:56 +01:00
wmayer
83caf9d67b + detect from Python whether a document is modified, give option to suppress warning from SendMsgToActiveView 2014-02-24 11:30:27 +01:00
wmayer
2a2acf4955 + Make Python API more pythonic 2013-10-11 12:24:22 +02:00
wmayer
112b25f9fc Expose getMainWindow() to Python 2013-06-30 23:34:24 +02:00
jriegel
e189c0b336 add addModule() macro helper to the python interface of Application 2013-06-09 16:24:07 +02:00
jriegel
d739a2e41b Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00
wmayer
ff187c13a9 0000734: Cannot export Drawing Page to SVG 2012-06-05 13:42:21 +02:00
Yorik van Havre
4f91a5a71b Added FreeCADGui.doCommand() python command 2012-05-31 11:34:01 -03:00
wmayer
fcb4d396a1 Add program options --output and --hidden and implement PDF as export format 2012-03-31 13:25:01 +02: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