Yorik van Havre
263f5951ce
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
9f472f5c41
+ improve getting proper group name from Python module path name
2015-12-17 18:56:40 +01:00
wmayer
0dad1fac15
+ improve getting proper group name from Python module name
2015-12-17 10:41:01 +01:00
wmayer
32377b7635
+ use Python's inspect module to get calling instance of addCommand
2015-12-16 23:07:24 +01:00
wmayer
c5f6687872
+ improve active document handling
2015-10-18 19:35:15 +02:00
wmayer
b59d21c3a6
+ proper Python exception handling in Gui.doCommand(Gui)
2015-09-15 18:36:15 +02:00
wmayer
200362779f
+ fix crash due to sloppy reference counting
2015-09-15 18:19:36 +02:00
wmayer
b1b76dea66
+ disable SVG and IDTF export for 3d view
2015-08-26 22:11:53 +02:00
wmayer
deafd1c0e3
+ fixes #0002221
2015-08-26 19:24:00 +02:00
wmayer
9fbe818ad0
+ remove method View3DInventor::dumpSelection
2015-08-26 18:58:59 +02:00
wmayer
b5987f0ff4
+ Support preference pages for Python widget class
2015-07-16 00:10:23 +02:00
wmayer
343bb91450
+ issue #0002053 : Support of themes
2015-07-12 22:54:56 +02:00
wmayer
45d793a1af
+ include missing header files
2015-06-30 17:48:03 +02:00
wmayer
448ded204a
+ implement class PythonGroupCommand
2015-06-27 17:21:02 +02:00
wmayer
7c83638b40
+ for VRML and OpenInventor export only selection, fix whitespaces
2015-05-17 13:53:22 +02:00
wmayer
2127ee46c3
+ whitespace fixes
2015-05-17 12:53:00 +02:00
wmayer
80956aef8d
+ fixes #0002029 : VRML inline ignored
2015-03-27 16:42:14 +01:00
Sebastian Hoogen
d2bb75566e
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
3d249812b6
+ fixes #0001830 : Gui.export() cannot handle long filenames
2014-11-17 21:11:28 +01:00
wmayer
be949a054d
+ harmonize API
2014-10-19 14:25:51 +02: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
Yorik van Havre
7f6a22c787
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
28ef8c8d38
+ fix security issue (do not run uncontrolled format string)
2014-08-06 10:16:06 +02:00
Yorik van Havre
d43d389b02
Exposed doCommand (Gui version) to python - fixes #1564
2014-08-05 19:28:36 -03:00
wmayer
9be6a85e2c
More detailed error message when xerces fails to read in parameters
2014-07-31 10:58:48 +02:00
wmayer
46f737b430
+ fixes #0001614 : Provide proper Error Message for corrupt xml files
2014-07-16 19:12:19 +02:00
jriegel
bfd8b32c0b
Add some error reporting for python GuiCommands
2014-04-17 06:33:58 +02:00
wmayer
d2501d4cc8
+ use dialog button box where possible, replace old Python icon
2014-03-08 15:17:56 +01:00
wmayer
effedb5d1c
+ detect from Python whether a document is modified, give option to suppress warning from SendMsgToActiveView
2014-02-24 11:30:27 +01:00
wmayer
a8f825917f
+ Make Python API more pythonic
2013-10-11 12:24:22 +02:00
wmayer
2977584307
Expose getMainWindow() to Python
2013-06-30 23:34:24 +02:00
jriegel
a8caab4117
add addModule() macro helper to the python interface of Application
2013-06-09 16:24:07 +02:00
jriegel
61914bc772
Add all base system changes from the Assembly branch
2013-02-10 20:02:33 +01:00
wmayer
2a677be827
0000734: Cannot export Drawing Page to SVG
2012-06-05 13:42:21 +02:00
Yorik van Havre
c3c6080791
Added FreeCADGui.doCommand() python command
2012-05-31 11:34:01 -03:00
wmayer
76b5c9da7f
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