Commit Graph

450 Commits

Author SHA1 Message Date
Juan Pablo Caram
28bb476a5c Fixes #202 2016-06-11 21:55:53 -04:00
Juan Pablo Caram
f9cbd78cd1 Show messages and errors in TCL shell. Better exception handling and reporting when opening files. 2016-06-11 21:33:38 -04:00
Juan Pablo Caram
ba05f832c0 Merge remote-tracking branch 'origin/master' 2016-06-11 19:51:00 -04:00
Juan Pablo Caram
66901041d9 Fixed errors that I introduced in last commit. 2016-06-11 19:50:19 -04:00
jpcgt
cae7791adc Merged in realthunder/flatcam/json_pretty (pull request #42)
Added indent to json in save_project
2016-06-11 19:27:35 -04:00
Zheng, Lei
856d126546 Added indent to json in save_project
This is to make the saved project file more version control frendly
2016-06-09 15:55:17 +08:00
Juan Pablo Caram
ee8e9f8f4b Support for mirroring Geometry Objects from the shell. See #119. 2016-06-04 23:04:22 -04:00
Juan Pablo Caram
9f138bdcc2 Fixes #119. 2016-06-04 23:01:36 -04:00
Juan Pablo Caram
eb18b7fd3f Fixes #157. 2016-06-04 17:54:07 -04:00
Juan Pablo Caram
d1442a4900 Cleaned up G-code parser. Fixed dwell command. Fixes #184. 2016-06-04 16:45:52 -04:00
Juan Pablo Caram
6136afe84c Added dwell (G4) post processing option to gcode. 2016-06-03 22:19:47 -04:00
Juan Pablo Caram
36d0a2e029 Cleaned up tests for shell. Added test steps for gerber flow. 2016-06-03 17:15:35 -04:00
jpcgt
a3dbaff258 camlib.pyc deleted online with Bitbucket 2016-05-23 13:21:25 +00:00
jpcgt
18d5315573 cirkuix.pyc deleted online with Bitbucket 2016-05-23 13:21:10 +00:00
jpcgt
2e31d9aa48 Merged in sopak/flatcam/tcl-commands (pull request #41)
Tcl command tests
2016-05-23 09:15:15 -04:00
sopak
f9260daa17 remove forgotten aa debug prefix names 2016-04-25 00:40:14 +02:00
sopak
7d465f0814 implement tests for TCL commands 2016-04-25 00:36:58 +02:00
sopak
56ba233fd6 implement test_TclCommandExteriors
implement test_TclCommandInteriors
2016-04-24 22:44:28 +02:00
sopak
23dc2059f0 implement test_TclCommandIsolate 2016-04-24 22:05:07 +02:00
Kamil Sopko
acb70c0cc3 implement test for test_TclCommandOpenGerber 2016-04-24 21:24:56 +02:00
Kamil Sopko
05f88af917 separate tcl tests into smaller chunks
implement collection of tcl command tests
2016-04-24 01:24:54 +02:00
jpcgt
b5162b502f Merged in sopak/flatcam/tcl-commands (pull request #40)
Tcl commands - import_svg
2016-04-18 14:47:42 -04:00
Kamil Sopko
be76b464ad fix typo error and cleaning 2016-04-18 20:36:41 +02:00
Kamil Sopko
cd57af18bc add option type (new object will be gerber or geometry)
add tests for import_svg as gerber and geometry

fix  obj names in test_ import_svg
2016-04-12 21:35:04 +02:00
Kamil Sopko
5c80f2b6d3 implemenmt basic test for import_svg 2016-04-12 20:27:53 +02:00
Kamil Sopko
96419921e5 small fix if error happens inside thread execution, then pass correct error_info to display
command imort_svg was using self  instead self.app wrong object

Fix in svgparse for rotate regexp and division by zero problem.
Linestring  need at least 2 points  within very small arcs.
In svg  rect x and  y are optional , they are  0 by default.
Ignore transformation for  unknown kind.
Strip spaces  for  ptliststr In parse_svg_point_list to avoid parsing errors.
2016-04-12 19:44:56 +02:00
jpcgt
19dc0c0b9c Merged in sopak/flatcam/fix-excellon-tooldia (pull request #39)
fix for #201 exception when new project is created
2016-04-12 09:20:41 -04:00
Kamil Sopko
611d76e877 Merged in fix-excellon-tooldia (pull request #6)
fix  exception thrown when  new project is  issued  from shell(probbly  from guy too) because of excellon_tooldia introduced, but no default values and no in array dimensions on change units
2016-04-12 13:45:40 +02:00
Kamil Sopko
db15044706 fix exception thrown when new project is issued from shell(probbly from guy too) because of excellon_tooldia introduced,
but no default values and no in array dimensions on change units

defaults added for excellon_tooldia background_timeout and verbose_error_level in self.options.update({})
2016-04-12 13:09:41 +02:00
Kamil Sopko
dcd3c4c793 Merged jpcgt/flatcam into master 2016-04-12 12:56:56 +02:00
sopak
8a67a3cce1 reimplement command import_svg 2016-04-11 13:14:45 +02:00
Kamil Sopko
1bc3a0230c Merged jpcgt/flatcam/master into tcl-commands 2016-04-10 23:07:39 +02:00
Juan Pablo Caram
d28858ff38 Fast vertical movement above board. Fixes #141. 2016-04-10 16:43:03 -04:00
Juan Pablo Caram
3717169105 Default excellon milling tool dia. Fixes #160. 2016-04-10 16:23:04 -04:00
Juan Pablo Caram
7112ac5caf Recovered patch.py 2016-04-10 16:02:38 -04:00
Juan Pablo Caram
3f7e4a5966 Merge branch 'master' of https://bitbucket.org/jpcgt/flatcam 2016-04-10 15:48:40 -04:00
Juan Pablo Caram
bac9f29d08 Recovered patch.py 2016-04-10 15:48:25 -04:00
Juan Pablo Caram
a0bd34de45 Fixes #198 2016-04-10 15:44:17 -04:00
jpcgt
841a45e145 Merged in sopak/flatcam/tcl-commands (pull request #38)
Tcl commands error handling  fix
2016-04-10 14:33:05 -04:00
Kamil Sopko
e236a60be9 implement system values background_timeout and verbose_error_level
implement correct error level handling based on verbose_error_level ,  fix  double print of  tcl error and  do not wrap unknown  exceptions into TCL known
2016-04-10 15:14:18 +02:00
Kamil Sopko
26a8b7347b change default timeout
fix outname bug  in  drillcncjob
2016-04-10 11:10:25 +02:00
Kamil Sopko
fae9875dd8 remove unknown workaround 2016-04-10 11:09:26 +02:00
Kamil Sopko
4c20040fbe fix errors in tool selection 2016-04-09 12:48:32 +02:00
Kamil Sopko
5bd6432ead solve message in special tcl keywords used in wrong context as "unknown" 2016-04-06 11:20:53 +02:00
Kamil Sopko
c2cdaaf452 fix display also for nonsignaled exceptions in execute_wrapper 2016-04-03 14:37:40 +02:00
Kamil Sopko
b98954dccd fix error handling in signaled commands, error gets info about different scoup instead of true error
more detaild error  print including python trace when more complex unknown error

reinplement drillcncjob

fix camlib problem with all  drills("all"  was already there) but it crashes on tools without points, when  no tools "all" is as default

add timeout to all helps  if  command is  signaled
2016-04-03 14:20:50 +02:00
Kamil Sopko
a4845d150e add important comment 2016-04-03 10:43:06 +02:00
jpcgt
d730335fed Merged in sopak/flatcam/tcl-commands (pull request #37)
TCL commands redesign
2016-03-31 13:46:34 -04:00
Kamil Sopko
f4ef7baedb Merge branch 'merge-tcl-commands' of https://bitbucket.org/sopak/flatcam into tcl-commands
Conflicts:
	FlatCAMApp.py
	FlatCAMWorker.py
	termwidget.py
2016-03-31 18:03:48 +02:00
Kamil Sopko
e941e55a4a show ui.shell_dock instead of shell during tests 2016-03-31 17:29:11 +02:00