Commit Graph

527 Commits

Author SHA1 Message Date
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
41dffe44d4 Merge https://bitbucket.org/marius_stanciu/flatcam_mpl/src/master into Port_to_Python3k 2018-05-30 17:54:34 +03:00
Marius Stanciu
560e882da0 - made sure FlatCAM use python3 in Linux (JP's find)
- cgi module is deprecated in Python3, using the recommended module html
as replacement
2018-05-30 15:54:14 +03:00
Marius Stanciu
205d878052 Merged table_tool_new_column into master 2018-05-30 03:02:19 +03:00
Marius Stanciu
7ec6914422 Merged Improve_panelize_Tcl_command into master 2018-05-30 03:00:42 +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
Marius Stanciu
da9f890c39 Merged master into Port_to_Python3k 2018-05-29 17:43:33 +03:00
Marius Stanciu
214f4491ae Merged TCL_edit_focus into master 2018-05-29 17:40:32 +03:00
Marius Stanciu
1621299532 Merged allow_lowercase_units_in_set_sys_command into master 2018-05-29 17:39:55 +03:00
Marius Stanciu
b85c490256 - Tcl shell is no longer loosing focus after entering a command
(borrowed from @brainstorm)
2018-05-29 03:46:33 +03:00
Marius Stanciu
4c0884e16d - when using .keys method (in Python3 is no longer atomic operation) to
make it more resilient to multithreading I've added the more costing
operation of copy().
2018-05-29 03:42:35 +03:00
Marius Stanciu
ef611753a6 - added the posibility to create an object without plotting it. Also if
the project is created with plot=False then it will not be checked in
Project tab
- improved the panelize command by toggling OFF the plot for the
temporary objects. There is no need to plot the temporary objects, only
the panel is of interest
- add a few aliases for the Panelize command ('pan' and 'panel')
2018-05-28 15:46:42 +03:00
Marius Stanciu
5c6b68d7cb - forgot to make the changes to sorted_tools in generate_milling method
from FlatCAMObj.py
2018-05-28 13:55:20 +03:00
Marius Stanciu
3fae21622a - allow the usage of lowercase units names (like mm or in) when used in
the Tcl command set_sys
2018-05-27 14:03:19 +03:00
Marius Stanciu
bc4411d566 - added a new column in the TableTool where I show the number of drill
holes for each tool.
2018-05-27 12:07:57 +03:00
Marius Stanciu
eb0637c5bb - minor PEP changes 2018-05-26 19:10:07 +03: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
MARCO A QUEZADA
bb3b07455c Merged in codeZonkey/flatcam/plotToggle (pull request #77)
PlotToggle - From the Project tab
2018-05-19 01:56:36 +00:00
MARCO A QUEZADA
a7cb9e7801 Merged in codeZonkey/flatcam (pull request #78)
Fix issue #248 where set_sys command returned failure feedback even on command success.
2018-05-19 01:55:37 +00:00
mquezada
cd28ff9fdd Fix issue #248 where set_sys command returned failure feedback even on command success. 2018-05-17 18:28:58 -04:00
mquezada
9564ab7334 Part 3, removed tab_change handler. 2018-05-04 19:43:29 -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
dwrobel
a9a4ec75db Merged in dwrobel/flatcam/setuptools-support (pull request #71)
add python setuptools support
2017-07-01 19:58:40 +00: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
jpcgt
58f66ca866 Cleanup. 2017-05-19 23:22:32 +00:00
Lubos Medovarsky
951e3dd5dd Merged in bitsmith/flatcam (pull request #56)
update ubuntu installer
2017-05-19 23:19:19 +00:00
Juan Pablo Caram
62f0662083 Support to mill all holes from the command line. Fixes #218. 2017-05-05 16:20:14 -04:00
Matthieu Berthomé
626176a9a4 Merged in matthieu_berthome/flatcam/issue_233 (pull request #66)
convert values given by save file dialog to unicode
2017-03-27 13:24:52 +00:00
Matthieu Berthomé
231a37274c convert values given by save file dialog to unicode 2017-03-24 14:29:30 +01:00
Mike Evans
a182441d79 Merged in saxicola/flatcam/Issue#227 (pull request #62)
Fix for Issue #227.

Approved-by: jpcgt
2017-03-12 20:44:17 +00:00
Mike Evans
c3ed6b43f2 Also fix broken add_circle command. 2017-02-07 23:13:05 +00:00
Mike Evans
b809192468 Fix for Issue 227. 2017-02-04 16:44:41 +00:00
Juan Pablo Caram
db59ef8edd Merge remote-tracking branch 'origin/master' 2017-01-27 19:52:59 -05:00
Juan Pablo Caram
93e2d953a4 Added preamble and postamble to write_gcode tcl command. 2017-01-27 19:52:23 -05:00
jpcgt
1d50f6fdab Merged in thrusty/flatcam/panelization_fix (pull request #58)
Add panel instances to panelization list properly
2017-01-19 18:00:50 +00:00
tstellanova
37cd1cb1c9 Add panel instances to panel list properly
See issue 226: https://bitbucket.org/jpcgt/flatcam/issues/226/problem-panelizing-excellon
2016-12-31 09:54:41 -08:00
Juan Pablo Caram
936eb63ba1 Merge remote-tracking branch 'origin/master' 2016-12-16 22:38:41 -05:00
Juan Pablo Caram
7e0a9f91ee Incorrect alias of save_project. Fixes #223. 2016-12-16 22:38:09 -05:00
Lubos Medovarsky
748d1bd7f1 update ubuntu installer
fail on first error
avoid multiple invocations of apt-get
2016-11-25 09:54:27 +01:00
jpcgt
9b2227847c Merged in barnabywalters/flatcam/barnabywalters/added-svgpath-to-requirementstxt-its-re-1477430226849 (pull request #55)
Added svg.path to requirements.txt
2016-11-15 15:41:00 +00:00
Juan Pablo Caram
546d2aacf0 Fixes in millcncjob command and progress towards #218. 2016-11-01 00:53:47 -04:00
Juan Pablo Caram
fb6e1135e9 Added comments. 2016-11-01 00:34:46 -04:00
Juan Pablo Caram
f6d9901365 Added "connect" option for painting polygons. 2016-10-27 17:34:41 -04:00
Juan Pablo Caram
0b26a90175 Support for parallel-line painting. 2016-10-27 16:57:36 -04:00
jpcgt
deed138867 Merged in realthunder/flatcam/mirror_fix (pull request #46)
Fixed mirroring list of geometries
2016-10-27 19:48:02 +00:00
Barnaby Walters
c99a0ece9a Added svg.path to requirements.txt
It’s required for FlatCAM to work, and already made its way into the Ubuntu setup script. Added it here too so that people installing using the requirements file also get everything they need.
2016-10-25 21:17:09 +00:00