mirror of
https://github.com/Denvi/FlatCAM.git
synced 2026-03-19 14:47:13 +01:00
ae2e22768252f5347250fb255777bf10b70b07e2
Added support for saving and restoring main window geometry. Saving is done in a somewhat contrieved manner. In order to avoid exposing App.defaults (or App) to the UI class, a geomUpdate signal was added to to the FlatCAMGUI class. The signal is emitted whenever FlatCAMGUI thinks its geometry should be saved (which, so far, seems to be only in closeEvent()). FlatCAMApp has a slot for this signal, which updates the defaults dictionary. Restoring is done by explicitly applying the loaded geometry to the UI. The UI is initialized (i.e. FlatCAMGUI's __init__ is called) very early in the initialization sequence, before the defaults are loaded, so at that time the persisted geometry is not known to the program. As soon as it is known (i.e. after load_defaults() is completed), we apply it. Signed-off-by: Alexandru Lazar <alex@zencoding.org>
Moved object name collision detection from new_object() to ObjectCollection.append(). Solves issue #107.
Solves exception when hitting a key a no tool being active in FlatCAMDraw. Was also preventing scrolling. Solve #93.
FlatCAM: 2D Computer-Aided PCB Manufacturing
(c) 2014-2015 Juan Pablo Caram
FlatCAM is a program for preparing CNC jobs for making PCBs on a CNC router. Among other things, it can take a Gerber file generated by your favorite PCB CAD program, and create G-Code for Isolation routing.
Languages
Python
89.7%
JavaScript
5.4%
HTML
1.9%
CSS
1.6%
Makefile
0.7%
Other
0.7%