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
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
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
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
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
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
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
820f75e20c
- Gerber Editor - working in conversion to the new data format
2019-05-13 14:56:05 +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
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
ce0ed2208f
- Gerber Editor - working in conversion to the new data format
2019-05-10 15:40:09 +03:00
Marius Stanciu
a614e2b73e
- Gerber Editor - modifying it to work with the new geometric data structure
2019-05-09 14:53:08 +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
0a150fba79
- fixed Gerber Editor follow_geometry reconstruction -work in progress; still have to add the newly created geometry to follow_geometry
2019-05-08 06:45:28 +03:00
Marius Stanciu
832ecf80d5
- fixed Gerber Editor follow_geometry reconstruction
2019-05-08 06:26:30 +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
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
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
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
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
dc64f8174e
- some protections in case there are some apertures without solid_geometry
2019-05-01 04:41:12 +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
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
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
e8f6b1a9ae
- minor UI changes/ bug fixes
2019-04-24 14:52:12 +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
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
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
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
5a855292c4
- wip
2019-04-17 02:26:41 +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