Commit Graph

32 Commits

Author SHA1 Message Date
Marius Stanciu e48d2d2f49 -clean-up before merge 2019-01-03 21:25:08 +02:00
Marius Stanciu 421e9766ea -clean-up before merge 2019-01-03 21:20:54 +02:00
Marius Stanciu d50bac4d71 - hopefully this will solve the conflict 2018-05-31 01:08:52 +03:00
Marius Stanciu a6a26de0d3 Merge https://bitbucket.org/jpcgt/flatcam/src/master into Port_to_Python3k
# Conflicts:
#	ObjectCollection.py
2018-05-30 20:38:43 +03:00
Marius Stanciu 4cf06b71e8 - for whatever reason, using directly the name of the object in a
QtGui.QStadardItem is creating issues in the tests. Converting it to a
string solve this. After solving the conflict in the pull request this
modification was lost so I am doing it again.
- the FlatCAMObj.FlatCAMGerber.isolate() method is having the line
app.obj.info() which randomly create issues due of using QPixMaps outside
of the GUI thread.
2018-05-30 18:39:04 +03:00
Marius Stanciu 3298da6dc5 - solve the conflicted files (hopefully) without CLI commands 2018-05-30 18:02:44 +03:00
Marius Stanciu 3b9767cc6f - I've finally run the tests with OK result (56 tests in 102.937 sec)
- I had to play with module imports as they created a lot of error in
the tests although in reality the program worked OK.
- I've fixed some mistakes in TcL commands (they were testing isinstance
against the like of Geometry instead of FlatCAMGeometry)
- I've had to add some fixes in ObjectCollections.py (error on
create_index() method but Marco already fixed this in the checkbox
in project tab pull request and knew about this.
- Although at some point the tests run fine, I've made some checkings
on my own over the Tcl commands and discovered errors which I fixed as
mentioned above.
- conclusion is that tests are just a must and do not cover everything
(like saving projects which at some point by juggling with imports I
braked and tests were 100% OK)
2018-05-30 02:17:34 +03:00
mquezada fca9f0ca88 Double clicking on the object label in the Project list view should select the object and take user to Selected tab. 2018-05-26 19:43:01 -04:00
Marius Stanciu a4bbb98bf1 - converted from Python2 code to Python3 code
- in camlib.py, CNCJob class -> generate_from_excellon_by_tool() was
failing in the line to sort the tools due of been unable to compare
between dict's. I replaced that section.
2018-05-26 04:43:40 +03:00
mquezada 8aaeee23fd Fix model reference for test. 2018-05-16 16:05:23 -04:00
mquezada 1fae35e3f2 Incorporating comments and functionality frpm JP. Removed need to use tab_change signal, removed inheritance dependency on QAbstractItemModel, implemented option_changed property. part 2. 2018-05-04 19:41:38 -04:00
mquezada e971372d7c Incorporating comments and functionality frpm JP. Removed need to use tab_change signal, removed inheritance dependency on QAbstractItemModel, implemented option_changed property. 2018-05-04 19:41:20 -04:00
mquezada 8e4f081ac3 Synchronize the state of the plot checkboxes to the state of the settings. 2018-04-20 13:30:38 -04:00
mquezada ec4263e32b Can control plot toggle from project tab. Need to drive project tab state from changes in Selected tab. 2018-04-19 01:19:31 -04:00
Damian Wrobel cbad99e340 add python setuptools support
- add setup.py script,
 - switch to use images via "share:" resource name
   (this allows to work both versions of application:
     - system wide installation,
     - directly from source),
 - add .desktop file,
 - rename FlatCAM.py to flatcam and install it as an
   executable script.
2017-06-06 22:06:33 +02:00
Juan Pablo Caram 9f4ee91b0e Comments at top of files. Also fixes #214. 2016-09-22 10:17:51 -04:00
Zheng, Lei c5f4b9474a Toggle plot by pressing SPACE key in project panel 2016-06-11 06:14:08 +08:00
Kamil Sopko a3ccbac362 add set_all_inactive and set_inactive, to be able deselect objects
mainly to avoid accidental  delete
2016-02-23 12:00:30 +01: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 0077aaea14 Started solution to #145. 2015-08-30 18:22:54 -04:00
jpcaram 5ab7e04c2e Moved object name collision detection from new_object() to ObjectCollection.append(). Solves issue #107. 2015-02-13 15:04:57 -05:00
jpcaram 2a21c426e3 Fixes replot problem after delete with key. 2015-01-14 20:35:49 -05:00
jpcaram 9c5b6a8799 Cleanup. 2015-01-01 23:13:07 -05:00
jpcaram 8c082365d7 Added KeySensitiveListView for objects in project. Delete key deletes selected objects. 2015-01-01 22:27:55 -05:00
jpcaram 97a1e17b0d Fixed bug preventing from saving G-Code. 2014-12-19 13:40:14 -05:00
Juan Pablo Caram 5659c3e7bd Fixed Gerber parser: Now buffers current path with previous tool on tool change. 2014-11-13 15:06:43 -05:00
Juan Pablo Caram 73aa0c38a0 Basic geometry editor for goemetry objects started. 2014-10-28 17:39:38 -04:00
Juan Pablo Caram b2cc2f3fdb Major work on the command line tool. Version check on the new website. 2014-09-21 21:51:50 -04:00
Juan Pablo Caram 16734f5d1a Convertion to Qt. Major refactoring. 2014-06-13 15:21:11 -04:00
Juan Pablo Caram 74a1331a7a Typo fix in ObjectCollection.py 2014-05-05 10:15:57 -04:00
Juan Pablo Caram 582e472e12 Use of logging instead of print statements. 2014-05-02 22:10:04 -04:00
Juan Pablo Caram 0bdc3b19f0 Major modifications to data/gui interactions. In progress. 2014-04-25 01:24:03 -04:00