173 Commits

Author SHA1 Message Date
HDR
8fcf17e94c Added annotations for cnc jobs 2016-07-20 12:21:30 +06:00
HDR
b546eba806 FlatCAMObj has 'drawing_tolerance' (units-aware) property now 2016-07-20 09:09:57 +06:00
Denvi
e929387eba Number of processes reduced 2016-07-17 21:57:44 +05:00
Denvi
d1cb6dca1f Object deletion during plot works properly now 2016-07-16 18:06:17 +05:00
Denvi
d0ba57589f Menu "File" fix 2016-07-15 18:16:27 +05:00
HDR
68986cd909 Cleanup 2016-07-15 14:00:33 +06:00
HDR
d0f3276962 Cleanup 2016-07-15 13:22:59 +06:00
HDR
205967fdc5 Objects fits in window on project loading 2016-07-15 11:13:51 +06:00
HDR
529c84061c CNC job shows rapids now 2016-07-15 09:31:54 +06:00
HDR
86f746bf7a Shape groups added 2016-07-14 12:36:09 +06:00
HDR
c5eb35d86a Objects plotted only once on project open now. 2016-07-12 16:06:55 +06:00
HDR
0378d17729 Geometry, Excellon objects translated to VisPy 2016-07-12 11:19:54 +06: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
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
d28858ff38 Fast vertical movement above board. Fixes #141. 2016-04-10 16:43:03 -04:00
Kamil Sopko
4c20040fbe fix errors in tool selection 2016-04-09 12:48:32 +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
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
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
a827e184b7 rename del_polygon to subtract_polygon
correctly  modify current  geometry and  dont leave it as path
fix shellcommands  to follow  new names
tweak  geocutout to be able cut 8  gaps
2016-02-23 00:23:27 +01:00
Kamil Sopko
cf51e4ce2c implement del_polygon from geometry 2016-02-20 10:56:32 +01:00
Marius Stanciu
71a81173bd camlib.py edited online with Bitbucket; removed the paranthesis around lambda function as it was making an tuple which it was not the intention. 2016-02-16 21:59:54 +00:00
Marius Stanciu
1be364d065 Issue #188: Adopted the solution suggested by JP to not use the operator module when performing the sorting on exobj,tools and use instead the lambda function. 2016-02-16 23:25:58 +02:00
Marius Stanciu
1a7e001a66 Added spaces after '#' in the comments 2016-02-16 22:53:01 +02:00
Marius Stanciu
cfa078a1e5 camlib.py (edited a comment) edited online with Bitbucket 2016-02-15 22:35:22 +00:00
Marius Stanciu
a35a422bcc This is a implementation of the the sorting of the tools found in Excellon file done in Python language and independent of the UI. There is no need to revert the previous solution as that one will make the sorting visible in GUI. 2016-02-15 23:40:08 +02:00
Marius Stanciu
a7b29065df Solved issue #188: Order of the drill bits in Gcode generation from Excellon file
The tools are ordered by diameter as I found that the tools order in the Excellon file is not always diameter based. There is also a plated / no-plated holes criteria.
The tools in the GUI tool-list are selected all by default.
If the user wants to select only some tools, he should be carefull when selecting the tools as the order of the selection will be the actual order of the tools in G-code.
2016-02-14 07:40:32 +02:00
Juan Pablo Caram
7fd026c254 Fix to Gerber parser, corrects line splitting. Fixes #183. 2015-12-30 10:26:19 -05:00
Juan Pablo Caram
3940408da5 Added non-compliant support for "-" in ApertureMacro names. Temporary fix for #185. 2015-12-29 17:35:43 -05:00
Juan Pablo Caram
ea27748697 Use Decimal for depth calculation. Fixes #130. 2015-12-29 16:34:13 -05:00
Juan Pablo Caram
67ef16e776 SVG: Accept but ignore units in length. 2015-12-20 20:51:33 -05:00
Juan Pablo Caram
d3ed12e5de Added SVG importing support to the GUI menu. See issue #179. 2015-12-18 16:43:47 -05:00
Juan Pablo Caram
fdf809774f Basic support for importing SVG. Via shell only at this time. See issue #179. 2015-12-18 12:49:52 -05:00
Juan Pablo Caram
89f3d6e3e3 Added line number information to status bar message on parse error. 2015-11-30 12:36:03 -05:00
Juan Pablo Caram
05e89b0ec3 Last pass in multi-pass cuts limited to specified z_cut. 2015-11-04 17:27:57 -05:00
Juan Pablo Caram
051b82009d Multiple depth cut functional. 2015-11-01 18:06:20 -05:00
Juan Pablo Caram
616237ea93 Replace exact last point of arc. Fixes #110. 2015-10-31 18:55:32 -04:00
Juan Pablo Caram
8f5cc7a02d Option to override user's defaults. Needed for unit testing. 2015-10-28 12:00:56 -04:00
Thomas Duffin
2c9a307483 Fixes #135
The polygon passed to clear_polygon() is generated using shapely’s buffer() function on line FlatCAMObj.py:1095.

When the margin given to the buffer() function is small, a single Polygon object is returned. If the margin is large enough it causes the polygon to be broken into pieces and a Multipolygon is returned instead. A visualisation of this can be seen in the shapely manual in the object.buffer() section.

The first thing clear_polygon() does is buffer the polygon again to take the tool diameter into account and the Polygon/Multipolygon generated by this is handled further down the function. The buffer() function used to take the tool diameter into account can be called happily on both Polygon and Multipolygon objects so there is no reason to block Multipolygons being passed to clear_polygon().

Therefore simply adding Multipolygon to the acceptable types in the assert statement on line camlib.py:382 fixes this bug and causes no further issues.
2015-10-25 23:14:11 +00:00
Juan Pablo Caram
d22b47f4af Log level back to debug after release. 2015-10-20 20:47:45 -04:00
Juan Pablo Caram
a679883adf RTree now using shapely object's id() instead of __hash__. Fixes 1#163. 2015-10-20 19:53:39 -04:00
Juan Pablo Caram
982ab16f28 Release version 8.4 2015-10-18 19:24:04 -04:00
Juan Pablo Caram
ee684e8101 Further work on multi-pass cuts. 2015-10-11 20:58:21 -04:00
Juan Pablo Caram
d687fb5287 Started multi-pass cuts. 2015-10-04 21:45:19 -04:00
Juan Pablo Caram
b5f428deea Added "interiors" shell command. 2015-10-04 21:25:00 -04:00
Juan Pablo Caram
4110940d49 Minor fix to "millholes" shell docs. Added get_exterior() method to Geometry. 2015-10-04 20:48:06 -04:00
Juan Pablo Caram
1942fe3bed Create polygon for path drawn so far when D03 is encountered. Fixes #150. 2015-10-02 19:09:44 -04:00