Commit Graph

26 Commits

Author SHA1 Message Date
Jeremy Mack Wright
3d3f640dae Improved the open and close script functionality to help ensure a better and more integrated workflow. 2016-10-16 21:41:32 -04:00
Jeremy Mack Wright
544faacaf2 Code cleanup and minor bug fixes. 2016-10-11 20:49:22 -04:00
Jeremy Mack Wright
765c9d168d First fully working version, ready for user testing. 2016-10-04 23:02:58 -04:00
Jeremy Mack Wright
2c18886dd5 Got save as working, still need to handle tabs gracefully. 2016-10-04 17:07:51 -04:00
Jeremy Mack Wright
cb1221da2c Fixed the majority of the functionality to where scripts can now be opened, saved, and executed in a multi-window environment. 2016-10-03 21:38:44 -04:00
Jeremy Mack Wright
c319b4f7f0 Added a safety feature to remove bad characters from the file name before trying to create or update the 3D document view. 2016-07-31 23:36:22 -04:00
Jeremy Mack Wright
3f1bd3b70f Fixed the temp module bug that had popped up in the newest versions of FreeCAD and fixed the extra newlines in the output. 2015-10-28 00:09:29 -04:00
Jeremy Mack Wright
00f5bf8f66 Fixed the execute icon, which was removed in FreeCAD 0.16+ 2015-10-27 16:31:47 -04:00
Gaël Ecorchard
49823b9d45 Support unicode in scripts 2015-10-12 21:55:57 +02:00
Jeremy Wright
473ddc09d3 Moved the editor close to the correct place. 2015-06-10 22:01:09 -04:00
Jeremy Wright
03bfe4772b Now close the CadQuery code editor properly. 2015-06-10 17:06:49 -04:00
Jeremy Wright
fa9d1b34d6 Trying to make the module work better with the normal flow of FreeCAD. 2015-06-10 16:33:19 -04:00
Jeremy Wright
ae51eb1cb1 Added examples submenu under the main CQ menu. 2015-01-14 12:29:38 -05:00
Jeremy Wright
dc89c70d2f Fixed a bug where each object in the active document was referred to by its label instead of its name. 2015-01-08 20:17:07 -05:00
Jeremy Wright
ac1d142598 Added the ability to clear the script output from the Report view. 2015-01-05 10:28:15 -05:00
Jeremy Wright
5536bd1d69 Fixed an error when a script is closed with no open 3D views. 2014-12-18 14:03:57 -05:00
Jeremy Wright
9c894268b8 Added a Settings file to hold configuration options in preparation for adding better support for external editors. 2014-12-18 13:42:07 -05:00
Jeremy Wright
d8c2a53cf5 Fixed numerous issues relating to opening, closing, newing up, and saving scripts. Also added an example contributed by @emdash. 2014-12-18 11:11:46 -05:00
Jeremy Wright
88b9b2d244 Completed the New Script menu item and made the module more intelligent about whether or not a file is dirty and needs saved. 2014-12-14 21:36:28 -05:00
Jeremy Wright
732918e5f2 Clicking New Script opens a template file with some skeleton comments/code showing best practices. Needs to have it fixed so that Save-As always comes up if the user tries to save over the template. 2014-12-13 23:59:54 -05:00
Jeremy Wright
0d6b5b1f23 Fixed bug where save-as dialog wouldn't be shown when clicking save with no file name set on the code pane. 2014-12-13 22:59:02 -05:00
Jeremy Wright
3a0e206fe4 Fixed a bug due to not importing the os module in the right place before trying to open a second script. 2014-12-12 22:19:41 -05:00
Jeremy Wright
6557f3d194 Fixed a bug with a blank filename being set for the previous filename and appended the script's directory to sys.path to enable the use of project directories later. 2014-12-12 17:10:48 -05:00
Jeremy Wright
b4df535e07 Set the Open dialog to default to the embedded Examples directory the first time it comes up. 2014-12-08 20:56:07 -05:00
Jeremy Wright
50844a2dd1 Got module working with embedded packages and cleaned up file headers. 2014-11-28 16:45:22 -05:00
Jeremy Wright
8dbd7d5877 Initial commit of the nearly completed module. 2014-11-21 22:19:53 -05:00