Commit Graph

3378 Commits

Author SHA1 Message Date
Denvi 8f6a455562 Pan view test. 2015-12-05 00:14:00 +05:00
Juan Pablo Caram 1efed851e9 Fixes #178. Use list instead of tuple of points. 2015-12-02 09:36:58 -05:00
Juan Pablo Caram c4347bea00 Fixes #177 2015-11-30 12:54:13 -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 3f6ba30f3e Better support for units in LengthEntry. 2015-11-04 18:52:56 -05:00
Juan Pablo Caram 60461d0724 Fixed messages on drawing completion with spacebar. 2015-11-04 18:17:45 -05:00
Juan Pablo Caram 83eb535479 Fixed missing first segment in path bug. Delete last point in sequence while drawing object with backspace. 2015-11-04 18:07:23 -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 af46cae5c7 Default value for depth/cut now positive. Added note to tooltip. 2015-11-01 18:11:17 -05:00
Juan Pablo Caram 24f5ee0d0d Made tests folder importable. Cleaned up tests. 2015-11-01 18:07:52 -05:00
Juan Pablo Caram 051b82009d Multiple depth cut functional. 2015-11-01 18:06:20 -05:00
Juan Pablo Caram d2de53b546 Ignore tests/tmp. 2015-10-31 19:01:56 -04:00
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