Marius Stanciu
ee3b38327e
- added new option in ToolSub: the ability to close (or not) the resulting paths when using tool on Geometry objects. Added also a new category in the Edit -> Preferences -> Tools, the Substractor Tool Options
2019-08-13 00:42:58 +03:00
Marius Stanciu
3bf5992023
- improved Mark Area Tool in Gerber Editor such that at each launch the previous markings are deleted
2019-08-12 23:34:56 +03:00
Marius Stanciu
04bc1ba013
- fixed bug in camlib.Gerber.parse_lines() Gerber parser where for Allegro Gerber files the Gerber units were incorrectly detected
2019-08-12 23:27:14 +03:00
Marius Stanciu
cac92f75f2
- improved the FlatCAMGerber.isolate() function to work for geometry in the form of list and also in case that the elements of the list are LinearRings (like when doing the Exterior Isolation)
...
- in NCC Tool made sure that at each run the old objects are deleted
2019-08-12 22:39:38 +03:00
Marius Stanciu
fd104eee55
- done regression to solve the bug with multiple passes cutting from the copper features (I should remember not to make mods here)
...
- if 'combine' is checked in Gerber isolation but there is only one pass, the resulting geometry will still be single geo
- the 'passes' entry was changed to a IntSpinner so it will allow passes to be entered only in range (1, 999) - it will not allow entry of 0 which may create some issues
2019-08-12 00:28:46 +03:00
Marius Stanciu
0e52ef6356
- optimizations in GeoEditor
...
- updated translations
2019-08-11 21:22:47 +03:00
Marius Stanciu
a4728e966e
- fixed issue where the annotations for all the CNCJob objects are toggled together whenever the ones for an single object are toggled
2019-08-11 03:15:04 +03:00
Marius Stanciu
9ef7b2668c
- made sure that the annotations are deleted when the object that contain them is deleted
2019-08-11 02:55:08 +03:00
Marius Stanciu
cf8a277825
- trying to fix reported bugs
2019-08-11 02:18:32 +03:00
Marius Stanciu
377a811810
- small changes regarding the Project Title
2019-08-10 21:32:22 +03:00
Marius Stanciu
5c8ffb1640
- RELEASE 8.93
2019-08-10 19:13:02 +03:00
Marius Stanciu
b123d4e202
- translation files updated for the new strings (Google Translate)
2019-08-10 18:50:21 +03:00
Marius Stanciu
4a7ff22c8e
- fixed issue in the latest feature in NCC Tool: now it works also with reference objects made out of LineStrings (tool 'Path' in Geometry Editor)
2019-08-10 15:12:59 +03:00
Marius Stanciu
eea66c0311
- added new feature in NCC Tool: now another object can be used as reference for the area extent to be cleared of copper
2019-08-10 14:59:29 +03:00
Marius Stanciu
89717642ed
- fixed bug that created a choppy geometry for CNCJob when working in INCH
...
- fixed bug that did not asked the user to save the preferences after importing a new set of preferences, after the user is trying to close the Preferences tab window
2019-08-10 11:46:23 +03:00
Marius Stanciu
40dc73ce93
- finished added 'Area' type of Paint in Paint Tool
2019-08-10 01:15:31 +03:00
Marius Stanciu
6f526acb4d
- added Exception handing for the case when the user is trying to save & overwrite a file already opened in another file
2019-08-09 22:39:13 +03:00
Marius Stanciu
7a6c0541be
- started to work on Paint Area in Paint Tool
2019-08-07 17:10:48 +03:00
Marius Stanciu
fd948cc2c8
- replaced setFixedWidth calls with setMinimumWidth
...
- recoded the camlib.Geometry.isolation_geometry() function
2019-08-07 15:05:33 +03:00
Marius Stanciu
258d3463e7
- replaced setFixedWidth calls with setMinimumWidth
2019-08-07 14:29:59 +03:00
Marius Stanciu
a87e596f56
- strings added and translations updated
2019-08-06 10:43:48 +03:00
Marius Stanciu
74460f9dcd
- some minor UI changes
2019-08-06 04:25:56 +03:00
Marius Stanciu
5a141ad115
- fixed issue in the isolation function, if the isolation can't be done there will be generated no Geometry object
2019-08-06 03:29:43 +03:00
Marius Stanciu
59b4defa0b
- fixed bug that crashed the app after creating a new geometry, if a new object is loaded and the new geometry is deleted and then trying to select the just loaded new object
...
- made some GUI elements in Edit -> Preferences to have a minimum width as opposed to the previous fixed one
2019-08-06 02:31:09 +03:00
Marius Stanciu
3d54932713
- when applying a new language if there are any changes in the current project, the app will offer to save the project before the reboot
2019-08-05 01:15:19 +03:00
Marius Stanciu
afdff59aff
- made sure that if using an negative Gerber isolation diameter, the resulting Geometry object will use a tool with positive diameter
...
- fixed bug that when isolating a Gerber file made out of a single polygon, an Recurrsion Exception was issued together with inability to create tbe isolation
2019-08-05 01:02:19 +03:00
Marius Stanciu
8a17575525
- merged a pull request with language changes for Russian translate
...
- updated the other translations
2019-08-03 23:32:00 +03:00
Marius Stanciu
93f9a2f052
- solved bug such that the app is not crashing when some apertures in the Gerber file have no geometry. More than that, now the apertures that have geometry elements are bolded as opposed to the ones without geometry for which the text is unbolded
2019-08-03 22:53:44 +03:00
Marius Stanciu
cd803266a6
- fulfilled request: When saving a CNC file, if the file name is changed in the OS window, the new name does appear in the “Selected” (in name) and “Project” tabs (in cnc_job)
2019-08-03 03:48:20 +03:00
Marius Stanciu
c6d917dec4
- added project name to the window title
2019-08-03 03:35:21 +03:00
Marius Stanciu
8cadcb3837
- fixed another bug that when selecting an Excellon object after disabling it it crashed the app
...
- RELEASE 8.92
2019-08-01 00:37:11 +03:00
Marius Stanciu
45d89a716e
- fixed bug recently introduced that when changing the units in the Edit -> Preferences it did not converted the values
...
- RELEASE 8.92
2019-08-01 00:06:42 +03:00
Marius Stanciu
3fc2015d44
- updated README file
2019-07-31 23:40:17 +03:00
Marius Stanciu
7ad9950ee4
- updated all translations for the new strings
2019-07-31 22:59:18 +03:00
Marius Stanciu
33344b6626
- added a detection if any values are changed in the Edit -> Preferences window and on close it will ask the user if he wants to save the changes or not
...
- created a new menu entry in the File menu named Recent projects that will hold the recent projects and the previous "Recent files" will hold only the previous loaded files
2019-07-31 22:45:03 +03:00
Marius Stanciu
0195084a51
- added categories names for the recent files
2019-07-31 19:18:55 +03:00
Marius Stanciu
93b2907ba7
- work on identification of changes in Preferences tab
2019-07-31 17:48:18 +03:00
Marius Stanciu
6242d1809b
- changed the order of the menu entries in the FIle -> Open ...
...
- organized the list of recent files so the Project entries are to the top and separated from the other types of file
2019-07-31 17:17:08 +03:00
Marius Stanciu
0d1e960c1c
- version date change to reflect the build release date
2019-07-30 22:34:58 +03:00
Marius Stanciu
f282a761b4
- added two more strings to translation strings (due of German language)
...
- completed the Russian translation using the Google and Yandex translation engines
2019-07-30 22:33:18 +03:00
Marius Stanciu
1e7421ebe9
- changed the Disable plots menu entry in the context menu, into a Toggle Visibility menu entry
...
- Spanish Google translation 100% but two strings (big ones)
2019-07-30 20:05:16 +03:00
Marius Stanciu
99a8ed757d
- Spanish Google translation at 77%
2019-07-30 17:13:05 +03:00
Marius Stanciu
7bca0678ea
- fixed bug that crashed the app when trying to add a tool without a tool diameter value
2019-07-30 13:00:17 +03:00
Marius Stanciu
02c8cfb085
- fixed bug that crashed the software when trying to edit a GUI value in Geometry selected tab without having a tool in the Tools Table
2019-07-30 12:35:18 +03:00
Marius Stanciu
8e80ec156c
- fixed Panelize Tool to do panelization for multiple passes type of geometry that comes out of the isolation done with multiple passes
2019-07-29 02:36:29 +03:00
Marius Stanciu
c6e3176ac3
- in Basic mode, the tool type column is no longer hidden as it may create issues when using an painted geometry
...
- some PEP8 clean-up in FlatCAMGui.py
2019-07-29 00:35:59 +03:00
Marius Stanciu
338f12707d
- fixed issue with not using the current units in the tool tables after unit conversion
...
- after unit conversion from Preferences, the default values are automatically saved by the app
2019-07-28 23:11:35 +03:00
Marius Stanciu
f9c83daa6d
- updated languages
...
- 70% progress in Spanish Google translation
2019-07-20 21:32:05 +03:00
Marius Stanciu
dce0d971cd
- updated the CutOut tool so it will work on single PCB Gerbers or on PCB panel Gerbers
2019-07-20 19:36:37 +03:00
Marius Stanciu
e691c26b01
- fixed bug in FlatCAMObj.FlatCAMGeometry.ui_disconnect(); the widgets signals were not disconnected from handlers when required therefore the signals were connected in an exponential way
...
- some changes in the widgets used in the Selected tab for Geometry object
- some PEP8 cleanup in FlatCAMObj.py
- updated languages
- 60% progress in Spanish Google translation
2019-07-20 01:17:33 +03:00
Marius Stanciu
2797a58165
- fixed bug in FlatCAMObj.FlatCAMGeometry.ui_disconnect(); the widgets signals were not disconnected from handlers when required therefore the signals were connected in an exponential way
...
- some changes in the widgets used in the Selected tab for Geometry object
- some PEP8 cleanup in FlatCAMObj.py
2019-07-19 21:46:11 +03:00
Marius Stanciu
86287ea10f
- version date change
2019-07-17 14:58:43 +03:00
Marius
27f36af42b
Merge remote-tracking branch 'origin/Beta' into Beta
2019-07-17 14:12:48 +03:00
Marius Stanciu
ac2bf56e14
- added some more strings to the translateable ones, especially the radio button labels
...
- updated the .POT file and the available translations
- 51% progress in Spanish Google translation
2019-07-17 14:11:10 +03:00
Marius Stanciu
6743927eb2
- more PEP8 corrections
2019-07-16 20:51:09 +03:00
Marius Stanciu
e6153298bc
- PEP8 correction in flatcamTools
...
- merged the Brazilian-portuguese language from a pull request made by Carlos Stein
2019-07-16 16:22:20 +03:00
Marius Stanciu
7c0a8b73e3
- some PEP8 corrections
2019-07-15 01:16:02 +03:00
Marius Stanciu
43cb92e1d8
- fixed a possible issue in Gerber Object class
...
- added a new tool in Gerber Editor: Mark Area Tool. It will mark the polygons in a edited Gerber object with areas within a defined range, allowing to delete some of the not necessary copper features
- added new menu links in the Gerber Editor menu for Eraser Tool and Mark Area Tool
- added key shortcuts for Eraser Tool (CTRL+E) and Mark Area Tool (ALT+A) and updated the shortcuts list
2019-07-13 21:40:33 +03:00
Marius Stanciu
729b7cb11c
- some changes in the app.on_togle_units() to make sure we don't try to convert empty parameters which may cause crashes on FlatCAM units change
...
- updated setup_ubuntu.sh file
- made sure to import certain libraries in some of the FlatCAM files and not to rely on chained imports
2019-07-09 13:58:33 +03:00
Marius Stanciu
769f92147a
- fixed bug that allowed empty tool in the tools generated in Geometry object
...
- fixed bug in Tool Cutout that did not allow the transfer of used cutout tool diameter to the cutout geometry object
2019-07-08 20:06:41 +03:00
Marius Stanciu
5e401fd9f7
- some other bug in CutOut tool fixed
2019-07-05 20:45:15 +03:00
Marius Stanciu
1edb049d86
- fixed bug in CutOut Tool
2019-07-05 12:13:53 +03:00
Marius Stanciu
8d12f8d372
- Spanish translation at 36%
2019-07-01 15:39:11 +03:00
Marius Stanciu
63ade29530
- Spanish translation (Google Translate) at 21%
2019-06-28 13:14:48 +03:00
Marius Stanciu
649d0c6342
- added new translation: Spanish. Finished 10%
2019-06-27 01:03:31 +03:00
Marius Stanciu
429753d211
- fixes issues with units conversion when the tool diameters are a list of comma separated values (NCC Tool, SolderPaste Tool and Geometry Object)
...
- fixed a "typo" kind of bug in SolderPaste Tool
- RELEASE 8.919
2019-06-23 00:04:49 +03:00
Marius Stanciu
259a62230e
- optimized the toggle of annotations; now there is no need to replot the entire CNCJob object too on toggling of the annotations
...
- on toggling off the plot visibility the annotations are turned off too
- updated translations; Russian translation at 76% (using Yandex translator engine - needs verification by a native speaker of Russian)
- RELEASE 8.919
2019-06-22 21:37:18 +03:00
Marius Stanciu
21a15e73bd
- fixed bug in Gerber isolation (Geometry expects now a value in string format and not float)
...
- fixed bug in Paint tool: now it is possible to paint geometry generated by External Isolation (or Internal isolation)
- fixed bug in editing a multigeo Geometry object if previously a tool was deleted
2019-06-22 20:17:45 +03:00
Marius Stanciu
90f491491d
- moved Substract Tool from Menu -> Edit -> Conversions to Menu -> Tool
2019-06-22 18:22:04 +03:00
Marius Stanciu
963fbc8cbf
- fixed recently introduced bug in milling drills/slots functions
2019-06-22 18:02:41 +03:00
Marius Stanciu
68bdfaf062
- some GUI layout optimizations in Edit -> Preferences
...
- added the possibility for multiple tool diameters in the Edit -> Preferences -> Geometry -> Geometry General -> Tool dia separated by comma
- fixed scaling for the multiple tool diameters in Edit -> Preferences -> Geometry -> Geometry General -> Tool dia, for NCC tools more than 2 and for Solderpaste nozzles more than 2
- fixed bug in CNCJob where the CNC Tools table will show always only 2 decimals for Tool diameters regardless of the current measuring units
- made the tools diameters decimals in case of INCH FlatCAM units to be 4 instead of 3
- fixed bug in updating Grid values whenever toggling the FlatCAM units and the X, Y Grid values are linked, bugs which caused the Y value to be scaled incorrectly
- set the decimals for Grid values to be set to 6 if the units of FlatCAM is INCH and to set to 4 if FlatCAM units are METRIC
- updated translations
- updated the Russian translate from 51% complete to 69% complete using the Yandex translation engine
2019-06-22 17:58:31 +03:00
Marius Stanciu
1132c43f05
- fixed Scale and Buffer Tool in Gerber Editor
2019-06-20 19:49:40 +03:00
Marius Stanciu
32f1c4f8fe
- fixed Editor Transform Tool in Gerber Editor
...
- added a message in the status bar when copying coordinates to clipboard with SHIFT + LMB click combo
- languages update
2019-06-20 19:40:06 +03:00
Marius Stanciu
fe3acc93f4
- milling an Excellon file (holes and/or slots) will now transfer the chosen milling bit diameter to the resulting Geometry object
2019-06-19 11:55:45 +03:00
Marius Stanciu
ffa92524f0
- fixed bug where for Geometry objects after a successful object rename done in the Object collection view (Project tab), deselect the object and reselect it and then in the Selected tab the name is not the new one but the old one
...
- for Geometry objects, adding a new tool to the Tools table after a successful rename will now store the new name in the tool data
2019-06-17 17:01:27 +03:00
Marius Stanciu
0244c76605
- restored the FlatCAMObj.visible() to a non-threaded default
2019-06-16 02:34:41 +03:00
Marius Stanciu
f5cc8d773f
- fixed bug in Gerber editor - on multiple edits on the same object, the aperture size and dims were continuously multiplied due of the file units not being updated
2019-06-15 20:22:17 +03:00
Marius Stanciu
1b0cf14ef7
- fixed bug in Gerber parser that made the Gerber files generated by Altium Designer 18 not to be loaded
2019-06-15 17:20:38 +03:00
Marius Stanciu
a106472900
- fixed the Edit -> Conversion -> Join ... functions (merge() functions)
...
- updated translations
- Russian translate by @camellan is not finished yet
- some PEP8 cleanup in camlib.py
- RELEASE 8.918
2019-06-11 23:04:31 +03:00
Marius Stanciu
f4f7b65080
- some PEP8 cleanup
2019-06-09 17:39:42 +03:00
Marius Stanciu
3bd2957739
- updated translations
...
- fixed the the labels for shortcut keys for zoom in and zoom out both in the Menu links and in the Shortcut list
- made sure the zoom functions use the global_zoom_ratio parameter from App.self.defaults dictionary.
2019-06-09 17:27:11 +03:00
Marius Stanciu
5f972ab85e
- make sure that the annotation shapes are deleted on creation of a new project
...
- added folder for the Russian translation
- made sure that visibility for TextGroup is set only if index is not None in VisPyVisuals.TextGroup.visible() setter
- RELEASE 8.918
2019-06-08 21:36:34 +03:00
Marius Stanciu
24f9de8c16
- RELEASE 8.918
2019-06-08 00:10:46 +03:00
Marius Stanciu
3fa661f8d1
- fixed bug in ToolCutout where creating a cutout object geometry from another external isolation geometry failed
...
- fixed bug in cncjob TclCommand where the gcode could not be correctly generated due of missing bounds params in obj.options dict
- fixed a hardcoded tolerance in FlatCAMGeometry.generatecncjob() and in FlatCAMGeometry.mtool_gen_cncjob() to use the parameter from Preferences
2019-06-08 00:08:05 +03:00
Marius Stanciu
a5ffe475dd
- fixed bug in ToolCutout where creating a cutout object geometry from another external isolation geometry failed
...
- fixed bug in cncjob TclCommand where the gcode could not be correctly generated due of missing bounds params in obj.options dict
- fixed a hardcoded tolerance in FlatCAMGeometry.generatecncjob() and in FlatCAMGeometry.mtool_gen_cncjob() to use the parameter from Preferences
2019-06-07 23:14:00 +03:00
Marius Stanciu
2974389404
- after editing an parameter the focus is lost so the user knows that something happened
2019-06-05 15:07:45 +03:00
Marius Stanciu
0ee5114012
- some layout changes in Edit -> Preferences such that the German translation (longer words than English) to fit correctly
2019-06-05 13:22:12 +03:00
Marius Stanciu
29272ee4c2
- updated translations
2019-06-05 13:03:46 +03:00
Marius Stanciu
150bb9e999
- PEP8 cleanup in FlatCAMGui
...
- finished adding the Excellon Editor parameters into the app logic and added a selection limit within Excellon Editor just like in the other editors
2019-06-04 22:19:45 +03:00
Marius Stanciu
dc51f6d833
- PEP8 updates in FlatCAMExcEditor.py
...
- added the Excellon Editor parameters to the Edit -> Preferences -> Excellon
- fixed a small bug in Excellon Editor
2019-06-04 14:58:33 +03:00
Marius Stanciu
f06fec12ea
- added a new parameter in Edit -> Preferences -> CNCJob named Annotation Color; it controls the color of the font used for annotations
...
- added a new parameter in Edit -> Preferences -> CNCJob named Annotation Size; it controls the size of the font used for annotations
- made visibility change threaded in FlatCAMObj()
2019-06-03 22:59:45 +03:00
Marius Stanciu
2a30101bb0
- TclCommand Geocutout is now creating a new geometry object when working on a geometry, preserving also the origin object
2019-06-03 04:47:29 +03:00
Marius Stanciu
c409df0a8e
- fixed issue with geometry name not being updated immediately after change while doing geocutout TclCommand
...
- some changes to enable/disable project context menu entry handlers
2019-06-02 14:04:14 +03:00
Marius Stanciu
dca57edf24
- fixed text annotation for CNC job so there are no overlapping numbers when 2 lines meet on the same point
...
- fixed issue in CNC job plotting where some of the isolation polygons are painted incorrectly
- fixed issue in CNCJob where the set circle steps is not used
2019-06-01 03:17:28 +03:00
Marius Stanciu
9abb9c5df2
- added the possibility to display text annotation for the CNC travel lines. The setting is both in Preferences and in the CNC object properties
2019-05-31 12:43:30 +03:00
Marius Stanciu
b35ac779bd
- solved issue where after the opening of an object the file path is not saved for further open operations
2019-05-30 21:21:44 +03:00
Marius Stanciu
b7023d8ef6
- more PEP8 cleanup
2019-05-30 21:15:09 +03:00
Marius Stanciu
8ee516ec14
- editing a multi geometry will no longer pop-up a Tcl window
...
- solved issue #292 where a new geometry renamed with many underscores failed to store the name in a saved project
- the name for the saved projects are updated to the current time and not to the time of the app startup
- some PEP8 changes related to comments starting with only one '#' symbol
2019-05-30 21:05:12 +03:00
Marius Stanciu
ad7222a768
- added a toggle left panel button to the canvas context menu
2019-05-24 19:50:59 +03:00
Marius Stanciu
bc3da37e81
- added a toggle Grid button to the canvas context menu in the Grids submenu
2019-05-24 18:53:33 +03:00
Marius Stanciu
4c49348aef
- some PEP8 cleanup in FlatCAMApp.py
2019-05-22 23:40:26 +03:00
Marius Stanciu
8a273b3a6f
- fixed bug in Gerber editor FCDisk and FCSemiDisc that the resulting geometry was not stored into the '0' aperture where all the solids are stored
...
- fixed minor issue in Gerber Editor where apertures were included in the saved object even if there was no geometric data for that aperture
2019-05-22 23:02:23 +03:00
Marius Stanciu
17a93b8c7d
- fixed some selection issues in the new tool Eraser in Geometry Editor
...
- updated the translation files
2019-05-22 18:37:33 +03:00
Marius Stanciu
f400294027
- PEP8 cleanup of the Geo Editor
2019-05-22 15:37:07 +03:00
Marius Stanciu
cffcbb2410
- Geo Editor - added a new editor tool, Eraser
2019-05-22 15:03:45 +03:00
Marius Stanciu
b273bdc3df
- Gerber Editor: finished a new tool: Eraser. It will erase certain parts of Gerber geometries having the shape of a selected shape.
2019-05-22 01:04:10 +03:00
Marius Stanciu
4f2e5643d9
- added the file extension .ncd to the Excellon file extension list
...
- solved parsing issue for Excellon files generated by older Eagle versions (v6.x)
2019-05-21 16:13:36 +03:00
Marius Stanciu
511df19793
- Gerber Editor - started to work on a new editor tool: Eraser
2019-05-20 17:15:33 +03:00
Marius Stanciu
008afb3ca8
- more PEP8 changes in Gerber editor
2019-05-20 16:36:13 +03:00
Marius Stanciu
e04db8ca12
- set the buttons in the lower part of the Preferences Window to have a preferred minimum width instead of fixed width
...
- updated the translation files
2019-05-20 02:29:08 +03:00
Marius Stanciu
94e7820dde
- PEP8 corrections in FlatCAMGrbEditor.py
...
- added a selection limit parameter for Geometry Editor
- added entries in Edit -> Preferences for the new parameter Selection limit for both the Gerber and Geometry Editors.
2019-05-20 01:18:08 +03:00
Marius Stanciu
17e1f87a1c
- made wider the '#' column for Apertures Table for Gerber Object and for Gerber Editor; in this way numbers with 3 digits can be seen
2019-05-19 23:03:08 +03:00
Marius Stanciu
a545658d44
- fixed the Circle Steps parameter for both Gerber and Geometry objects not being applied and instead the app internal defaults were used.
...
- fixed the Tcl command Geocutout issue that gave an error when using the 4 or 8 value for gaps parameter
2019-05-19 17:15:24 +03:00
Marius Stanciu
f71645c96c
- fixed Tool PDF to work with the new Gerber apertures data structure
2019-05-19 00:44:52 +03:00
Marius Stanciu
f779c74d0e
- fixed App.convert_any2gerber to work with the new Gerber apertures data structure
...
- fixed Tool Sub to work with the new Gerber apertures data structure
2019-05-18 18:22:02 +03:00
Marius Stanciu
8ccd73b919
- added a new toggle option in Edit -> Preferences -> General Tab -> App Preferences -> "Open" Behavior. It controls which path is used when opening a new file. If checked the last saved path is used when saving files and the last opened path is used when opening files. If unchecked then the path for the last action (either open or save) is used.
2019-05-18 17:17:37 +03:00
Marius Stanciu
630d9c733d
- remade the Properties Tool such that it works with the new Gerber data structure in the obj.apertures. Also changed the view for the Gerber object in Properties
...
- fixed issue with false warning that the Gerber object has no geometry after an empty Gerber was edited and added geometry elements
2019-05-18 00:17:37 +03:00
Marius Stanciu
7f0a1695ef
- fixed an issue in the remade Cutout Tool where when applied on a single Gerber object, the Freeform Cutout produced no cutout Geometry object
2019-05-17 20:11:01 +03:00
Marius Stanciu
3713a5d78f
- remade the Tool Cutout to work on panels
...
- remade the Tool Cutour such that on multiple applications on the same object it will yield the same result
2019-05-17 17:17:58 +03:00
Marius Stanciu
d172a3ca49
- Gerber Export: made sure that if some of the coordinates in a Gerber object geometry are repeating then the resulting Gerber code include only one copy
...
- added a new parameter/feature: now the spindle can work in clockwise mode (CW) or counter clockwise mode (CCW)
2019-05-16 03:13:22 +03:00
Marius Stanciu
b2cb0f9ffb
- minor change in Readme
2019-05-15 17:27:07 +03:00
Marius Stanciu
e6a0997fd6
- camlib Gerber parser - made sure that we don't loose goemetry in regions
...
- Gerber Editor - made sure that for some tools the added geometry is clean (the coordinates are non repeating)
- covered some possible issues in Gerber Export
2019-05-15 14:02:24 +03:00
Marius Stanciu
78939fdc84
- Gerber Editor: fixed units conversion for obj.apertures keys that require it
2019-05-15 03:56:31 +03:00
Marius Stanciu
c70309e802
- Gerber Export is fixed to work with the new Gerber object data structure and it now works also for Gerber objects edited in Gerber Editor
2019-05-15 02:29:33 +03:00
Marius Stanciu
8679cbbcda
- Gerber Editor: fixed the Poligonize Tool to work with new geometric structure and took care of a special case
2019-05-15 01:49:35 +03:00
Marius Stanciu
3e3c8ae703
- rewrited the Gerber Parser in camlib - success
...
- moved the self.apertures[aperture]['geometry'] processing for clear_geometry (geometry made with Gerber LPC command) in Gerber Editor
2019-05-15 00:27:43 +03:00
Marius Stanciu
01c0f901ff
- some modifications to ToolCutout
2019-05-13 01:57:37 +03:00
Marius Stanciu
c9a09b00c0
- Gerber Editor: added a threshold limit for how many elements a move selection can have. If above the threshold only a bounding box Poly will be painted on canvas as utility geometry.
2019-05-11 21:49:22 +03:00
Marius Stanciu
71f094bba5
- completely converted the Gerber editor to the new data structure
2019-05-11 19:24:57 +03:00
Marius Stanciu
49b917448b
- wip in camblib.Gerber
2019-05-11 17:08:40 +03:00
Marius Stanciu
6e2392e871
- fixed camlib.Gerber issues related to what happen after parsing rectangular apertures
2019-05-11 07:46:19 +03:00
Marius Stanciu
e65800737d
- fixed Gerber Editor FCPad class to work with the new Gerber data structure in self.apertures
2019-05-11 05:46:32 +03:00
Marius Stanciu
23fb8b2d7c
- fixed the camlib.Gerber functions of mirror, scale, offset, skew and rotate to work with the new data structure for apertures geometry
...
- fixed Gerber Editor selection to work with the new Gerber data structure in self.apertures
2019-05-11 05:19:42 +03:00
Marius Stanciu
af091c7b14
- made the Feedrate Rapids parameter to depend on the type of postprocessor choosed. It will be showed only for a postprocessor which the name contain 'marlin' and for any postprocessor's that have 'custom' in the name
2019-05-11 04:54:05 +03:00
Marius Stanciu
883cf3372a
- fixed issue in camlib.CNCjob.generate_from_excellon_by_tool() in the drill path optimization algorithm selection when selecting the MH algorithm. The new API's for Google OR-tools required some changes and also the time parameter can be now just an integer therefore I modified the GUI
2019-05-11 04:41:18 +03:00
Marius Stanciu
5287cbd8de
Merge branch 'new_aperture_storage' into beta_8.916
...
# Conflicts:
# README.md
2019-05-11 03:49:53 +03:00
Marius Stanciu
5dd0ff7e14
- optimized Transform tool
2019-05-11 02:57:06 +03:00
Marius Stanciu
500c54711d
- made sure that only units toggle done in Edit -> Preferences will toggle the data in Preferences. THe menu entry Edit -> Toggle Units and the shortcut key 'Q' will change only the display units in the app
2019-05-11 02:48:44 +03:00
Marius Stanciu
ce0ed2208f
- Gerber Editor - working in conversion to the new data format
2019-05-10 15:40:09 +03:00
Marius Stanciu
3d113c89b1
- rework the Gerber parser
2019-05-09 03:43:17 +03:00
Marius Stanciu
28fce82432
- Geometry Editor: made the tool to be able to continuously move until the tool is exited either by ESC key or by right mouse button click
...
- Geometry Editor Move Tool: if no shape is selected when triggering this tool, now it is possible to make the selection inside the tool
- Gerber editor Move Tool: fixed a bug that repeated the plotting function unnecessarily
- Gerber editor Move Tool: if no shape is selected the tool will exit
2019-05-08 20:01:06 +03:00
Marius Stanciu
832ecf80d5
- fixed Gerber Editor follow_geometry reconstruction
2019-05-08 06:26:30 +03:00
Marius Stanciu
8275750d3e
- fixed camlib.Gerber skew, rotate, offset, mirror functions to work for geometry stored in the Gerber apertures
2019-05-08 06:15:02 +03:00
Marius Stanciu
6fb33ebc5e
- Gerber Export - finished
...
- added zoom fit for Set Origin command
- added move action for solid_geometry stored in the gerber_obj.apertures
2019-05-08 06:02:38 +03:00
Marius Stanciu
5b663c5f20
- work in Gerber Export: finished the body export but have some errors with clear geometry (LPC)
2019-05-08 04:21:34 +03:00
Marius Stanciu
bdd13a3800
- work in Gerber Export: finished the body export but have some errors with clear geometry (LPC)
2019-05-07 21:13:20 +03:00
Marius Stanciu
b9fa2e2bfd
- fixed the Gerber Object and Gerber Editor Apertures Table to not show extra rows when there are aperture macros in the object
2019-05-07 15:24:20 +03:00
Marius Stanciu
cb355d6070
- work in Gerber Export: finished the header export
2019-05-07 15:14:32 +03:00
Marius Stanciu
b31f3b7587
- remade the Tool Paenlize GUI
2019-05-07 13:55:20 +03:00
Marius Stanciu
dd60c7be30
- modified the default values for toolchangez and endz parameters so they are now safe in all cases
2019-05-07 02:24:58 +03:00
Marius Stanciu
f6106dd319
- updated the ToolPanelize tool so the Gerber panel of type FlatCAMGerber can be isolated like any other FlatCAMGerber object
...
- updated the ToolPanelize tool so it can be edited
2019-05-07 02:08:17 +03:00
Marius Stanciu
3cf122827f
- solved a bug in Excellon Editor that caused app crash when trying to edit a tool in Tool Table due of missing a tool offset
2019-05-07 00:12:19 +03:00
Marius Stanciu
0106d95e84
- added a new parameter in the Edit -> Preferences -> App Preferences named Geo Tolerance. This parameter control the level of geometric detail throughout FlatCAM. It directly influence the effect of Circle Steps parameter.
2019-05-06 22:33:45 +03:00
Marius Stanciu
b19047a8b3
- fixed some bugs related to moving an Gerber object with the aperture table in view
2019-05-06 20:12:49 +03:00
Marius Stanciu
d35ae3a39a
- made units change from Edit -> Toggle Units not to affect the preferences
...
- remade the way the aperture marks are plotted in Gerber Object
2019-05-06 16:40:31 +03:00
Marius Stanciu
7c334d7606
- made units change from shortcut key 'Q' not to affect the preferences
2019-05-06 03:58:11 +03:00
Marius Stanciu
ed58acdac5
- in Script Editor added support for "CTRL + / " key combo to comment/uncomment line
2019-05-06 01:54:35 +03:00
Marius Stanciu
4bb4a18a81
- added a protection for the case that the aperture table is part of a deleted object
2019-05-06 01:41:41 +03:00
Marius Stanciu
ae775b520e
- added a protection for the case that the aperture table is part of a deleted object
2019-05-05 18:21:58 +03:00
Marius Stanciu
41956d68d6
- another fix for bug in clear geometry processing for Gerber apertures
2019-05-05 18:16:29 +03:00
Marius Stanciu
4c00f567a4
- renamed the menu entry Edit -> Copy as Geo to Convert Any to Geo and moved it in the Edit -> Conversion
...
- created a new function named Convert Any to Gerber and installed it in Edit -> Conversion. It's doing what the name say: it will convert an Geometry or Excellon FlatCAM object to a Gerber object.
2019-05-05 00:56:04 +03:00
Marius Stanciu
fee24505ae
- fixed bug in parsing Gerber regions (a point was added unnecessary)
2019-05-05 00:15:21 +03:00
Marius Stanciu
d7031bc89a
- fixed bug in camlib.parse_lines() in the clear_geometry processing section for self.apertures
2019-05-04 22:39:51 +03:00
Marius Stanciu
a98e6c3eda
- Geometry Editor: restored the old behavior: a tool is active until it is voluntarily exited: either by using the 'ESC' key, or selecting the Select tool or new: right click on canvas
...
- RELEASE 8.915
2019-05-01 22:28:33 +03:00
Marius Stanciu
7294c88ef9
- made sure that the Tools Tab is cleared on Editors exit
2019-05-01 21:22:28 +03:00
Marius Stanciu
72724eafae
- Excellon Editor: fixed mouse right click was always doing popup context menu
...
- GUIElements.FCEntry2(): added a try-except clause
2019-05-01 18:38:14 +03:00
Marius Stanciu
52ab274b1c
- fixed bugs in Excellon Editor
...
- Excellon Editor: made Add Pad tool to work until right click
2019-05-01 17:26:38 +03:00
Marius Stanciu
747a0817f3
- made some mods to what can be translated as some of the translations interfered with the correct functioning of FlatCAM
...
- updated the translations
2019-05-01 16:04:40 +03:00
Marius Stanciu
6f3cbf1077
- fixed a crash when triggering 'Jump To' menu action (shortcut key 'J' worked ok)
2019-05-01 12:55:16 +03:00
Marius Stanciu
f172d5b765
- Enable/Disable Object toggle key ("Space" key) will trigger also the datChanged signal for the Project MVC
...
- added a new setting for the color of the Porject items, the color when they are disabled.
2019-05-01 12:29:47 +03:00
Marius Stanciu
8062af7feb
- the project items color is now controlled from Foreground Role in ObjectCollection.data()
...
- made again plot functions threaded but moved the dataChanged signal (update_view() ) to the main thread by using an already existing signal (plots_updated signal) to avoid the errors with register QVector
2019-05-01 03:33:15 +03:00
Marius Stanciu
eda4202952
- added new setting for the color of the Project Tree items; it helps in providing contrast when using dark theme like the one in MacOS
2019-04-30 23:34:35 +03:00
Marius Stanciu
b53c08f1e5
- finished the new Substract Tool
2019-04-30 20:22:46 +03:00
Marius Stanciu
17bbbad72d
- progress in the new Substract Tool for Geometry Objects
2019-04-30 17:53:21 +03:00
Marius Stanciu
bc981ab92c
- started to modify the Substract Tool to work on Geometry objects too
2019-04-30 15:52:12 +03:00
Marius Stanciu
eb00176519
- renamed SilkScreen Tool to Substract Tool and move it's menu location in Edit -> Conversion
2019-04-30 13:16:32 +03:00
Marius Stanciu
ac64f56240
- in ObjectCollection class, made sure that renaming an object in Project View does not result in an empty name. If new name is blank the rename is cancelled.
...
- made ObjectCOllection.TreeItem() inherit KeySensitiveListVIew and implicitly QTreeView (in the hope that the theme applied on app will be applied on the tree items, too (for MacOs new DarkUI theme)
2019-04-30 12:51:21 +03:00
Marius Stanciu
b8495f06ca
- solved the issue in Silkscreen Tool with losing some fragments of wires from silkscreen
2019-04-30 03:54:29 +03:00
Marius Stanciu
0e94a2bd11
- finished the Silkscreen Tool but there are some limitations (some wires fragments from silkscreen are lost)
2019-04-30 03:50:01 +03:00
Marius Stanciu
c3c37d1473
- finished the Silkscreen Tool
2019-04-30 03:29:46 +03:00
Marius Stanciu
91e6cc0bff
- soled bug in Gerber Editor: the '0' aperture (the region aperture) had no size which created errors. Made the size to be zero.
...
- solved bug in editors: the canvas selection shape was not deleted on mouse release if the grid snap was OFF
- solved bug in Excellon Editor: when selecting a drill hole on canvas the selected row in the Tools Table was not the correct onw but the next highest row
2019-04-29 22:28:45 +03:00
Marius Stanciu
43c539702e
- all Gerber regions (G36 G37) are stored in the '0' aperture
...
- fixed a bug that added geometry with clear polarity in the apertures where was not supposed to be
2019-04-27 03:03:00 +03:00
Marius Stanciu
6775c3f3da
- updated the code in camlib.CNCJob.generate_from_excellon_by_tools() to work with the new API from Google OR-Tools
2019-04-27 00:02:21 +03:00
Marius Stanciu
faf92ff3d9
- fixed some bugs recently introduced in Editors due of the changes done to the way mouse panning is detected
...
- cleaned up the context menu's when in Editors; made some structural changes
2019-04-26 23:16:52 +03:00
Marius Stanciu
8fcd75a8e4
- commented the camlib.alpha_shape() as it is not needed but require a huge package (scipy)
2019-04-26 18:02:07 +03:00
Marius Stanciu
8eb390e706
- small changes in GUI
2019-04-26 02:31:21 +03:00
Marius Stanciu
ac3833f746
- added a toggle button in Preferences to toggle on/off the display of the selection box on canvas when the user is clicking an object or selecting it by mouse dragging.
2019-04-25 20:59:45 +03:00
Marius Stanciu
4c275b25af
- fixed Edit -> Copy as Geom function handler to work for Excellon objects, too
...
- made sure that the mouse pointer is restored to default on Editor exit
2019-04-25 20:42:56 +03:00
Marius Stanciu
ddc2f2d873
- Geometry Editor: modified the intersection (if the selected shapes don't intersects preserve them) and substract functions (delete all shapes that were used in the process)
...
- work in the ToolSilk
2019-04-25 16:47:17 +03:00
Marius Stanciu
c2334bd747
- Geometry Editor: modified the intersection (if the selected shapes don't intersects preserve them) and substract functions (delete all shapes that were used in the process)
...
- work in the ToolSilk
2019-04-25 16:26:31 +03:00
Marius Stanciu
386e811c65
- New tool: Silkscreen Tool: I am trying to remove the overlapped geo with the soldermask layer from overlay layer; layed out the class and functions - not working yet
2019-04-25 01:13:37 +03:00
Marius Stanciu
b11c67d453
- PDF import tool: solved a bug in parsing the rectangle subpath (an extra point was added to the subpath creating nonexisting geometry)
...
- PDF import tool: finished layer rendering multithreading
2019-04-24 22:26:13 +03:00
Marius Stanciu
e4faa27351
- PDF import tool: working in making the PDF layer rendering multithreaded in itself (one layer rendered on each worker)
2019-04-24 14:11:15 +03:00
Marius Stanciu
1da424e9fb
- added more custom mouse cursors in Geometry and Gerber Editors
...
- RELEASE 8.914
2019-04-23 21:31:17 +03:00
Marius Stanciu
54d6a32b6c
- updated the translation files
2019-04-23 17:51:09 +03:00
Marius Stanciu
5f5b37eb98
- Fixed Measurement Tool to show the mouse coordinates on the status bar (it was broken at some point)
2019-04-23 16:10:34 +03:00
Marius Stanciu
49120c088e
- Gerber Editor: made Add Pad repeat until user exits the Add Pad through either mouse right click, or ESC key or deselecting the Add Pad menu item
...
- Gerber and Geometry Editors: fixed some issues with the Add Arc/Add Semidisc; in mode 132, the norm() function was not the one from numpy but from a FlatCAM Class. Also fixed some of the texts and made sure that when changing the mode, the current points are reset to prepare for the newly selected mode.
2019-04-23 13:13:10 +03:00
Marius Stanciu
929d70542c
- Gerber Editor: added two new tools: Add Disc and Add SemiDisc (porting of Circle and Arc from Geometry Editor)
2019-04-23 04:24:10 +03:00
Marius Stanciu
82a0287f4d
- PDF Import tool: added support for detection of circular geometry drawn with white color which means actually invisible color. When detected, FlatCAM will build an Excellon file out of those geoms.
...
- PDF Import tool: fixed storing geometries in apertures with the right size (before they were all stored in aperture D10)
2019-04-23 02:02:20 +03:00
Marius Stanciu
d66d914cc3
- PDF Import tool: fixed bugs when drag & dropping PDF files on canvas the files geometry previously opened was added to the new one. Also scaling issues. Solved.
2019-04-22 20:33:03 +03:00
Marius Stanciu
8f1a0c1fdc
- added PDF file as type in the Recent File list and capability to load it from there
...
- PDF's can be drag & dropped on the GUI to be loaded
2019-04-22 19:18:23 +03:00
Marius Stanciu
7442af1b06
- PDF Import tool: added support for PDF files that embed multiple Gerber layers (top, bottom, outline, silkscreen etc). Each will be opened in it's own Gerber file. The requirement is that each one is drawn in a different color
2019-04-22 17:35:36 +03:00
Marius Stanciu
8a2a48f668
- PDF import tool: added support for save/restore Graphics stack. Only for scale and offset transformations and for the linewidth. This is the final fix for Microsoft PDF printer who saves in PDF format 1.7
2019-04-22 15:35:21 +03:00
Marius Stanciu
53444fc685
- fixed the PDF import tool to work with files generated by the Microsoft PDF printer (chained subpaths)
...
- in PDF import tool added support for paths filled and at the same time stroked ('B' and 'B*'commands)
- added a shortcut key for PDF Import Tool (ALT+Q) and updated the Shortcut list (also with the 'T' and 'R' keys for Gerber Editor where they control the bend in Track and Region tool and the 'M' and 'D' keys for Add Arc tool in Geometry Editor)
2019-04-22 03:28:05 +03:00
Marius Stanciu
108f11eacf
- finished adding the PDF import tool although it does not support all kinds of outputs from PDF printers. Microsoft PDF printer is not supported.
2019-04-21 04:43:49 +03:00
Marius Stanciu
52fceae054
- started to work on PDF import tool
2019-04-19 17:12:10 +03:00
Marius Stanciu
f7f52e3bec
- Gerber Editor: the bending mode will now survive until the tool is exited
...
- Gerber Editor: solved some bugs related with deleting an aperture and updating the last_selected_aperture
2019-04-18 21:46:00 +03:00
Marius Stanciu
c5c924cbc4
- Gerber Editor: Region Tool will add regions only in '0' aperture
2019-04-18 16:48:47 +03:00
Marius Stanciu
839baea4b8
- Gerber Editor: added custom mouse cursors for each mode in Add Track Tool
...
- Gerber Editor: Poligonize Tool will first fuse polygons that touch each other and at a second try will create a polygon. The polygon will be automatically moved to Aperture '0' (regions).
2019-04-18 16:35:50 +03:00
Marius Stanciu
b749a47652
- Excellon Editor: fixed issue not remembering last tool after adding a new tool
...
- added custom mouse cursors for Excellon and Geometry Editors in some of their tools
2019-04-17 21:30:43 +03:00
Marius Stanciu
7218c2d920
- Gerber Editor: added multiple modes to lay a Region: 45-degrees, reverse 45-degrees, 90-degrees, reverse 90-degrees and free-angle. Added also key shortcuts 'T' and 'R' to cycle forward, respectively in reverse through the modes.
2019-04-17 20:36:36 +03:00
Marius Stanciu
b91e492805
- Gerber Editor: work in progress to add multiple modes of drawing for the Region Tool
2019-04-17 17:34:15 +03:00
Marius Stanciu
c49ee7d27d
- added custom mouse cursors for some tools in Gerber Editor
2019-04-17 16:17:12 +03:00
Marius Stanciu
a27d19c64e
- fixed version check
2019-04-17 02:49:12 +03:00
Marius Stanciu
b35dc84f0d
- Gerber Editor: added some messages to warn user if no selection exists when trying to do aperture deletion or aperture geometry deletion
2019-04-17 01:38:29 +03:00
Marius Stanciu
7707baa9b2
- Gerber Editor: added protections for the Pad Array and Pad Tool for the case when the aperture size is zero (the aperture where to store the regions)
2019-04-17 01:10:21 +03:00
Marius Stanciu
862eb2ae78
- Gerber Editor: Add Track Tool: added 5 modes for laying a track: 45-degrees, reverse-45 degrees, 90-degrees, reverse 90-degrees and free angle. Key 'T' will cycle forward through the modes and key 'R' will cycle in reverse through the track laying modes.
...
- Gerber Editor: Add Track Tool: first right click will finish the track. Second right click will exit the Track Tool and return to Select Tool.
2019-04-16 23:21:19 +03:00
Marius Stanciu
83cb0b8755
- Gerber Editor: started to add modes of laying a track
2019-04-16 18:27:24 +03:00
Marius Stanciu
d92750d124
- added ability to use ENTER key to finish tool adding in Editors, NCC Tool, Paint Tool and SolderPaste Tool.
2019-04-16 15:27:51 +03:00
Marius Stanciu
2ba0b494ff
- Gerber Editor: finished a new tool: Poligonize Tool (ALT+N in Editor). It will fuse a selection of tracks into a polygon. It will fill a selection of polygons if they are apart and it will make a single polygon if the selection is overlapped. All the newly created filled polygons will be stored in aperture '0' (if it does not exist it will be automatically created)
...
- fixed a bug in Move command in context menu who crashed the app when triggered
- Gerber Editor: when adding a new aperture it will be store as the last selected and it will be used for any tools that are triggered until a new aperture is selected.
2019-04-15 22:48:22 +03:00
Marius Stanciu
2b4beebba2
- added support in Excellon parser for autodetection of Excellon file format for the Excellon files generate by the following ECAD sw: DipTrace, Eagle, Altium, Sprint Layout
2019-04-15 19:29:23 +03:00
Marius Stanciu
d7cb8a5825
- Gerber Editor: reduced the delay to show UI when editing an empty Gerber object
...
- update the order of event handlers connection in Editors to first connect new handlers then disconnect old handlers. It seems that if nothing is connected some VispY functions like canvas panning no longer works if there is at least once nothing connected to the 'mouse_move' event
- Excellon Editor: update so always there is a tool selected even after the Execllon object was just edited; before it always required a click inside of the tool table, not you do it only if needed.
- fixed the menu File -> Edit -> Edit/Close Editor entry to reflect the status of the app (Editor active or not)
2019-04-15 16:19:30 +03:00
Marius Stanciu
348fe4f135
- finished ToolPcbWizard; it will autodetect the Excellon format, units from the INF file
2019-04-15 05:17:16 +03:00
Marius Stanciu
db26895b5b
- working on a new tool to process automatically PcbWizard Excellon files which are generated in 2 files
2019-04-15 03:29:43 +03:00
Marius Stanciu
2e7d9f953f
- solved bug in Gerber apertures size and dimensions values conversion when file units are different than app units
2019-04-14 22:46:08 +03:00
Marius Stanciu
fc1dfb8550
- cleaned up Measuring Tool
2019-04-14 16:59:20 +03:00
Marius Stanciu
1332601624
- moved the key handler out of the Measurement tool to flatcamGUI.FlatCAMGui.keyPressEvent()
...
- Gerber Editor: started to add new function of poligonize which should make a filled polygon out of a shape
2019-04-14 15:16:37 +03:00
Marius Stanciu
e92cab2e96
- In Geometry Editor I fixed bug in Arc modes. Arc mode shortcut key is now key 'M' and arc direction change shortcut key is 'D'
2019-04-14 02:46:55 +03:00
Marius Stanciu
081231aca4
- Editors: activated an old function that was no longer active: each tool can have it's own set of shortcut keys, the Editor general shortcut keys that are letters are overridden
...
- Gerber and Geometry editors, when using the Backspace keys for certain tools, they will backtrack one point but now the utility geometry is immediately updated
2019-04-14 02:10:31 +03:00
Marius Stanciu
0fdd2e4f7c
- Gerber Editor: a disabled/enabled sequence for the VisPy cursor on Gerber edit make the graphics better
2019-04-13 23:47:02 +03:00
Marius Stanciu
84f3166e2f
- Gerber Editor: Remade the processing of 'clear_geometry' (geometry generated by polygons made with Gerber LPC command) to work if more than one such polygon exists
2019-04-13 22:56:46 +03:00
Marius Stanciu
5020017cd7
- final fix for issue #277 . Previous fix was applied only for one case out of three.
...
- RELEASE 8.913
2019-04-13 17:26:03 +03:00
Marius Stanciu
42e82beb27
- finished German translation (Google translated with some adjustments)
...
- RELEASE 8.913
2019-04-13 16:54:39 +03:00
Marius Stanciu
2dc98fb6d6
- Gerber Editor: added ability to change on the fly the aperture after one of the tools: Add Pad or Add Pad Array is activated
...
- Gerber Editor: if a tool is cancelled via key shortcut ESCAPE, the selection is now deleted and any other action require a new selection
2019-04-13 13:28:47 +03:00
Marius Stanciu
2c8bac7402
- updating the German translation
2019-04-13 04:10:54 +03:00
Marius Stanciu
a1f7c86996
- made optional the saving of an edited object. Now the user can cancel the changes to the object.
...
- replaced the standard buttons in the QMessageBox's used in the app with custom ones that can have text translated
- updated the POT translation file and the MO/PO files for English and Romanian language
2019-04-12 22:55:20 +03:00
Marius Stanciu
57e8db1f9b
- moved the polarity change processing from FlatCAMGrbEditor() class to camlib.Gerber().parse_lines()
2019-04-12 19:44:03 +03:00
Marius Stanciu
80c5cf86b7
- Gerber Editor: added support for Gerber polarity change commands (LPD, LPC)
2019-04-12 19:29:12 +03:00
Marius Stanciu
e478d6e043
- when adding an aperture with code '0' (zero) it will automatically be set with size zero and type: 'REG' (from region); here we store all the regions from a Gerber file, the ones without a declared aperture
2019-04-12 17:09:43 +03:00
Marius Stanciu
8b46d0d6cf
- updated the translation template POT file and the EN PO/MO files
...
- Gerber Editor: added toggle effect to the Transform Tool
- Gerber Editor: added shortcut for Transform Tool and also toggle effect here, too
- updated the shortcut list with the Gerber Editor shortcut keys
- Gerber Editor: fixed error when adding an aperture with code value lower than the ones that already exists
2019-04-12 16:46:43 +03:00
Marius Stanciu
f1b034e50c
- fixed a bug in editing a blank Gerber object
...
- added handlers for the Gerber Editor context menu
2019-04-12 12:58:10 +03:00
Marius Stanciu
2297f99502
- Gerber Editor: added support for Oblong type of aperture
...
- fixed an issue with automatically filled in aperture size when the edited Gerber file has no apertures; established an default with value 10 (according to Gerber specifications)
2019-04-12 02:09:01 +03:00
Marius Stanciu
3f421b234d
- Gerber Editor: fixed multiple selection with key modifier such that first click selects, second deselects
2019-04-12 00:20:09 +03:00
Marius Stanciu
cc6ff98529
- Gerber Editor: added Add Pad Array tool
...
- Gerber Editor: in Add Pad Array tool, if the pad is not circular type, for circular array the pad will be rotated to match the array angle
2019-04-11 23:08:30 +03:00
Marius Stanciu
036e886af4
- in all Editors, manually deactivating a button in the editor toolbar will automatically select the 'Select' button
...
- fixed Excellon Editor selection: when a tool is selected in Tools Table, all the drills belonging to that tool are selected. When a drill is selected on canvas, the associated tool will be selected without automatically selecting all other drills with same tool
2019-04-11 20:32:40 +03:00
Marius Stanciu
b3aeb497ec
- changed the color of the marked apertures to the global_selection_color
...
- Gerber Editor: added Transformation Tool and Rotation key shortcut
2019-04-11 16:59:21 +03:00
Marius Stanciu
8fb952b6ad
- Gerber Editor: autoincrement aperture code when adding new apertures
...
- Gerber Editor: automatically calculate the size of the rectangular aperture
2019-04-11 03:35:09 +03:00
Marius Stanciu
950bcc3767
- Gerber Editor: added Add Pad (circular or rectangular type only)
2019-04-10 22:52:23 +03:00
Marius Stanciu
7c0cfac8de
- created menu links and shortcut keys for adding a new empty Gerber objects; on update of the edited Gerber, if the source object was an empty one (new blank one) this source obj will be deleted
...
- removed the old apertures editing from Gerber Obj selected tab
2019-04-10 20:31:37 +03:00
Marius Stanciu
28dac56051
- Gerber Editor: added Add Track and Add Region functions
...
- Gerber Editor: fixed key shortcuts
- fixed setting the Layout combobox in Preferences according to the current layout
2019-04-10 17:12:21 +03:00
Marius Stanciu
58abfcb7f7
- fixed above bug in Measurement Tool (but there is a TODO there)
2019-04-10 04:37:03 +03:00
Marius Stanciu
942d9e2b01
- Gerber Editor: finished the selection on canvas; should be used as an template for the other Editors
...
- Gerber Editor: finished the Copy, Aperture Add, Buffer, Scale, Move including the Utility geometry
- Trying to fix bug in Measurement Tool: the mouse events don't disconnect
2019-04-10 03:56:56 +03:00
Marius Stanciu
fbdcb00eb3
- Gerber Editor: working on aperture selection to show on Aperture Table
2019-04-09 17:56:28 +03:00
Marius Stanciu
68a6f64fcd
- Gerber Editor: added buffer and scale tools
2019-04-09 17:30:01 +03:00
Marius Stanciu
57176b7e28
- default values for Jump To function is jumping to origin (0, 0)
2019-04-07 03:43:58 +03:00
Marius Stanciu
5ef11a56cc
- preliminary Gerber Editor.on_aperture_delete()
...
- fixed 'circular reference' error when creating the new Gerber file in Gerber Editor
- preliminary Gerber Editor.on_aperture_add()
2019-04-07 03:05:58 +03:00
Marius Stanciu
da991c103b
- fixed issue with not possible to close the app after a project save.
2019-04-06 01:15:29 +03:00
Marius Stanciu
1307026d83
- fixed bug in Geometry Editor in buffer_int() function that created an Circular Reference Error when applying buffer interior on a geometry.
2019-04-06 01:02:59 +03:00
Marius Stanciu
e8a0fcaef1
- fixed bug in saving the maximized state
...
- fixed bug in applying default language on first start
- on activating 'V' key shortcut (zoom fit) the mouse cursor is now jumping to origin (0, 0)
- fixed bug in saving toolbars state; the file was saved before setting the self.defaults['global_toolbar_view]
2019-04-06 00:10:38 +03:00
Marius Stanciu
13185f3944
- changed the way delayed plot is working in Gerber Editor to use a Qtimer instead of python threading module
...
- WIP in Gerber Editor
2019-04-05 21:18:55 +03:00
Marius Stanciu
788daf9081
- WIP in Gerber Editor: geometry is no longer stored in a Rtree storage as it is not needed
2019-04-05 16:55:47 +03:00
Marius Stanciu
b7fce74ca3
- increased the number of workers in FlatCAM and made the number of workers customizable from Preferences
2019-04-05 16:27:55 +03:00
Marius Stanciu
cefb74d792
- Gerber Editor: made geometry transfer (which is slow) to Editor to be multithreaded
...
- Gerber Editor: plotting process is showed in the status bar
2019-04-05 15:28:32 +03:00
Marius Stanciu
b9a4981cd0
- fixed offset after editing drill diameters in Excellon Editor.
2019-04-04 21:22:45 +03:00
Marius Stanciu
f43bed8c66
- modified the bogus diameters series for Excellon objects that do not have tool diameter info
...
- made Excellon Editor aware of the fact that the Excellon object that is edited has fake (bogus) tool diameters and therefore it will not sort the tools based on diameter but based on tool number
- fixed bug on Excellon Editor: when diameter is edited in Tools Table and the target diameter is already in the tool table, the drills from current tool are moved to the new tool (with new dia) - before it crashed
2019-04-04 20:15:51 +03:00
Marius Stanciu
f177b2db7b
- added support for Excellon file with no info about tool diameters - PCB Wizard Excellon file support
2019-04-04 18:13:39 +03:00
Marius Stanciu
c623b8d63c
- added support for Gerber format specification D (no zero suppression) - PCBWizard Gerber files support
2019-04-04 16:21:26 +03:00
Marius Stanciu
4bbdeaf844
- fixed the camlib.Geometry.import_svg() and camlib.Gerber.bounds() to work when importing SVG files as Gerber
2019-04-04 02:15:59 +03:00
Marius Stanciu
8fc7c0ffc1
- fixed the quit action when denying the save, to save the default values and the QSettings
2019-04-04 01:20:33 +03:00
Marius Stanciu
8fc916b746
- working on Gerber Editor - added the key shortcuts: wip
...
- made saving of the project file non-blocking and also while saving the project file, if the user tries again to close the app while project file is being saved, the app will close only after saving is complete (the project file size is non zero)
2019-04-04 00:47:08 +03:00
Marius Stanciu
06ac0b03b1
- modified the calling of the editor2object() slot function
2019-04-03 20:24:47 +03:00
Marius Stanciu
5e9a27ca45
- added a Gcode end_command: default is M02
2019-04-03 16:14:26 +03:00
Marius Stanciu
0a9148f30a
- fixed plotting in Gerber Editor
...
- working on GUI in Gerber Editor
2019-04-03 16:00:44 +03:00
Marius Stanciu
40c8ef1cf8
- wip in Gerber editor
2019-04-01 02:54:34 +03:00
Marius Stanciu
b202de338f
- fixed errors when the File -> New Project is initiated while an Editor is still active.
...
- the File->Exit action handler is now self.final_save()
2019-04-01 02:47:20 +03:00
Marius Stanciu
bfd7cbdd44
- changed Measuring Tool to use the mouse click release instead of mouse click press; also fixed a bug when using the ESC key.
2019-04-01 00:07:26 +03:00
Marius Stanciu
ecd6472220
- fixed issue #281 by making generation of a convex shape for the freeform cutout in Tool Cutout a choice rather than the default
...
- fixed bug in Tool Cutout, now in manual cutout mode the gap size reflect the value set
2019-03-31 21:52:27 +03:00
Marius Stanciu
79e5cce6f1
- added a fix in the Excellon parser by allowing a comma in the tool definitions between the diameter and the rest
2019-03-30 02:55:11 +02:00
Marius Stanciu
1c1d8bd637
- fix error in plotting Excellon when toggling units
...
- FlatCAM editors now are separated each in it's own file
- fixed TextTool in Geometry Editor so it will open the notebook on activation and close it after finishing text adding
- started to work on a Gerber Editor
2019-03-29 23:45:50 +02:00
Marius Stanciu
c5a77841f8
- update the TCL keyword list
...
- fix on the Gerber parser that makes searching for '%%' char optional when doing regex search for mode, units or image polarity. This allow loading Gerber files generated by the ECAD software TCl4.4
2019-03-29 13:02:53 +02:00
Marius Stanciu
e0417b034b
- modified Gerber parser to copy the follow_geometry in the self.apertures
...
- modified the Properties Tool to show the number of elements in the follow_geometry for each aperture
- modified the copy functions to copy the follow_geometry and also the apertures if it's possible (only for Gerber objects)
2019-03-29 02:13:20 +02:00
Marius Stanciu
ecc2c90f2a
- changed all the info messages that are of type warning, error or success so they have a space added after the keyword
...
- changed the Romanian translation by adding more diacritics
2019-03-29 00:26:00 +02:00
Marius Stanciu
6d9eb10a59
- new feature: added ability to edit MultiGeo geometry (geometry from Paint Tool)
2019-03-28 21:11:37 +02:00
Marius Stanciu
18b636bf03
- About 45% progress in German translation
2019-03-28 16:21:36 +02:00
Marius Stanciu
ffa9095066
- fixed issue #278 . Crash on name change in the Name field in the Selected Tab.
2019-03-27 23:34:10 +02:00
Marius Stanciu
d12a6759c7
- progress in German translation. About 27% done.
2019-03-27 23:01:16 +02:00
Marius Stanciu
209683b2db
- added new feature: user can delete apertures in Advanced mode and then create a new FlatCAM Gerber object
2019-03-27 12:26:19 +02:00
Marius Stanciu
1aabb1c084
- added CNCJob geometry for the holes created by the drills from Excellon objects
2019-03-27 01:21:01 +02:00
Marius Stanciu
0002d32341
- fixed bug: after using Paint Tool shortcut keys are disabled
2019-03-26 22:39:49 +02:00
Marius Stanciu
a7e6914584
- fixed an issue where the Geometry plot function protested that it does not have an parameter that is used by the CNCJob plot function. But both inherit from FaltCAMObj plot function which does not have that parameter so something may need to be changed. Until then I provided a phony keyboard parameter to make that function 'shut up'
2019-03-26 15:53:07 +02:00
Marius Stanciu
a964e6282d
- fixed an module import issue in NCC Tool
...
- minor change (optimization) of the CNCJob UI
- work in progress in German translation ~20%
2019-03-25 22:00:07 +02:00
Marius Stanciu
d7f4b7e6b0
- work in progress in German translation ~7%
...
- after any autocomplete in TCL completer, a space is added
2019-03-25 16:59:12 +02:00
Marius Stanciu
43f89397d7
- added all the TCL keywords in the completer keyword list
2019-03-25 04:26:11 +02:00
Marius Stanciu
f8cbafe84d
- in the TCL completer if the word is already complete don't add it again but add a space
2019-03-25 03:35:26 +02:00
Marius Stanciu
d67700c38b
- changed the autoname for saving Preferences, Project and PNG file
2019-03-22 20:59:02 +02:00
Marius Stanciu
789dcc5da5
- fixed the Gerber.merge() function. When some of the Gerber files have apertures with same id, create a new aperture id for the object that is fused because each aperture id may hold different geometries.
2019-03-22 20:28:43 +02:00
Marius Stanciu
df98007a4a
- fixed an error that created a situation that when saving a project with some of the CNCJob objects disabled, on project reload the CNCJob objects are no longer loaded
2019-03-22 17:56:11 +02:00
Marius Stanciu
9a2279708e
- added an icon and title text for the Toggle Units QMessageBox
2019-03-21 02:02:34 +02:00
Marius Stanciu
99c2ceaaed
- ESC key will trigger normal view if in full screen and the ESC key is pressed
2019-03-21 01:49:49 +02:00
Marius Stanciu
b09f311b5c
- added autocomplete finish with ENTER key for the TCL Shell
...
- made sure that the autocomplete function works only for FlatCAM Scripts
2019-03-20 16:54:03 +02:00
Marius Stanciu
ec75a68976
- autocomplete in Code Editor is finished by hitting either TAB key or ENTER key
2019-03-20 04:05:32 +02:00
Marius Stanciu
0eb3ea0283
- fixed the Gerber.merge() to work for the case when one of the merged Gerber objects solid_geometry type is Polygon and not a list
2019-03-20 03:08:07 +02:00
Marius Stanciu
bebb827bd2
- added autocomplete for Code editor; TODO: needs to be enabled only when doing Scripts, right now is available for everyone.
2019-03-19 03:05:00 +02:00
Marius Stanciu
e57b913b7f
- in Code Editor added shortcut combo key CTRL+SHIFT+V to function as a Special Paste that will replace the '\' char with '/' so the Windows paths will be pasted correctly for TCL Shell. Also doing SHIFT + LMB on the Paste in contextual menu is doing the same.
2019-03-19 02:44:06 +02:00
Marius Stanciu
39eaf12fef
- added ability to run a FlatCAM Tcl script by double-clicking on the file
2019-03-19 01:27:57 +02:00
Marius Stanciu
6e465d97cd
- the Code Editor tab name is changed according to the task; 'save' and 'open' buttons will have filters installed for the QOpenDialog fit to the task
2019-03-19 01:05:25 +02:00
Marius Stanciu
74d1765a95
- added ability to create new scripts and open scripts in FlatCAM Script Editor
2019-03-18 22:59:13 +02:00
Marius Stanciu
b79c26ec4b
- some changes on how the first layout is applied
...
- minor bug fixes (typos from copy/paste from another part of the program)
2019-03-18 03:54:31 +02:00
Marius Stanciu
3daed4cbfb
- made the translations work when the app is frozen with CX_freeze
...
- some formatting changes for the application strings
2019-03-18 03:30:47 +02:00
Marius Stanciu
1c8c973971
- finished translation in Romanian
2019-03-18 01:23:36 +02:00
Marius Stanciu
abfa78d898
- remade the layout in 2Sided Tool
...
- work in progress for translation in Romanian - 91%
2019-03-17 15:47:17 +02:00
Marius Stanciu
fe6fa826ce
- remade the layout in 2Sided Tool
...
- work in progress for translation in Romanian - 91%
2019-03-17 04:35:04 +02:00
Marius Stanciu
46da2dfd1e
- made the layout combobox current item from Preferences -> General window to reflect the current layout
...
- remade the POT translate file
- work in progress in translation for Romanian language 44%
- fix for showing tools by activating them from the Menu - final fix.
2019-03-16 00:59:59 +02:00
Marius Stanciu
c0d21ee4e0
- made the layout combobox current item from Preferences -> General window to reflect the current layout
...
- remade the POT translate file
- work in progress in translation for Romanian language 44%
- fix for showing tools by activating them from the Menu - final fix.
2019-03-14 01:09:06 +02:00
Marius Stanciu
090a3ff8f8
- reverted changes in Tools regarding the toggle effect - now they work as expected
2019-03-11 22:58:27 +02:00
Marius Stanciu
255254a292
- some strings were left outside the translation formatting - fixed
...
- finished the replacement of '_' symbols throughout the app which conflicted with the _() function used by the i18n
2019-03-11 20:00:07 +02:00
Marius Stanciu
e54ee9b569
- fixed the Properties Project menu entry to work on the new way
...
- in Properties tool now the Gerber apertures show the number of polygons in 'solid_geometry' instead of listing the objects
2019-03-11 19:30:38 +02:00
Marius Stanciu
5a4d61ee8f
- grouped all parsers files in flatcamParsers folder
2019-03-11 12:28:44 +02:00
Marius Stanciu
9d33e08ecf
- added a visual cue in Menu -> Edit about the entries to enter the Editor and to Save & Exit Editor. When one is enabled the other is disabled.
...
- grouped all the UI files in flatcamGUI folder
2019-03-11 12:23:26 +02:00
Marius Stanciu
29722de6ac
- fixed the Properties Project menu entry to work on the new way
...
- in Properties tool now the Gerber apertures show the number of polygons in 'solid_geometry' instead of listing the objects
2019-03-11 03:31:33 +02:00
Marius Stanciu
91549587e2
- changed some icons here and there
2019-03-11 02:08:29 +02:00
Marius Stanciu
f51c146f71
- fixed an issue created by the fact that I used the '_' char inside the app to designate unused info and that conflicted with the _() function used by gettext
...
- made impossible to try to reapply current language that it's already applied (un-necessary)
2019-03-11 00:41:49 +02:00
Marius Stanciu
3c2cc96b62
- updated the App.final_save() function
2019-03-10 23:56:06 +02:00
Marius Stanciu
68cadb08ce
- fixed some issues with ToolMeasurement due of above changes
2019-03-10 17:21:45 +02:00
Marius Stanciu
a6e23b28a7
- fix app crash for the case that there are no translation files
...
- fixed some forgotten strings to be prepared for internationalization in ToolCalculators
- fixed Tools menu no longer working due of changes
- added some test translation for the ToolCalculators (in Romanian)
- fixed bug in ToolCutOut where for each tool invocation the signals were reconnected
2019-03-10 17:12:58 +02:00
Marius Stanciu
ffd707ccce
- comment changes on the file licenses (added major contributor names)
2019-03-10 15:22:16 +02:00
Marius Stanciu
53627b566c
- added a fix in the Gerber parser when adding the geometry in the self.apertures dict for the case that the current aperture is None (Allegro does that)
...
- finished support for internationalization by adding a set of .po/.mo files for the English language. Unfortunately the final action can be done only when Beta will be out of Beta (no more changes) or when I will decide to stop working on this app.
- changed the tooltip for 'feedrate_rapids' parameter to point out that this parameter is useful only for the Marlin postprocessor
2019-03-10 14:34:13 +02:00
Marius Stanciu
de79370fb3
- sorted the languages in the Preferences combobox
2019-03-09 00:34:04 +02:00
Marius Stanciu
bfb04d5bee
- finished preparing for internationalization for the files: FlatCAMObj, ObjectUI
2019-03-09 00:12:38 +02:00
Marius Stanciu
fc7076e2c6
- finished preparing for internationalization for the files: FlatCAMEditor, FlatCAMGUI
2019-03-08 23:13:09 +02:00
Marius Stanciu
ebdcf0bbba
- fixed tools shortcuts not working anymore due of the new toogle parameter for the .run().
2019-03-08 17:18:04 +02:00
Marius Stanciu
a4ae0f65ca
- finished preparing for internationalization for the files: camlib and objectColletion
2019-03-08 17:04:53 +02:00
Marius Stanciu
4422aee5df
- fix for issue #262 : when doing Edit-> Save & Close Editor on a Geometry that is not generated through first entering into an Editor, the geometry disappear
2019-03-08 16:28:55 +02:00
Marius Stanciu
6ba037fd83
- fixed issue when doing th CTRL (or SHIFT) + LMB, the focus is automatically moved to Project Tab
...
- further work in internationalization, added a fallback to English language in case there is no translation for a string
2019-03-08 14:10:23 +02:00
Marius Stanciu
328182d863
- made sure that when the Measuring Tools is active after last click the Status bar is no longer deleted
2019-03-08 01:42:01 +02:00
Marius Stanciu
574184f44c
- fixed Measuring Tool - after doing a measurement the Notebook was switching to Project Tab without letting the user see the results
...
- more work on the translation engine; the app now restarts after a language is applied
- added protection against using Travel Z parameter with negative or zero value (in Geometry).
2019-03-08 01:32:18 +02:00
Marius Stanciu
934d971002
- WIP for internationalization
2019-03-07 18:04:11 +02:00
Marius Stanciu
94d2fb23e2
- made showing a shape when hovering over objects, optional, by adding a Preferences -> General parameter
...
- starting to work in internationalization using gettext()
- Finished adding _() in FlatCAM Tools
2019-03-07 17:37:38 +02:00
Marius Stanciu
b20a6a1a85
- modified the way the FlatCAM Tools are run from toolbar as opposed of running them from other sources
...
- some Gerber UI changes
2019-03-06 15:22:35 +02:00
Marius Stanciu
996b63cf4e
- modified the grbl-laser postprocessor lift_code()
...
- treated an error created by Z_Cut parameter being None
- changed the hover and selection box transparency
2019-03-04 21:19:55 +02:00
Marius Stanciu
d775e999fe
- remade the CutOut Tool
...
- finished Manual Cutout Tool by adding utility geometry to the cutting geometry
- added CTRL + click behavior for adding manual bridge gaps in Cutout Tool
- in Tool Cutout added shortcut key 'Escape' to cancel the current adding of bridge gaps
2019-03-04 16:09:41 +02:00
Marius Stanciu
2eccb61660
- starting to work on Manual Cutout Tool
2019-03-04 05:10:58 +02:00
Marius Stanciu
90ff773546
- fixed Excellon object move and all the other transformations
2019-03-04 04:41:04 +02:00
Marius Stanciu
85ff3805ae
- finished work on object hovering
2019-03-04 03:52:12 +02:00
Marius Stanciu
06fb48eb6a
- minor UI changes for Gerber UI
...
- ~~after an object move, the apertures plotted shapes are deleted from canvas and the 'mark all' button is deselected~~
- after move tool action or any other transform (rotate, skew, scale, mirror, offset), the plotted apertures are kept plotted.
- changing units now will convert all the default values from one unit type to another
- prettified the selection shape and the moving shape
- initial work in object hovering shape
2019-03-04 03:47:19 +02:00
Marius Stanciu
d79d6cf2bc
- minor UI changes for Gerber UI
...
- after an object move, the apertures plotted shapes are deleted from canvas and the mark all button is deselected
- fixed offset, rotate, scale, skew for follow_geometry. Fixed the move tool also.
- fixed offset, rotate, scale, skew for 'solid_geometry' inside the self.apertures.
2019-03-03 16:35:15 +02:00
Marius Stanciu
9f60df850e
- progress in ToolChange Custom commands replacement and rename
2019-02-28 18:02:29 +02:00
Marius Stanciu
546f643035
- added a change that when a double click is performed in a object on canvas resulting in a selection, if the notebook is hidden then it will be displayed
2019-02-28 16:39:44 +02:00
Marius Stanciu
ee23a31d50
- added some protections for the FlatCAM Tools run after an object was loaded
2019-02-28 04:28:38 +02:00
Marius Stanciu
7635687d30
- upgraded the Tool Cutout when done from Gerber file to create a convex_hull around the Gerber file rather than trying to isolate it
2019-02-28 04:22:52 +02:00
Marius Stanciu
1839843fad
- added toggle effect for the tools in the toolbar.
...
- enhanced the toggle effect for the tools in the Tools Toolbar and also for Notebook Tab selection: if the current tool is activated it will toggle the notebook side but only if the installed widget is itself. If coming from another tool, the notebook will stay visible
2019-02-27 17:32:52 +02:00
Marius Stanciu
fb6edfc394
- made the Custom ToolChange Text area in CNCJob Selected Tab depend on the status of the ToolChange Enable Checkbox even in the init stage.
...
- added some parameters throughout camlib gcode generation functions; handled some possible errors (e.g like when attempting to use an empty Custom GCode Toolchange)
2019-02-27 01:45:32 +02:00
Marius Stanciu
18132eab4c
- made the polygon fusing in modified Gerber creation, a list comprehension in an attempt for optimization
...
- when right clicking the files in Project tab, the Save option for Excellon no longer export it but really save the original.
2019-02-27 00:14:53 +02:00
Marius Stanciu
7b4ea1dfa9
- added a Mark All button in the Gerber aperture table.
...
- because adding shapes to the shapes collection (when doing Mark or Mark All) is time consuming I made the plot_apertures() threaded.
2019-02-26 23:12:15 +02:00
Marius Stanciu
5cade2ec4e
- fixed mouse selection on canvas, mouse drag, mouse click and mouse double click
2019-02-26 21:37:43 +02:00
Marius Stanciu
874ce11d84
- work in progress to Toolchange_Custom code replacememnt -> finished the parse and replace function
2019-02-26 17:03:57 +02:00
Marius Stanciu
00340287a4
- fixed the geometry adding to the self.apertures in the case when regions are done without declaring any aperture first (Allegro does that). Now, that geometry will be stored in the '0' aperture with type REG
2019-02-26 13:22:43 +02:00
Marius Stanciu
74ecbabf1f
- added a function to read the parameters from ToolChange macro Text Box (I need to move it from CNCJob to Excellon and Geometry)
2019-02-26 02:24:56 +02:00
Marius Stanciu
386c3408ca
- added in Preferences a new Category: Gerber Advanced Options. For now it controls the display of Gerber Aperture Table and the "follow" attribute4
...
- fixed FlatCAMGerber.merge() to merge the self.apertures[ap]['solid_geometry'] too
- started to work on a new feature that allow adding a ToolChange GCode macro - GUI added both in CNCJob Selected tab and in CNCJob Preferences
- added a limited 'sort-of' Gerber Editor: it allows buffering and scaling of apertures
2019-02-26 00:33:31 +02:00
Marius Stanciu
11ef818f0d
- more modifications for the Gerber UI layout; made 'follow' an advanced Gerber option
2019-02-25 19:42:56 +02:00
Marius Stanciu
d43de2ea77
- fixed the Gerber object UI layout
...
- added ability to mark individual apertures in Gerber file using the Gerber Aperture Table
2019-02-25 16:28:32 +02:00
Marius Stanciu
a25fc1e88c
- fixed bug in Set Origin function
2019-02-24 17:10:01 +02:00
Marius Stanciu
8acb3b782d
- fixed bug that after changing the layout all the toolbar actions are no longer working
2019-02-24 16:43:46 +02:00
Marius Stanciu
fac11586b3
- added all the Tools in a new ToolBar
2019-02-24 16:22:21 +02:00
Marius Stanciu
4d8eefb92d
- fixed the Set To Origin function when Escape was clicked
2019-02-24 01:57:47 +02:00
Marius Stanciu
322a63ef3b
- ability to double click the FlatConfig files and open them in the FlatCAM Code Editor - fixed and verified
2019-02-23 22:16:53 +02:00
Marius Stanciu
1cab33314f
- reverted a change in GCode that might affect Gerber polarity change in Gerber parser
2019-02-23 21:32:13 +02:00
Marius Stanciu
14dc34a18c
- when saving a file from Code Editor and there is no object active then the OpenFileDialog filters are reset to FlatConfig files.
2019-02-23 20:39:38 +02:00
Marius Stanciu
88c9001784
- added a Toggle Code Editor Menu and key shortcut
...
- added the ability to open FlatConfig configuration files in COde Editor, Modify them and then save them.
- added ability to double click the FlatConfig files and open them in the FlatCAM Code Editor (to be verified)
2019-02-23 20:27:26 +02:00
Marius Stanciu
6d0ed52308
- prettified the defaults files and the recent file. Now they are ordered and human readable
2019-02-23 19:06:20 +02:00
Marius Stanciu
2291a58727
- fixed a small bug in the Tool Solder Paste: the App don't take into consideration pads already filled with solder paste.
2019-02-23 18:51:42 +02:00
Marius Stanciu
568d97d899
- added protection, not allowing the user to make a Paint job on a MultiGeo geometry (one that is converted in the Edit -> Conversion menu)) because it is not supported
2019-02-23 16:25:16 +02:00
Marius Stanciu
3bad47b3be
- updated the Properties Tool to include more information's, also details if a Geometry is of type MultiGeo or SingleGeo
...
- remade the Preferences GUI to include the Advanced Options in a separate way so it is obvious which are displayed when App Level is Advanced.
2019-02-23 16:02:45 +02:00
Marius Stanciu
adcafb7cac
- remade the SolderPaste geometry generation function in ToolSoderPaste to work in certain scenarios where the Gerber pads in the SolderPaste mask Gerber may be just pads outlines
2019-02-23 13:48:18 +02:00
Marius Stanciu
92c02bc6a1
- cleaned up the imports in ToolSolderPaste
2019-02-23 06:38:02 +02:00
Marius Stanciu
2843810ab3
- some GUI elements changes
2019-02-23 06:11:42 +02:00
Marius Stanciu
21f970204e
- added the ability of context menu inside the GuiElements.FCCombobox() object.
...
- remade the UI for ToolSolderPaste. The object comboboxes now have context menu's that allow object deletion. Also the last object created is set as current item in comboboxes.
2019-02-23 03:38:39 +02:00
Marius Stanciu
a67e31bda3
- added ability to toggle globally the display of ToolTips. Edit -> Preferences -> General -> Enable ToolTips checkbox.
...
- added true fullscreen support (for Windows OS)
2019-02-22 22:23:29 +02:00
Marius Stanciu
7272b46dd9
- added Repetier postprocessor file
...
- removed "added ability to regenerate objects (it's actually deletion followed by recreation)" because of the way Python pass parameters to functions by reference instead of copy
2019-02-22 16:54:58 +02:00
Marius Stanciu
60b08dfec5
- date changed
2019-02-22 03:28:56 +02:00
Marius Stanciu
18f38999c4
- added ability to regenerate objects (it's actually deletion followed by recreation)
2019-02-22 03:28:04 +02:00
Marius Stanciu
45b5cba68a
- fixed issue with not updating correctly the plot kind (all, cut, travel) when clicking in the CNC Tools Table plot buttons
...
- made the GCode Editor for ToolSolderPaste clear the text before updating the Code Editor tab
- all the Tabs in Plot Area are closed (except Plot Area itself) on New Project creation
2019-02-22 00:37:57 +02:00
Marius Stanciu
d453c31bf5
- finished work in ToolSolderPaste
2019-02-21 23:48:13 +02:00
Marius Stanciu
d5768d3b34
- creating the camlib functions for the ToolSolderPaste gcode generation functions
2019-02-21 17:07:38 +02:00
Marius Stanciu
48e54a0655
- added protection against trying to create a CNCJob from a solder_paste dispenser geometry. This one is different than the default Geometry and can be handled only by SolderPaste Tool.
...
- ToolSoderPaste tools (nozzles) now have each it's own settings
2019-02-21 14:23:34 +02:00
Marius Stanciu
7a5196207f
- some work in the Gcode generation function in Tool SolderPaste
2019-02-21 03:11:22 +02:00
Marius Stanciu
9557e1af60
- added protection against creating CNCJob from an empty Geometry object (with no geometry inside)
...
- changed the shortcut key for YouTube channel from F2 to key F4
- changed the way APP LEVEL is showed both in Edit -> Preferences -> General tab and in each Selected Tab. Changed the ToolTips content for this.
- added the functions for GCode View and GCode Save in Tool SolderPaste
2019-02-21 03:04:38 +02:00
Marius Stanciu
4ab2374903
- added protection against creating CNCJob from an empty Geometry object (with no geometry inside)
...
- changed the shortcut key for YOuTube channel from F2 to key F4
2019-02-21 01:14:55 +02:00
Marius Stanciu
f62e7e51fd
- finished the Edit -> Preferences defaults section
...
- finished the UI, created the postprocessor file template
- finished the multi-tool solder paste dispensing: it will start using the biggest nozzle, fill the pads it can, and then go to the next smaller nozzle until there are no pads without solder.
2019-02-20 22:46:46 +02:00
Marius Stanciu
448f34c090
- finished added a Tool Table for Tool SolderPaste
...
- working on multi tool soder paste dispensing
2019-02-20 17:10:43 +02:00
Marius Stanciu
3ee6eb4a87
- fixed a bug in rotate from shortcut function
...
- finished generating the solder paste dispense geometry
2019-02-20 03:27:17 +02:00
Marius Stanciu
89052379b2
- started to work on Solder Paste Dispensing Tool
2019-02-19 17:48:24 +02:00
Marius Stanciu
4dbecde32f
- added a new setting in Edit -> Preferences -> General that allow to select the type of saving for the FlatCAM project: either compressed or uncompressed. Compression introduce an time overhead to the saving/restoring of a FlatCAM project.
2019-02-19 15:59:19 +02:00
Marius Stanciu
9d0bcf477a
- removed the Open Gerber with 'follow' menu entry and also the open_gerber Tcl Command attribute 'follow'. This is no longer required because now the follow_geometry is stored by default in a Gerber object attribute gerber_obj.follow_geometry
...
- added a new parameter for the Tcl CommandIsolate, named: 'follow'. When follow = 1 (True) the resulting geometry will follow the Gerber paths.
2019-02-19 14:53:55 +02:00
Marius Stanciu
d998b87601
- fixed issue with not loading old projects that do not have certain information's required by the new versions of FlatCAM
...
- compacted a bit more the GUI for Gerber Object
2019-02-19 13:00:38 +02:00
Marius Stanciu
7f65cf628d
- added the ability to compress the FlatCAM project on save with LZMA compression. There is a setting in Edit -> Preferences -> Compression Level between 0 and 9. 9 level yields best compression at the price of RAM usage and time spent.
...
- made FlatCAM able to load old type (uncompressed) FlatCAM projects
2019-02-19 01:22:17 +02:00
Marius Stanciu
783604f2aa
- made the output of Panelization Tool a choice out of Gerber and Geometry type of objects. Useful for those who want to engrave multiple copies of the same design.
2019-02-18 23:47:59 +02:00
Marius Stanciu
7c2d8ff28e
- added Tool Transform preferences in Edit -> Preferences and used them through out the app
2019-02-18 22:48:28 +02:00
Marius Stanciu
88a0be7cf1
- modified the GUI in Objects Selected Tab to accommodate 2 different modes: basic and Advanced. In Basic mode, some of the functionality's are hidden from the user.
2019-02-18 21:19:57 +02:00
Marius Stanciu
8c882cfdc4
- made the app not remember the window size if the app is maximized and remember in QSettings if it was maximized. This way we can restore the maximized state but restore the windows size unmaximized
...
- added a button to clear de GUI preferences in Preferences -> General -> Gui Settings -> Clear GUI Settings
- added key shortcuts for the shape transformations within Geometry Editor: X, Y keys for Flip(mirror), SHIFT+X, SHIFT+Y combo keys for Skew and ALT+X, ALT+Y combo keys for Offset
- adjusted the plotcanvas.zomm_fit() function so the objects are better fit into view (with a border around)
2019-02-18 19:35:18 +02:00
Marius Stanciu
bb8dcb37b9
- fixed a bug in Tool Transform that made the user to not be able to capture the click coordinates with SHIFT + LMB click combo
...
- added the ability to choose an App QStyle out of the offered choices (different for each OS) to be applied at the next app start (Preferences -> General -> Gui Pref -> Style Combobox)
- added support for FlatCAM usage with High DPI monitors (4k). It is applied on the next app startup after change in Preferences -> General -> Gui Pref -> HDPI Support Checkbox
2019-02-18 16:11:24 +02:00
Marius Stanciu
3d5c6840aa
- finished adding Transform Tool in Geometry Editor - everything is working as intended
2019-02-18 05:20:09 +02:00
Marius Stanciu
eece2fbe56
- in Geometry Editor by selecting a shape with a selection shape, that object was added multiple times (one per each selection) to the selected list, which is not intended. Bug fixed.
2019-02-18 04:20:36 +02:00
Marius Stanciu
cc2fe29942
- fixed an issue where the function handler that changed the layout had a parameter changed accidentally by an index value passed by the 'activate' signal to which was connected
...
- fixed bug in paint function in Geometry Editor that didn't allow painting due of overlap value
- added protections again wrong values for the Buffer and Paint Tool in Geometry Editor
- the Paint Tool in Geometry Editor will load the default values from Tool Paint in Preferences
- when the Tools in Geometry Editor are activated, the notebook with the Tool Tab will be unhidden. After execution the notebook will hide again for the Buffer Tool.
- changed the font in Tool names
- added in Geometry Editor a new Tool: Transformation Tool. It still has some bugs, though ...
2019-02-18 03:45:34 +02:00
Marius Stanciu
032f68a848
- added ability to save the Gerber file content that is stored in FlatCAM on Gerber file loading. It's useful to recover from saved FlatCAM projects when the source files are no longer available.
2019-02-17 16:05:06 +02:00
Marius Stanciu
0f66e63526
- when deselecting an object in Project menu the status bar selection message is deleted
2019-02-17 15:39:46 +02:00
Marius Stanciu
8eff3206b2
- when pressing Escape in Geometry Editor it will automatically deselect any shape not only the currently selected tool.
2019-02-17 15:16:57 +02:00
Marius Stanciu
b717b60d45
- in Editors, if the modifier key set in Preferences (CTRL or SHIFT key) is pressed at the end of one tool operation it will automatically continue to that action until the modifier is no longer pressed when Select tool will be automatically selected.
...
- in Geometry Editor, on entry the notebook is automatically hidden and restored on Geometry Editor exit.
2019-02-17 15:06:43 +02:00
Marius Stanciu
5a631a2881
- fixed issue where after loading a project, if the default kind of CNCjob view is only 'cuts' the plot will revert to the 'all' type
2019-02-16 23:39:19 +02:00
Marius Stanciu
941cec30ae
- Serialized the source_file of the Objects so it is saved in the FlatCAM project and restored.
...
- if there is a single tool in the tool list (Geometry , Excellon) and the user click the Generate GCode, use that tool even if it is not selected
2019-02-16 21:03:27 +02:00
Marius Stanciu
326599e4a3
- changed some status bar messages
...
- New feature: added the capability to view the source code of the Gerber/Excellon file that was loaded into the app. The file is also stored as an object attribute for later use. THe view option is in the project context menu and in Menu -> Options -> View Source
2019-02-16 19:47:50 +02:00
Marius Stanciu
4f882c821e
- changed the initial layout to 'compact'
...
- updated the install scripts to uninstall a previously installed FlatCAM Beta (that has the same GUID)
2019-02-16 16:19:57 +02:00
Marius Stanciu
71d8b2df36
- fixed Excellon parser to detect correctly the units and zeros for Excellon's generated by Eagle 9.3.0
...
- modified the initial size of the canvas on startup
- modified the build file (make_win.py) to solve the issue with suddenly not accepting the version as Beta
2019-02-16 14:43:26 +02:00
Marius Stanciu
b6d36bb86d
- fixed DblSided Tool issue when entering Tool diameter values with comma decimal separator instead of decimal dot separator
...
- fixed Cutout Tool Freeform to generate cutouts with options: LR, TB. 2LR, 2TB which didn't worked previously
2019-02-16 12:40:44 +02:00
Marius Stanciu
ffb7931adb
- added messages in info bar when selecting objects in the Project View list
...
- fixed DblSided Tool so it correctly creates the Alignment Drills Excellon file using the new structure
- fixed DblSided Tool so it will not crash the app if the user tries to make a mirror using no coordinates
- added some relevant status bar messages in DblSided Tool
- fixed DblSided Tool to correctly use the Box object (until now it used as reference only Gerber object in spite of Excellon or Geometry objects being available)
- fixed DblSided Tool crash when trying to create Alignment Drills object without a Tool diameter specified
2019-02-16 12:22:07 +02:00
Marius Stanciu
3293223991
- added the 'Save' menu entry to the Project context menu, for CNCJob: it will export the GCode.
2019-02-16 03:01:54 +02:00
Marius Stanciu
31f36fd01e
- small change in tab width so the tabs looks good in Linux, too.
2019-02-16 02:45:58 +02:00
Marius Stanciu
679b33fa72
- updated the Excellon plot function so it can plot the Excellon's from old projects
...
- removed the message boxes that popup on Excellon Export errors and replaced them with status bar messages
2019-02-16 01:52:20 +02:00
Marius Stanciu
367d6f3155
- reworked the offer to save a project so it is done only if there are objects in the project but those objects are new and/or are modified since last project load (if an old project was loaded.)
2019-02-16 00:29:54 +02:00
Marius Stanciu
e717cb8f15
- remade the Excellon export function to work with parameters entered in Edit -> Preferences -> Excellon Export
...
- added a new entry in the Project Context Menu named 'Save'. It will actually work for Geometry and it will do Export DXF and for Excellon and it will do Export Excellon
2019-02-15 23:35:23 +02:00
Marius Stanciu
aea67a4a1d
- rearranged the FIle and Edit menu's and added some explanatory tooltips on certain menu items that could be seen as cryptic
...
- added Excellon Export Options in Edit -> Preferences
- started to work in using the Excellon Export parameters
2019-02-15 16:41:42 +02:00
Marius Stanciu
a978b5621d
- the notebook is automatically collapsed when there are no objects in the collection and it is showed when adding an object
...
- added new options in Edit -> Preferences -> General -> App Preferences to control if the Notebook is showed at startup and if the notebook is closed when there are no objects in the collection and showed when the collection has objects.
2019-02-15 01:48:34 +02:00
Marius Stanciu
098de7f030
- added shortcut key 'J' (jump to location) in Editors and added an icon to the dialog popup window
2019-02-15 00:23:29 +02:00
Marius Stanciu
fa0ee40e90
- in Gerber aperture table now the values are displayed in the current units set in FlatCAM
2019-02-14 23:21:20 +02:00
Marius Stanciu
8f7d169e9c
- when linked, the grid snap on Y will copy the value in grid snap on X in real time
2019-02-14 22:12:12 +02:00
Marius Stanciu
cda10998e8
- updated the function for the project context menu 'Generate CNC' menu entry (Action) to use the modernized function FlatCAMObj.FlatCAMGeometry.on_generatecnc_button_click()
2019-02-14 21:33:42 +02:00
Marius Stanciu
b84f56545e
- remade the Grids context menu (right mouse button click on canvas). Now it has values linked to the units type (inch or mm). Added ability to add or delete grid values and they are persistent.
2019-02-14 20:08:56 +02:00
Marius Stanciu
a879803f97
- added 'FlatCAM ' prefix to any detached tab, for easy identification
2019-02-14 13:50:58 +02:00
Marius Stanciu
3a05ebaffb
- added total travel distance for CNCJob object created from Excellon Object in the CNCJob Selected tab
2019-02-14 01:21:24 +02:00
Marius Stanciu
e091fd232d
- added (and commented) an experimental FlatCAMObj.FlatCAMGerber.plot_apertures()
2019-02-14 00:09:48 +02:00
Marius Stanciu
15b533f25e
- made the Gerber aperture table not visibile as default and added a checkbox that can toggle the visibility
...
- fixed issue with plotting in CNCJob; with Plot kind set to something else than 'all' when toggling Plot, it was defaulting to kind = 'all'
2019-02-13 23:48:43 +02:00
Marius Stanciu
f3b1b45968
- changed the layout in the Selected Tab UI
...
- started to add apertures table support
- finished Gerber aperture table display
2019-02-13 17:26:21 +02:00
Marius Stanciu
899e8b433d
- added new parameter for Excellon Object in Preferences: Fast Retract. If the checkbox is checked then after reaching the drill depth, the drill bit will be raised out of the hole asap.
...
- started to work on GUI forms simplification
- changed the Preferences GUI for Geometry and Excellon Objects to make a difference between parameters that are changed often and those that are not.
2019-02-13 14:30:29 +02:00
Marius Stanciu
c94679919d
- stored solid_geometry of Excellon object in the self.tools dictionary
...
- finished the solid_geometry restore after edit in Excellon Editor
- finished plotting selection for each tool in the Excellon Tool Table
- fixed the camlib.Excellon.bounds() function for the new type of Excellon geometry therefore fixed the canvas selection, too
2019-02-13 01:22:09 +02:00
Marius Stanciu
02793f7ae2
- starting to work on storing the solid_geometry for each tool in part in Excellon Object
2019-02-12 16:55:43 +02:00
Marius Stanciu
9b61e4cc37
- finished work on Offset parameter in Excellon Object (Excellon Editor, camlib, FlatCAMObj updated to take this param in consideration)
...
- fixed a bug where in Excellon editor when editing a file, a tool was automatically added. That is supposed to happen only for empty newly created Excellon Objects.
2019-02-12 15:12:12 +02:00
Marius Stanciu
d0641458e4
- whenever a FlatCAM tool is activated, if the notebook side is hidden it will be unhidden
...
- reactivated the Voronoi classed
- added a new parameter named Offset in the Excellon tool table - work in progress
2019-02-12 04:00:11 +02:00
Marius Stanciu
4609f61546
- changes in Toolchange_Probe_MACH3 postprocessor file
2019-02-10 23:36:59 +02:00
Marius Stanciu
8cedc0cad9
- added a pause and message/warning to do a rough zero for the Z axis, in case of Toolchange_Probe_MACH3 postprocessor file
2019-02-10 23:04:37 +02:00
Marius Stanciu
e8b9555a94
- added a strong focus to the object_name entry in the Selected tab
...
- the keypad keyPressed are now detected correctly
2019-02-10 22:55:51 +02:00
Marius Stanciu
f01ac4483a
- adjusted the postprocessor files so the Spindle Off command (M5) is done before the move to Toolchange Z
...
- adjusted the Toolchange Manual postprocessor file to have more descriptive messages on the toolchange event
2019-02-10 13:42:22 +02:00
Marius Stanciu
f35994a712
- repurposed shortcut key 'Delete' to delete tools in tooltable when the mouse is over the Seleted tab (with Geometry inside) or in Tools tab (when NCC Tool or Paint Tool is inside). Or in Excellon Editor when mouse is hovering the Selected tab selecting a tool, 'Delete' key will delete that tool, if on canvas 'Delete' key will delete a selected shape (drill). In rest, will delete selected objects.
2019-02-10 02:09:05 +02:00
Marius Stanciu
b68a010bde
- the SELECTED type of messages are no longer printed to shell from 2 reasons: first, too much spam and second, issue with displaying html
...
- on set_zero function and creation of new geometry or new excellon there is no longer a zoom fit
2019-02-09 19:44:01 +02:00
Marius Stanciu
59e12cf295
- fixed an error in Excellon Editor -> add drill array that could appear by starting the function to add a drill array by shortcut before any mouse move is registered while in Editor
...
- changed the messages from status bar on new object creation/selection
- in Geometry Editor fixed the handler for the Rotate shortcut key ('R')
2019-02-09 16:00:47 +02:00
Marius Stanciu
8665b1d8c3
- added into Preferences the Calculator Tools
...
- made the Preferences window scrollable on the horizontal side (it was only vertically scrollable before)
- made invisible some buttons that could mislead (the ones for slots converted to drills which I deem unsafe)
2019-02-09 11:52:08 +02:00
Marius Stanciu
d17fc12196
- added a protection for when saving a file first time, it require a saved path and if none then it use the current working directory
2019-02-09 01:58:08 +02:00
Marius Stanciu
8b0a9a429a
- fixed some errors
2019-02-09 01:47:59 +02:00
Marius Stanciu
da7029dc0b
- if trying to add a tool using shortcut key 'T' with value zero the app will react with a message telling to use a non-zero value.
2019-02-09 01:18:03 +02:00
Marius Stanciu
8f000c0a18
- in Excellon Editor added a protection for Tool_dia field in case numbers using comma as decimal separator are used. Also added a QDoubleValidator forcing a number with max 4 decimals and from 0.0000 to 9.9999
...
- in Excellon Editor added a shortcut key 'T' that popup a window allowing to enter a new Tool with the set diameter
- in App added a shortcut key 'T' that popup a windows allowing to enter a new Tool with set diameter only when the Selected tab is on focus and only if a Geometry object is selected
- changed the shortcut key for Transform Tool from 'T' to 'ALT+T'
- fixed bug in Geometry Selected tab that generated error when used tool offset was less than half of either total length or half of total width. Now the app signal the issue with a status bar message
- added Double Validator for the Offset value so only float numbers can be entered.
- in App added a shortcut key 'T' that popup a windows allowing to enter a new Tool with set diameter only when the Tool tab is on focus and only if a NCC Tool or Paint Area Tool object is installed in the Tool Tab
2019-02-09 00:08:54 +02:00
Marius Stanciu
824b1a95ab
- moved all shortcut keys handlers from Editors to the keyPressEvent() handler from FLatCAMGUI
2019-02-08 16:57:51 +02:00
Marius Stanciu
2be35e4248
- fixed errors in Toggle Axis
...
- fixed error with shortcut key triggering twice the keyPressEvent when in the Project List View
2019-02-08 15:55:32 +02:00
Marius Stanciu
f39fea072c
- when shortcut keys 1, 2, 3 (tab selection) are activated, if the splitter left side (the notebook) is hidden it will be mae visible
...
- changed the menu entry Toggle Grid name to Toggle Grid Snap
2019-02-08 14:55:50 +02:00
Marius Stanciu
5b75d416ec
- moved some graphical classes out of Tool Shell to GUIElements.py where they belong
...
- when selecting an object on canvas by single click, it's name is displayed in status bar. When nothing is selected a blank message (nothing) it's displayed
- in Move Tool I've added the type of object that was moved in the status bar message
- color coded the status bar bullet to blue for selection
- the name of the selected objects are displayed in the status bar color coded: green for Gerber objects, Brown for Excellon, Red for Geometry and Blue for CNCJobs.
2019-02-07 22:37:51 +02:00
Marius Stanciu
c888303146
- added a new function and the shortcut 'leftquote' (left of Key 1) for toggle of the notebook section
...
- changed the Shortcut list shortcut key to F3
2019-02-07 20:39:37 +02:00
Marius Stanciu
07ae0c9c8b
- small changes in Tools layout
2019-02-07 17:03:06 +02:00
Marius Stanciu
ab026a1a9d
- added a disable menu entry in the canvas contextual menu
2019-02-07 03:16:29 +02:00
Marius Stanciu
6c6a802afb
- commented some debug messages
...
- imported speedups for shapely
2019-02-07 01:36:37 +02:00
Marius Stanciu
700222d5dc
- in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object
2019-02-07 00:53:51 +02:00
Marius Stanciu
1a8db0b5d9
- fixed the Tcl Command Geocutout to work with Gerber objects too (besides Geometry objects)
2019-02-06 22:32:32 +02:00
Marius Stanciu
2ee80990e5
- added a new function (and shortcut key Escape) that when triggered it deselects all selected objects and delete the selection box(es)
...
- fixed bug in Excellon Gcode generation that made the toolchange X,Y always none regardless of the value in Preferences
2019-02-06 21:37:50 +02:00
Marius Stanciu
9dfbae7515
- added plot kind for CNC Job in the App Preferences
2019-02-06 20:29:53 +02:00
Marius Stanciu
05ae92726c
- renamed the theme to layout because it is really a layout change
...
- combined the geocutout and cutout_any TCL commands - work in progress
2019-02-06 16:59:17 +02:00
Marius Stanciu
8bbb9ba534
- all kwy shortcuts work across the entire application; started to move all the shortcuts definitions in FlatCAMGUI.keyPressEvent()
2019-02-06 16:23:09 +02:00
Marius Stanciu
67d089832e
- all kwy shortcuts work across the entire application; started to move all the shortcuts definitions in FlatCAMGUI.keyPressEvent()
2019-02-06 14:44:16 +02:00
Marius Stanciu
28f11ef55f
- small bugs related to shortcut keys solved
2019-02-06 14:27:11 +02:00
Marius Stanciu
dedf8c09de
- fixed the name self-insert in save dialog file for GCode; added protection in case the save path is None
...
- fixed FlatCAM crash when trying to make drills GCode out of a file that have only slots.
- made the shell toggle shortcut key work when focused on Selected Tab; toggle units shortcut also
- changed the messages for Units COnversion
2019-02-06 14:03:59 +02:00
Marius Stanciu
b589292c0f
- fixed bug in Excellon Slots milling: a value of a dict key was a string instead to be an int. A cast to integer solved it.
2019-02-06 02:17:29 +02:00
Marius Stanciu
299a6585a7
- done a regression on Tool Tab default text. It somehow delete Tools in certain scenarios so I got rid of it
...
- fixed bug in multigeometry geometry not having the bounds in self.options and crashing the GCode generation
- fixed bug that crashed whole application in case that the GCode editor is activated on a Tool gcode that is defective.
2019-02-06 00:16:14 +02:00
Marius Stanciu
2ea2ed0cb0
- fixed the units calculators crash FlatCAM when using comma as decimal separator
2019-02-05 22:32:48 +02:00
Marius Stanciu
3b8b7d470a
- added a new parameter to set the feedrate of the probing in case the used postprocessor does probing (has toolchange_probe in it's name)
...
- fixed bug in Marlin postprocessor for the Excellon files; the header and toolchange event always used the parenthesis witch is not compatible with GCode for Marlin
- fixed a issue with a move to Z_move before any toolchange
2019-02-05 19:40:46 +02:00
Marius Stanciu
822800e7f5
- added a way to set the Probe depth if Toolchange_Probe postprocessors are selected
...
- finished the postprocessor file for MACH3 tool probing on toolchange event
2019-02-05 16:43:12 +02:00
Marius Stanciu
ed6d262780
- added an initial text in the Tools tab
...
- added possibility to use the shortcut key for shortcut list in the Notebook tabs
2019-02-05 13:37:49 +02:00
Marius Stanciu
bd3cb3aba3
- added a text in the Selected Tab which is showed whenever the Selected Tab is selected but without having an object selected to display it's properties
2019-02-05 13:04:37 +02:00
Marius Stanciu
3714203c95
- formatted the Shortcut List Tab into a HTML table
2019-02-04 23:41:17 +02:00
Marius Stanciu
8a6c48c7a9
- changed the shortcut keys for Zoom In, Zoom Out and Zoom Fit from 1, 2, 3 to '-', '=' respectively 'V'. Added new shortcut keys '1', '2', '3' for Select Project Tab, Select Selected Tab and Select Tool Tab.
2019-02-04 22:35:01 +02:00
Marius Stanciu
713b584841
- added a new parameter in the Tool Film which control the thickness of the stroke width in the resulting SVG. It's a scale parameter.
...
- whatever was the visibility of the corresponding toolbar when we enter in the Editor, it will be set after exit from the Editor (either Geometry Editor or Excellon Editor).
- added ability to be detached for the tabs in the Notebook section (Project, Selected and Tool)
- added ability for all detachable tabs to be restored to the same position from where they were detached.
- restored the way the tools autoloaded the objects in the comboboxes
2019-02-04 20:49:37 +02:00
Marius Stanciu
166fa0470b
- modified ReadMe to correct a mistake
2019-02-04 16:30:48 +02:00
Marius Stanciu
4e8f8905c8
- modified the Toolchange_Probe_general postprocessor file to include now Z moves before the actual toolchange event
...
- created a prototype postprocessor file for usage with tool probing in MACH3
- added the default values for Tool Film and Tool Panelize to the Edit -> Preferences
2019-02-04 16:29:12 +02:00
Marius Stanciu
e1888b1647
- added an automatic name on each save operation based on the object name and/or the current date
...
- added more information's for the statistics
2019-02-03 23:08:09 +02:00
Marius Stanciu
5e55f0d499
- fixed remove_tools() so the Tcl Shell action is readded to the Tools menu and reconnected to it's slot function
2019-02-03 16:49:33 +02:00
Marius Stanciu
7da1d23098
- added a remove_tools() function before install_tools() in the init_tools() that is called when creating a new project. Should solve the issue with having double menu entry's in the TOOLS menu
2019-02-03 16:29:56 +02:00
Marius Stanciu
6ea3499d39
- updated the new shortcut list with the shortcuts added lately
...
- now the special messages in the Shell are color coded according to the level. Before they all were RED. Now the WARNINGS are yellow, ERRORS are red and SUCCESS is a dark green. Also the level is in CAPS LOCK to make them more obvious
- some more changes to GUI interface (solved issues)
- added some status bar messages in the Geometry Editor to guide the user when using the Geometry Tools
- now the '`' shortcut key that shows the 'shortcut key list' in Editors points to the same window which is created in a tab no longer as a pop-up window. This tab can be detached if needed.
2019-02-03 15:13:09 +02:00
Marius Stanciu
12b78cf2f3
- fixed the snap magnet button in Geometry Editor, restored the checkable property to True
...
- some more changes in the Editors GUI in deactivate() function
- a fix for saving again empt an edited new and empty Excellon Object
2019-02-03 00:52:57 +02:00
Marius Stanciu
ee2c684a9c
- added a new postprocessor file named: 'probe_from_zmove' which allow probing to be done from z_move position on toolchange event
2019-02-03 00:11:17 +02:00
Marius Stanciu
7607aad8d8
- added protection against entering float numbers with comma separator instead of decimal dot separator in key points of FlatCAM (not everywhere)
...
- added a choice of plotting the kind of geometry for the CNC plot (all, travel and cut kind of geometries) in CNCJob Selected Tab
2019-02-02 23:56:08 +02:00
Marius Stanciu
0b96cbbac1
- code cleanup in Tools
...
- some GUI structure optimization's
2019-02-02 18:26:01 +02:00
Marius Stanciu
4f97e8ae45
- fixed the date in the ReadMe
2019-02-02 03:29:17 +02:00
Marius Stanciu
de7e41991d
- fixed a source of possible errors in DetachableTab Widget.
...
- fixed gcode conversion/scale (on units change) when multiple values are found on each line
- replaced the pop-up window for the shortcut list with a new detachable tab
- removed the pop-up messages from the rotate, skew, flip commands
2019-02-02 03:27:34 +02:00
Marius Stanciu
365c1f4c71
- remade the way FlatCAM saves the GUI position data from a file (previously) to use PyQt QSettings
...
- added a 'theme' combo selection in Edit -> Preferences. Two themes are available: standard and compact.
- some code cleanup
2019-02-02 01:25:35 +02:00
Marius Stanciu
e0adb9b43b
- corrected small type in list_sys Tcl command; added a protection of the Plot Area Tab after a successful edit.
2019-02-01 17:44:28 +02:00
Marius Stanciu
5dfd1bf0ab
- fixed postprocessor files so now the bounds values are right aligned (assuming max string length of 9 chars which means 4 digits and 4 decimals)
2019-02-01 16:19:16 +02:00
Marius Stanciu
f4da8c8c68
- Plot Area Tab view can now be toggled, added entry in View Menu and shortcut key CTRL+F10
...
- All the tabs in the GUI right side are (Plot Are, Preferences etc) are now detachable to a separate windows which when closed it returns in the previous location in the toolbar. Those detached tabs can be also reattached by drag and drop.
2019-02-01 14:51:49 +02:00
Marius Stanciu
5ab89791c7
- FlatCAM saves now to a file in self.data_path the toolbar positions and the position of TCL Shell
2019-02-01 02:05:39 +02:00
Marius Stanciu
d45d2c05ec
- added the bounds coordinates to the GCODE header; modified the postprocessor files to show them.
2019-02-01 00:23:20 +02:00
Marius Stanciu
d5853722c3
- updated the camlib.CNCJob.scale() function so now the GCode is scaled also (quite a HACK :( it will need to be replaced at some point)). Units change work now on the GCODE also.
2019-01-31 23:07:53 +02:00
Marius Stanciu
093f210c25
- hidden the snap magnet entry and snap magnet toggle from the main view; they are now active only in Editor Mode
2019-01-31 16:10:13 +02:00
Marius Stanciu
d1780acad9
- added new function to toggle fullscreen status in Menu -> View -> Toggle Full Screen. Shortcut key: Alt+F10
...
- added key shortcuts for Enable Plots, Disable Plots and Disable other plots functions (Alt+1, Alt+2, Alt+3)
2019-01-31 15:29:05 +02:00
Marius Stanciu
3c355f72be
- added a parameter ('Fast plunge' in Edit -> Preferences -> Geometry Options and Excellon Options) to control if the fast move to Z_move is done or not
2019-01-31 13:58:49 +02:00
Marius Stanciu
53d50c799f
- added to the postprocessor files the command after toolchange to go with G00 (fastest) to "Z Move" value of Z pozition.
2019-01-31 03:45:21 +02:00
Marius Stanciu
4441e40042
- fixed postprocessor files to work with toolchange_xy parameter value = None (no values in Edit - Preferences fields) - actual fix
...
- fixed Tcl commands CncJob and DrillCncJob to work with toolchange
2019-01-31 01:45:14 +02:00
Marius Stanciu
7bc806f1dc
- fixed unit conversion functions in case the toolchange_xy parameter is None
...
- more fixes in camlib.CNCJob regarding usage of toolchange (in case it is None)
- fixed postprocessor files to work with toolchange_xy parameter value = None (no values in Edit - Preferences fields)
2019-01-31 00:36:32 +02:00
Marius Stanciu
7e5ce009d8
- added a traceback report in the TCL Shell for the errors that don't allow creation of an object; useful to trace exceptions/errors
...
- in case that the Toolchange X,Y parameter in Selected (or in Preferences) are deleted then the app will still do the job using the current coordinates for toolchange
- fixed an issue in camlib.CNCJob where tha variable self.toolchange_xy was used for 2 different purposes which created loss of information.
2019-01-30 23:17:27 +02:00
Marius Stanciu
dbee97ccb9
- remade the App Menu for Editors: now they will be showed only when the respective Editor is active and hidden when the Editor is closed.
2019-01-30 17:27:11 +02:00
Marius Stanciu
366bfbd0f5
- added in Calculators Tool an Electroplating Calculator.
2019-01-30 16:12:02 +02:00
Marius Stanciu
5a0488c19f
- added a space before Y coordinate in end_code() function in some of the postprocessor files
2019-01-29 23:27:42 +02:00
Marius Stanciu
97c5c3fe1c
- optimized the FlatCAMCNCJob.on_plot_cb_click_table() plot function and solved a bug regarding having tools numbers not in sync with the cnc tool table
2019-01-29 23:01:41 +02:00
Marius Stanciu
369d9256da
- added 2Sided Tool default values in Edit -> Preferences -> Tools
2019-01-29 22:33:04 +02:00
Marius Stanciu
e3d51c9da5
- added protection so the Cutout (either Freeform or Rectangular) cannot be done on a multigeo Geometry
2019-01-29 22:03:24 +02:00
Marius Stanciu
be2ecaa152
- added a GUI for Excellon Search time for OR-TOOLS path optimization in Edit -> Preferences -> Excellon General -> Optimization Time
...
- more changes in Edit -> Preferences -> Geometry, Gerber and in CNCJob
- added new option for Cutout Tool Freeform Gaps in Edit -> Preferences -> Tools
- fixed Freeform Cutout gaps issue (it was double than the value set)
2019-01-29 21:47:27 +02:00
Marius Stanciu
5a0390f2a4
- fixed the scale, mirror, rotate, skew functions to work with Geometry Objects of multi-geometry type.
2019-01-29 15:56:49 +02:00
Marius Stanciu
32aa37d793
- disabled the context menu in tools table on Paint Tool in case that the painting method is single.
...
- added protection when trying to do Intersection in Geometry Editor without having selected Geometry items.
2019-01-29 15:18:41 +02:00
Marius Stanciu
970b260333
- added more shortcut keys in the Geometry Editor and in Excellon Editor; activated also the zoom (fit, in, out) shortcut keys ('1' , '2', '3') for the editors
2019-01-29 11:59:03 +02:00
Marius Stanciu
f6271033b3
- fixed issue in Tool Calculators when a float value was entered starting only with the dot.
...
- added protection for entering incorrect values in Offset and Scale fields for Gerber and Geometry objects (in Selected Tab)
2019-01-29 01:03:21 +02:00
Marius Stanciu
e19af486b3
- added key shortcuts for Open Manual = F1 and for Open Online VideoHelp = F2
2019-01-28 03:24:06 +02:00
Marius Stanciu
c7a22e7ce5
- wip
2019-01-28 02:53:33 +02:00
Marius Stanciu
37e7c8167d
- fixed the FlatCAMGerber.merge() function
...
- added a new menu entry for the Gerber Join function: Edit -> Conversions -> "Join Gerber(s) to Gerber" allowing joining Gerber objects into a final Gerber object
2019-01-28 02:47:53 +02:00
Marius Stanciu
8145ff9aac
- fixed the FlatCAMGerber.merge() function
...
- added a new menu entry for the Gerber Join function: Edit -> Conversions -> "Join Gerber(s) to Gerber" allowing joining Gerber objects into a final Gerber object
2019-01-28 02:01:53 +02:00
Marius Stanciu
ad69be0456
- remade the EDIT -> PREFERENCES window, the Excellon and Gerber sections. Created a new section named TOOLS
2019-01-27 15:46:54 +02:00
Marius Stanciu
90ec8b3899
- modified grbl_laser postprocessor file so it includes a Sxxxx command on the line with M02 (laser active) whenever a value is enter in the Spindlespeed entry field
2019-01-27 14:01:59 +02:00
Marius Stanciu
a9bc0dea56
- added shortcut key combo 'SHIFT+S' for Running a Script.
2019-01-27 06:04:50 +02:00
Marius Stanciu
18fb7c2c1f
- added shortcut key 'L' for creating 'New Excellon'
2019-01-27 05:50:41 +02:00
Marius Stanciu
4f7b2bbb34
- added options for trace segmentation that can be useful for auto-levelling (code snippet from Lei Zheng from a rejected pull request on FlatCAM https://bitbucket.org/realthunder/ )
2019-01-27 05:03:23 +02:00
Marius Stanciu
c4a9c8bd77
- added more key shortcuts into the application; they are now displayed in the GUI menu's
...
- reorganized the Edit -> Preferences -> Global
- redesigned the messagebox that is showed when quiting ot creating a New Project: now it has an option ('Cancel') to abort the process returning to the app
2019-01-27 03:32:09 +02:00
Marius Stanciu
c0031235cd
- fixed grbl_laser postprocessor file
...
- updated function for copy of an Excellon object for the case when the object has slots
- updated FlatCAMExcellon.merge() function to work in case some (or all) of the merged objects have slots
2019-01-26 09:08:41 +02:00
Marius Stanciu
34749cae66
- added icons to the Project Tab context menu
...
- added new entries to the Canvas context menu (Copy, Delete, Edit/Save, Move, New Excellon, New Geometry, New Project)
2019-01-26 00:26:58 +02:00
Marius Stanciu
41d7ef9e2c
- added icons to the Project Tab context menu
...
- added new entries to the Canvas context menu (Copy, Delete, Edit/Save, Move, New Excellon, New Geometry, New Project)
2019-01-26 00:12:40 +02:00
Marius Stanciu
d1b1a097c1
- fixed TclCommand Cutout
...
- added a new TclCommand named CutoutAny. Keyword: cutout_any
2019-01-25 20:46:30 +02:00
Marius Stanciu
3941d03702
- fixed TclCommand Cutout
...
- added a new TclCommand named CutoutAny. Keyword: cutout_any
2019-01-25 20:05:27 +02:00
Marius Stanciu
006b0c8ecb
- modified the panelize TclCommand to take advantage of the new panelize() function; added a 'threaded' parameter (default value is 1) which controls the execution of the panelize TclCommand: threaded or non-threaded
2019-01-25 18:57:44 +02:00
Marius Stanciu
d88d334867
- make sure to copy the options attribute to the final object in the case of: FlatCAMGeometry.merge(), FlatCAMGerber.merge() and for the Panelize Tool
2019-01-25 15:27:46 +02:00
Marius Stanciu
f553f2b35a
- deleted junk folders
...
- remade the Panelize Tool: now it is much faster, it is multi-threaded, it works with multitool geometries and it works with multigeo geometries too.
2019-01-25 15:16:36 +02:00
Marius S
4af4938f85
- added the Edit and Properties entries to the Project context menu
2019-01-24 20:58:36 +02:00
Marius Stanciu
2c49d41500
- Excellon Editor - added possibility to create an linear drill array rotated at an custom angle
2019-01-24 20:38:53 +02:00
Marius Stanciu
6673c4f608
- fixed 'grbl_laser' postprocessor bugs (missing functions)
...
- fixed display geometry for 'grbl_laser' postprocessor
2019-01-24 19:22:02 +02:00
Marius Stanciu
e8acee5850
- added multiple object selection on Open ... and Import ... (idea and code snippet came from Travers Carter, BitBucket user https://bitbucket.org/travc/
2019-01-24 15:48:34 +02:00
Marius Stanciu
8f787fc61a
- fixed the Copy Object function when the object is Gerber
...
- added the Copy entry to the Project context menu
- made the functions behind Disable and Enable project context menu entries, non-threaded to fix a possible issue
2019-01-24 12:31:42 +02:00
Marius Stanciu
037b9657ff
- trying to fix painting single when the actual painted object it's a MultiPolygon
2019-01-24 01:34:12 +02:00
Marius Stanciu
d71958262a
- changed date
2019-01-23 19:01:20 +02:00
Marius Stanciu
e945ced44b
- modified the way FlatCAM preferences are saved. Now they can be saved as new files with .FlatConfig extension by the user and shared.
2019-01-23 17:06:14 +02:00
Marius Stanciu
7c301922db
- added a new postprocessor file named 'line_xyz' which have x, y, z values on the same GCode line
...
- fixed calculation of total path for Excellon Gcode file
2019-01-23 00:31:48 +02:00
Marius Stanciu
766e15ae38
- changed some tooltips
...
- added tooltips in Excellon tool table headers
- in Excellon Tool Table the columns are now only selectable by clicking on the header (sorting is done automatically)
- if CNCJob from Excellon then hide the CNC tools table in CNCJob Object
2019-01-21 23:44:22 +02:00
Marius Stanciu
e6d431c9e3
- removed the raise statement in do_worker_task() function as this is fatal in conjunction with PyQt5
...
- added a try - except clause for the situations when for a font can't be determined the family and name
- moved font parsing to the Geometry Editor: it is done everytime the Text tool is invoked
- made sure that the HPGL postprocessor is not populated in the Excellon postprocessors in Preferences as it make no sense (HPGL is useful only for Geometries)
2019-01-21 01:17:04 +02:00
Marius Stanciu
f242e3163e
- small changes (dates, version)
2019-01-20 05:37:04 +02:00
Marius Stanciu
b9a062a84e
- when saving HPGL code it will be saved as a file with extension .plt
...
- the units mentioned in HPGL format are only METRIC therefore if FlatCAM units are in INCH they will be transform to METRIC
- the minimum unit in HPGL is 0.025mm therefore the coordinates are rounded to a multiple of 0.025mm
2019-01-20 04:11:34 +02:00
Marius Stanciu
7ea6ee4a85
- fixed the HPGL code geometry rendering when travel
...
- fixed the message box layout when asking to save the current work
- made sure that whenever the HPGL postprocessor is selected the Toolchange is always ON and the MultiDepth is OFF
- the HPGL postprocessor entry is not allowed in Excellon Object postprocessor selection combobox as it is only applicable for Geometry
2019-01-20 02:46:42 +02:00
Marius Stanciu
b9cbe97f4d
- fixed display HPGL code geometry on canvas
...
- added build folder to gitignore list
2019-01-19 03:02:47 +02:00
Marius Stanciu
4b6df74c2e
- added initial implementation of HPGL postprocessor
2019-01-19 02:31:47 +02:00
Marius Stanciu
18de843fc1
- added a status message for font parsing
2019-01-11 04:02:02 +02:00
Marius Stanciu
5b7fe5ef11
- modified the first line in the Gcode header to show the FlatCAM version and version_date
2019-01-09 21:55:09 +02:00
Marius Stanciu
e6b0eb209c
- added a message box asking users if they want to save the project in case that either New Project menu entry is clicked or if Exit menu entry is clicked or if the app is closed from the close button. The message box will be showed only if there are objects in the collection.
2019-01-09 20:55:54 +02:00