Commit Graph

690 Commits

Author SHA1 Message Date
Kamil Sopko 2082446ab0 tweak signal handling 2016-03-25 00:59:02 +01:00
Kamil Sopko cac2f74be2 fix pydevd_failed typo and it was not reset to True 2016-03-24 23:23:27 +01:00
Kamil Sopko e96ee1af29 merge new pull requests from FlatCAM->master
implement  executing of tasks  inside worker thread
cleanups, reimplement  Isolate/New/OpenGerber as OOP style Shell commands
disable edit  during shell execution,  show   some  progress
add ability for breakpoints in other threads and only if available
add X11 safe flag, not sure what happen on windows
2016-03-24 23:06:44 +01:00
Juan Pablo Caram a520729444 Complete implementation of blocking mechanism waiting for signal. See #196. 2016-03-24 16:06:44 -04:00
Juan Pablo Caram b0575a1c34 Tidying up imports. 2016-03-24 15:44:22 -04:00
Kamil Sopko 39b849119e Merged jpcgt/flatcam into master 2016-03-24 15:05:03 +01:00
Juan Pablo Caram d010fa27cf Merge remote-tracking branch 'origin/master' 2016-03-23 14:59:24 -04:00
Juan Pablo Caram 95676f21e2 Blocking in shell functions. Correctly report exceptions in threads. See #196. 2016-03-23 14:58:53 -04:00
jpcgt ed7b352c6a Merged in grbd/flatcam (pull request #35)
Added initial svg export functionality
2016-03-23 12:02:24 -04:00
Juan Pablo Caram 790f53dd55 Blocking in shell functions. Test for exception handling. See #196. 2016-03-23 11:06:48 -04:00
grbd 039a2dd4dc Made scale_factor optional for cli, added more comments, removed redundant code 2016-03-22 23:22:02 +00:00
grbd ee43d8b920 Additional fixes for export size and flattening the geometry list 2016-03-22 18:56:04 +00:00
grbd a2a1a08e3d This adds a bunch of fixes when exporting svg's from geom's or cncjobs generated from drill files, also adds support for exporting drill files directly as svg's, and should capture any objects that use list within the solid_geometry attribute 2016-03-22 09:54:57 +00:00
grbd 10e9fa74c3 Added some additional checks for the types when exporting, and additional comments 2016-03-22 02:25:07 +00:00
grbd 532a821c76 Fixed the colors with svg exports from cnc jobs for Visicut 2016-03-21 21:46:29 +00:00
grbd 17b4edb94b Fixed the scaling issues with the svg export 2016-03-21 19:34:33 +00:00
grbd b272329384 Initial scaling fixes for svg export 2016-03-21 17:25:46 +00:00
grbd a5ff8c574a Added initial svg export functionality 2016-03-21 11:38:14 +00:00
Kamil Sopko 980638630d cleanups
implement TclCommand.TclCommandSignaled as proof of concept (not usefull)
bypass using threads  within obj.generatecncjob(use_thread = False, **args)
reimplement some more shell commands  to  OOP style
2016-03-19 15:13:07 +01:00
Kamil Sopko 0f463a1fc2 Merged master into tcl-errors 2016-03-18 11:16:47 +01:00
Kamil Sopko ec60f9ecf3 Merged jpcgt/flatcam into master 2016-03-18 11:15:49 +01:00
Juan Pablo Caram 7b29c52951 Merge branch 'master' of https://bitbucket.org/jpcgt/flatcam 2016-03-17 17:35:13 -04:00
Juan Pablo Caram a6f150a01d Blocking in shell functions. See #196. 2016-03-17 17:33:34 -04:00
Kamil Sopko 78854f7fe0 fix ordering in naming arguments and help
add commands TclCommandAddPolygon(add_poly, add_polygon) and TclCommandAddPolyline(add_polyline)

implement add_polyline in camlib.py
2016-03-17 12:14:12 +01:00
Kamil Sopko 2e51c1e9cd hide showing 'None' if command end sucessfully 2016-03-17 10:54:01 +01:00
Kamil Sopko cd6700152c draft for reimplementation of tcl commands to separated files/modules 2016-03-16 18:57:43 +01:00
Kamil Sopko 4df46df19b remove line
fix  crazzy selfness ;)...
2016-03-11 20:32:48 +01:00
Kamil Sopko fd1c8afef9 implement basic set of tests for tcl_shell, need to be completed 2016-03-11 01:50:12 +01:00
Kamil Sopko e2eb5f293a Merged jpcgt/flatcam/master into tcl-errors 2016-03-10 22:23:01 +01:00
Kamil Sopko c03dbb5122 Merged jpcgt/flatcam into master 2016-03-10 22:21:58 +01:00
jpcgt cfabb3856e Merged in sopak/flatcam/fix-test-flow (pull request #33)
fix gcode verification in tests
2016-03-10 15:47:46 -05:00
Kamil Sopko f645dba041 update formating 2016-03-10 21:45:47 +01:00
Kamil Sopko 3bb2cfbc22 fix gcode verification in tests 2016-03-10 19:01:07 +01:00
Kamil Sopko e11d1f2329 Merged jpcgt/flatcam/master into consolidate 2016-03-10 18:55:43 +01:00
Kamil Sopko a038d4a79e Merged jpcgt/flatcam into master 2016-03-10 18:55:25 +01:00
Kamil Sopko 6b527fa256 example howto handle Exceptions in shell 2016-03-10 16:01:50 +01:00
jpcgt 9dc1b48d45 Merged in sopak/flatcam/tcl-errors (pull request #32)
set rules for  TCL shell commands
2016-03-10 09:40:42 -05:00
Kamil Sopko 4f2f989bdf set rules for TCL shell commands
implement TCL shell rules for:
drillcncjob,
millholes(renamed from drillcncjobgeometry),
exteriors,
interiors,
isolate
2016-03-07 11:05:42 +01:00
Kamil Sopko 8855a3ffdb Merged consolidate into tcl-errors 2016-03-07 10:00:34 +01:00
Kamil Sopko 5bd10f7489 Merged master into consolidate 2016-03-07 09:59:41 +01:00
Kamil Sopko e0a55b7ef0 Merged jpcgt/flatcam into master 2016-03-07 09:59:22 +01:00
jpcgt 0f438db833 Several PEP8 cleanups in shell commands. 2016-03-03 14:51:36 +00:00
jpcgt a59ca94c0b Merged in sopak/flatcam/tcl-errors (pull request #31)
More detailed TCL error and TCL error handling.
2016-03-03 09:35:25 -05:00
Kamil Sopko e3c43f6de1 remove Empty line 2016-03-02 00:49:51 +01:00
Kamil Sopko b4abef8317 remove Empty line 2016-03-02 00:46:23 +01:00
Kamil Sopko a8159dee16 "return -code error XXX" display error in better way 2016-03-02 00:45:49 +01:00
Kamil Sopko 3fd9b361b8 implement raiseTclError and as example use it in drillcncjob 2016-03-02 00:41:54 +01:00
Kamil Sopko 2cc3d811c5 remove duplicity when print error 2016-03-01 18:22:57 +01:00
Kamil Sopko fd869ad88c remove raise, it does not kill app, but raise is unnecessary here 2016-03-01 18:15:38 +01:00
Kamil Sopko 3878ddb782 display more precise answer if something in TCL shell fail 2016-02-29 22:22:23 +01:00