Commit Graph

53 Commits

Author SHA1 Message Date
Jeremy Wright
4d5ca7a326 Updated the embedded version of CQ for the version changes. 2015-03-05 17:39:20 -05:00
Jeremy Wright
2ce96c8c5c Updated the embedded CadQuery library after a fix to the moveTo function. 2015-02-23 08:39:47 -05:00
Jeremy Wright
579160f143 Made some changes to the new file template. 2015-01-19 13:44:08 -05: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
61c6ed0858 Changed all embedded examples to use Helpers.show() instead of Part.show(). 2015-01-05 22:49:21 -05:00
Jeremy Wright
eb3eaad7d9 Updated the CQ library and changed the new file template to reflect the new Helpers.show() best practice. 2015-01-05 22:09:03 -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
e99daaa469 Added a function to set colors and transparency. 2014-12-31 12:22:30 -05:00
Jeremy Wright
c0fd5bf851 Redirected stdout so that the print statement will work within FreeCAD. 2014-12-29 23:36:27 -05:00
Jeremy Wright
c88b89b46e Updated PyQode to automatically reload and execute when an external editor writes to disk. 2014-12-27 13:01:27 -05:00
Jeremy Wright
eca4be1818 Added better support for using external editors by having the editor automatically reload and execute the script based on the settings in Settings.py. 2014-12-26 00:25:19 -05:00
Jeremy Wright
ccaf07c396 Updated pycode.core. 2014-12-22 00:19:06 -05:00
Jeremy Wright
0823499975 Updated CadQuery. 2014-12-21 23:54:49 -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
a0108668a5 Removed an unneeded line from the Remote_Enclosure example. 2014-12-18 12:37:25 -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
a3beced8d1 Updated the CadQuery lib. 2014-12-12 15:27:14 -05:00
Jeremy Wright
50bc84c3eb Merge pull request #18 from jmwright/open-enhance
Set the Open dialog to default to the embedded Examples directory the fi...
2014-12-08 20:58:51 -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
stansu
9b8025f322 fix for 1x1 brick
when i try 1x1 brick, the rarray can’t use 0 for parameter.
so i add last else condition to disable last cylinder making.
2014-12-08 10:22:06 +08:00
Jeremy Wright
123c2b439c Incorporated a pyqode.core fix to compensate for a FreeCAD on Mac issue, and cleaned up the examples so they don't show errors in the code editor pane. 2014-12-07 12:53:40 -05:00
Jeremy Wright
5c6977f383 Put safeguards in place to keep non-existent directories from being added to sys.path and updated the CQ module to match the latest version. 2014-12-06 23:20:54 -05:00
Jeremy Wright
ab8a986a1c Added a comment about the default introduction example. 2014-12-06 22:21:26 -05:00
Dave Cowden
a9b94452ab Added Lego Brick Example: 2014-12-06 10:19:38 -05:00
Jeremy Wright
e1fd840dd7 Update to the cadquery module, which should be set up as a submodule eventually. 2014-12-05 00:19:32 -05:00
Jeremy Wright
9b9d75db2e Fixing accidental submodule creation. 2014-12-04 23:34:54 -05:00
Jeremy Wright
ab5a4e5225 Forced the FreeCAD bin and lib directories to be in the sys.path on module startup. 2014-12-04 11:04:04 -05:00
Jeremy Wright
4ce894f604 Broke all of the libraries out of the zip file and removed the *.pyc files. 2014-12-04 10:33:11 -05:00
Jeremy Wright
1b096c86fe Still trying... 2014-12-02 23:56:51 -05:00
Jeremy Wright
4440bdd2e2 Still trying to get Windows and Linux to agree on what paths need to be in sys.path. 2014-12-02 23:52:03 -05:00
Jeremy Wright
d5aa9e0a26 Removed the root Libs directory path from the sys.path entries. 2014-12-02 23:47:50 -05:00
Jeremy Wright
48462edec6 Backed out some path changes. 2014-12-02 23:15:29 -05:00
Jeremy Wright
df70a95868 Trying to fix CQ module import on Mac. 2014-12-02 22:23:40 -05:00
Jeremy Wright
e6b9715b9e Separated CadQuery out of libs.zip and fixed an import order error between PyQode and PySide. 2014-12-02 22:01:40 -05:00
Jeremy Wright
8fc9a3b397 Got autocomplete mostly working on both Linux and Windows. 2014-12-02 15:29:36 -05:00
Jeremy Wright
a8eb25d936 Added the Freecad lib path for Windows-based FreeCAD installs to get autocomplete working except for the CQ-related completion. 2014-12-02 10:15:03 -05:00
Jeremy Wright
943845df91 Automatically open an introductory example when the user choses the CadQuery workbench. 2014-12-01 22:30:44 -05:00
Jeremy Wright
e996ebb7d7 Turning logging back off. 2014-12-01 16:52:27 -05:00
Jeremy Wright
010377c5cd Embedded packages that have to be embedded for the module to work in Windows. 2014-12-01 14:34:07 -05:00
Jeremy Wright
f47788f6e7 Went back to a Linux logging path. 2014-11-28 17:35:11 -05:00
Jeremy Wright
d4817bcbf3 Turned logging back off. 2014-11-28 17:25:28 -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
5cb1623711 Trying to get embedded libraries to work. 2014-11-26 07:59:30 -05:00