Commit Graph

266 Commits

Author SHA1 Message Date
Juan Pablo Caram b54982694e Full test from opening Gerber to exporting GCode using GUI. 2015-10-31 19:01:01 -04:00
Juan Pablo Caram 5e4016a2f9 App.log changed to self.log. Caused reference error in unit tests. 2015-10-31 18:59:58 -04:00
Juan Pablo Caram b52863a6af Added comments. 2015-10-31 18:58:46 -04: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
Juan Pablo Caram fb98d6306b Option to override user's defaults. Needed for unit testing. 2015-10-28 11:21:27 -04:00
Juan Pablo Caram 95f51b2870 Cleaned out the tests folder. Added simple test gerber. Added simple unit test using the GUI. 2015-10-27 21:27:27 -04:00
jpcgt 45c7f8efab Merged in tomduffin/flatcam (pull request #18)
Fixes #135
2015-10-26 09:47:11 -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 ed20a3d208 Fixes #161. outname parameter was missing from docs for isolate. 2015-10-23 19:37:08 -04:00
Juan Pablo Caram 16a9f8bd37 Fixes #162 2015-10-23 19:30:26 -04:00
Juan Pablo Caram 33146af784 Specify distance from axis instead of box in mirror shell command. 2015-10-23 18:10:24 -04:00
Juan Pablo Caram eeedb19dc3 Fixes #165. 2015-10-23 17:08:40 -04:00
Juan Pablo Caram 253167f6d5 Fixes #118. 2015-10-23 16:55:13 -04: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 9c5b197154 Merge remote-tracking branch 'origin/master' 2015-10-19 10:50:27 -04:00
Juan Pablo Caram f9f7808f17 Added diagnostics script. 2015-10-19 10:49:52 -04:00
Juan Pablo Caram 7d03574307 Added Win-32 build script. 2015-10-18 19:40:48 -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 a9ddcbbe5c Added "exteriors" shell command. 2015-10-04 21:10:42 -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 a2ac2b12be Support for milling holes from the shell, command "millholes". 2015-10-03 20:03:53 -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
Juan Pablo Caram 9724f30551 Wait for object availability by subscribing to signal. Fixes #145. 2015-10-02 14:51:54 -04:00
Juan Pablo Caram d8c5d46cd0 Workaround for #152. Check for empty polygons before adding. 2015-09-28 21:25:31 -04:00
Juan Pablo Caram 5e45699c35 Fixes #120. 2015-09-11 15:19:28 -04:00
Juan Pablo Caram 22119072d3 Cleanup. And fixes #148. 2015-09-11 14:45:08 -04:00
jpcgt 71aca80603 Merged in Xenosb/flatcam (pull request #15)
Fix for KeyError on spindlespeed
2015-09-09 17:36:53 -04:00
Xenosb 48717e9348 Fix for KeyError on spindlespeed 2015-09-09 19:50:29 +02:00
Juan Pablo Caram e3345560ec More circular import fixes. 2015-09-06 16:17:31 -04:00
Juan Pablo Caram c76deaf144 Fixed #147. Had a circular dependency import. 2015-09-06 14:57:15 -04:00
Juan Pablo Caram 9e854f802e Buffer selected geometry in Drawing tool. Fixes #133. 2015-09-05 19:02:01 -04:00
Juan Pablo Caram f503dabc7e Spindle speed for G-code from geometry and excellon. Solves #124. 2015-09-05 17:41:00 -04:00
Juan Pablo Caram 40e8445f2d Added Prepend to G-Code to default settings. This solves #115. 2015-08-31 10:19:46 -04:00
Juan Pablo Caram 0077aaea14 Started solution to #145. 2015-08-30 18:22:54 -04:00
Juan Pablo Caram 6fa0e91875 Fixed #139, Polygon aperture twice as large. 2015-08-29 22:30:58 -04:00
jpcgt 6cf552021a Merged in joernsn/flatcam/spindlespeed (pull request #13)
Added parameter "Spindle speed" to cnc jobs
2015-07-18 14:24:37 -04:00
Jørn Sandvik Nilsson 98e0e80b40 Conflict resovle 2015-07-18 20:22:14 +02:00
jpcgt 9a1e55e83f Merged in joernsn/flatcam/toolchange-shell-parameter (pull request #14)
Added 'toolchange' as an optional parameter to shell command 'drillcncjob'
2015-07-18 12:01:03 -04:00
Jørn Sandvik Nilsson c36af7b348 Added help text for the new parameters 2015-07-17 10:32:54 +02:00
Jørn Sandvik Nilsson 7976c7a68a Added missing help text for the new parameter 2015-07-17 10:25:13 +02:00
Jørn Sandvik Nilsson c91ec6f511 Added 'toolchange' as an optional parameter to shell command 'drillcncjob', '-toolchange 1' toggles the option. 2015-07-17 10:16:27 +02:00
Jørn Sandvik Nilsson 44f5da3326 Added parameter "spindlespeed" to cncjob and drillcncjob. Will generate gcode "M03 S4000" (4000 rpm), or "M03" if omitted. 2015-07-17 09:49:24 +02:00
jpcgt 7a7e160de5 Merged in chris_hemingway/flatcam/pip_requirements_txt (pull request #12)
Add requirements.txt for pip
2015-06-30 16:28:22 -04:00
Chris Hemingway 7b3647aa97 Add comments to requirements.txt 2015-06-30 20:40:06 +01:00
jpcgt 8fb7469d32 Merged in phdussud/flatcam (pull request #11)
Fix for issue 144
2015-06-30 09:52:01 -04:00