Commit Graph

298 Commits

Author SHA1 Message Date
Denvi
f2b4ba0dec TreeItem obj pointer cleared now on remove. 2015-12-07 18:38:33 +05:00
Denvi
9705106855 Paint area adjust on next tool dia added. 2015-12-06 16:33:06 +05:00
Denvi
1c0e5fc177 Multi-tool mug fix. 2015-12-06 16:02:57 +05:00
Denvi
e2ceeafa0a Paint geometries added. 2015-12-06 15:38:55 +05:00
Denvi
3213476797 Work on "Clear non-copper" feature. 2015-12-06 14:51:09 +05:00
Denvi
054c46b49c Project item name updates from "Selected" tab properly now. 2015-12-06 10:02:33 +05:00
Denvi
9f5ac7f8ee Project items names editing by click on selected item in tree view added. 2015-12-06 00:07:10 +05:00
Denvi
955d5da8c1 Project items sorted by groups now. 2015-12-05 22:50:53 +05:00
Denvi
ae9b680271 Work on tree view of project files. 2015-12-05 17:21:36 +05:00
Denvi
565dd411c2 Merge remote-tracking branch 'jpcgt/master' into develop 2015-12-05 10:50:30 +05:00
Denvi
a556f287ce Code cleanup. 2015-12-04 23:27:15 +05:00
Denvi
9e4402268f Tabs width adjust on app start added. 2015-12-04 21:20:12 +05:00
Denvi
297a74a660 Work on pan view. 2015-12-03 23:58:23 +05:00
Denvi
a38e440f90 Comments fixed. 2015-12-02 19:53:14 +05:00
Denvi
066a0870aa Cleanup 2015-12-02 19:50:21 +05:00
Denvi
dc84412d48 Cleanup 2015-12-02 19:41:15 +05:00
Juan Pablo Caram
1efed851e9 Fixes #178. Use list instead of tuple of points. 2015-12-02 09:36:58 -05:00
Denvi
11bb4d1e4c Project tab width restored to previous value. 2015-12-02 19:32:35 +05:00
Denis Hayrullin
45c698f231 Merged jpcgt/flatcam into master 2015-12-02 19:28:13 +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
Denvi
bd5a3ac5b0 Background storing on resize fix.
Only first added object & opened file cause auto zoom now.
2015-11-28 16:46:26 +05:00
Denvi
94a70c1b0f Work on performance. 2015-11-28 15:49:34 +05:00
Denvi
5b7c9de8b3 View pan with MMB added.
Adding "geometry" & "cncjob" object doesn't cause auto zoom.
2015-11-28 13:27:29 +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