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