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