Commit Graph

1188 Commits

Author SHA1 Message Date
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
e0001dc9b7 - some cleanup in ToolCutout 2019-05-17 03:04:28 +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
784865518f - Gerber Editor - working in conversion to the new data format 2019-05-13 17:09:09 +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
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
3565a39918 - restored some changes in camlib.Gerber (the last_path_aperture value changed in G02/G03 parsing) 2019-05-11 19:31:23 +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
b566f4e601 - changed date 2019-05-11 03:56:36 +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
cd1da70147 Merged in marius_stanciu/flatcam_beta/beta_8.916 (pull request #146)
Beta 8.916
2019-05-11 00:27:23 +00: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
a614e2b73e - Gerber Editor - modifying it to work with the new geometric data structure 2019-05-09 14:53:08 +03:00
Marius Stanciu
aaa81f22b2 - wip 2019-05-09 05:01:33 +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
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
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
825b3e5e1e - Gerber Export: working in progress for parsing Gerber geometries in FlatCAMObj.FlatCAMGerber.export_gerber() 2019-05-07 16:11:10 +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