Commit Graph

630 Commits

Author SHA1 Message Date
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 4afa67542b - changed date 2019-01-23 00:45:57 +02:00
Marius Stanciu bd295dbea9 - fixed a small issue in 'manual_toolchange' postprocessor file in toolchange function 2019-01-23 00:45:21 +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 7f57e8f8b2 Merged in Beta_hpgl (pull request #128)
Beta hpgl
2019-01-20 02:20:44 +00: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 51b96af190 - corrected issues in the hpgl postprocessor file 2019-01-19 02:38:44 +02:00
Marius Stanciu 43f9055408 - added initial implementation of HPGL postprocessor 2019-01-19 02:33:05 +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
Marius Stanciu 37067b5bff - added a fix to allow creating of Excellon geometry even when there are points with no tools by skipping those points and warning the user about this in a Tcl message 2019-01-09 15:47:29 +02:00
Marius Stanciu dd49aaa68d - added checkboxes in Preferences -> General -> Global Preferences to switch on/off version check at application startup and also to control if the app will send anonymous statistics about FlatCAM usage to help improve FlatCAM 2019-01-08 21:13:20 +02:00
Marius Stanciu ddf4884051 - fixed cutting from copper features when doing Gerber isolation with multiple passes 2019-01-07 21:38:34 +02:00
Marius Stanciu 7e002dfc9f - added tooltips in Edit->Convert menu 2019-01-07 15:44:47 +02:00
Marius Stanciu c7db9aa566 - fixed the Marlin postprocessor detection in GCode header
- the version date in GCode header is now the one set in FlatCAMApp.App.version_date
- fixed bug in postprocessor files: number of drills is now calculated only for the Excellon objects in toolchange function (only Excellon objects have drills)
2019-01-07 02:56:55 +02:00
Marius Stanciu 954bd9097a - fixed the Join function to work on Gerber and Excellon, Gerber and Gerber, Excellon and Excelon combination of objects. The merged property is the solid_geometry and the result is a FlatCAMGeometry object. 2019-01-07 01:23:04 +02:00
Marius Stanciu b418d15daf - reactivated the version check in case the release is not BETA; FlatCAMApp.App has now a beta object that when set True the application will show in the Title and help-> About that is Beta (and it disable version checking) 2019-01-06 22:04:01 +02:00
Marius Stanciu 3ea1f4e62c - fixed cncjob TclCommand - it used the default values for parameters
- fixed the layout in ToolTransform
- fixed the initial text in the ToolShell
2019-01-06 20:40:05 +02:00
Marius Stanciu 6da418c4c8 - modified the Development link in Help -> About 2019-01-03 21:31:09 +02:00
Marius Stanciu e48d2d2f49 -clean-up before merge 2019-01-03 21:25:08 +02:00
Marius Stanciu 421e9766ea -clean-up before merge 2019-01-03 21:20:54 +02:00
Marius Stanciu 46454c293a Merged in marius_stanciu/flatcam_mpl/Fix_for_Flip_Rotate_Skew_pull_request (pull request #113)
Fixed the Flip/Rotate/Skew previous pull_request
2018-06-06 14:05:44 +00:00
Marius Stanciu 14477f4db4 - the main issue was the modules that I imported. It was the FlatCAMObj.py
modules which it was not what it was needed. I changed the imports to
camlib.py, remade the functions in camlib.py and now the Flip, Rotate
and Skew work over all the objects of FlatCAM (Gerber, Geometry created
by the FC, Geometry created by the objects, Excellon, CNCJob)
2018-06-06 04:08:50 +03:00
Marius Stanciu 958313a360 Merged jpcgt/flatcam into master 2018-06-06 03:22:54 +03:00
Marius Stanciu 533afd6a17 Merged in marius_stanciu/flatcam_mpl/add_flipx_flipy_function (pull request #111)
Added new global FlipX, FlipY, SkewX, SkewY, Rotate menu functions
2018-06-05 20:13:30 +00:00
Marius Stanciu 00d22b7963 - some small changes in labels 2018-06-05 22:55:05 +03:00
Marius Stanciu 01dcfb69a6 - remade the functions into a Tool framework
- renamed the other current files that holds 'Tools' to start with Tool
like Tcl commands start with TclCommand
2018-06-05 22:13:33 +03:00
Marius Stanciu 174c809e0a Merge https://bitbucket.org/jpcgt/flatcam/src/master into add_flipx_flipy_function 2018-06-05 19:06:53 +03:00
Marius Stanciu d2b91bcab9 Merged jpcgt/flatcam into master 2018-06-05 19:01:32 +03:00
Marius Stanciu 3a3bdea289 Merged in marius_stanciu/flatcam_mpl/added_flexibility_of_menu_location_for_FlatCAMTool_instance (pull request #109)
Menu-entries generated by FlatCAMTool instances can be added anywhere in the menu structure
2018-06-05 15:08:47 +00:00
Marius Stanciu 782f784dee - fixed a bug that created desync on rotate multiple objects that were
offseted from origin
2018-06-05 14:49:13 +03:00
Marius Stanciu 74104ec19f - modified the pull request to include along the flipX, flipY commands
also the Rotate, SkewX and SkewY commands. Fix for issue #235

All perform the same in regard of multiple object selection.
2018-06-05 13:43:14 +03:00
Marius Stanciu 41e471d9d5 - changed the self.info() functions to signal self.inform.emit() and
the signal is emitted only once per operation not for each object in
selection.
2018-06-05 03:19:58 +03:00
Marius Stanciu e5dab6f9c3 - added flipx and flipy functions 2018-06-05 00:12:09 +03:00
Marius Stanciu cae8f35154 Merged jpcgt/flatcam into master 2018-06-04 22:35:19 +03:00
Marius Stanciu 5d212ba89a Merged in marius_stanciu/flatcam_mpl/added_infinite_lines_on_plot_centered_in_origin (pull request #108)
Infinite lines centered in origin, color = black
2018-06-04 18:34:07 +00:00
Marius Stanciu d4331b49bc Merged in marius_stanciu/flatcam_mpl/load_gerber_with_zero_value (pull request #83)
Support for Gerber files that have apertures with size zero
2018-06-04 16:56:22 +00:00
Marius Stanciu 9211da39c7 Merged in marius_stanciu/flatcam_mpl/add_global_setting_global_mouse_pan_button (pull request #105)
New global_variable for mouse_pan_button
2018-06-04 16:53:44 +00:00
Marius Stanciu bbd5e626f1 Merged in marius_stanciu/flatcam_mpl/Autoselect_last_new_object (pull request #102)
Auto_select last object created
2018-06-04 16:49:15 +00:00
Marius Stanciu 4d2e1e86f0 Merged in marius_stanciu/flatcam_mpl/new_TclCommand_list_sys (pull request #107)
new TclCommand list_sys
2018-06-04 16:48:15 +00:00
Marius Stanciu 841919160f - added the flexibility to add the menu entries (Actions) created by
the instances of FlatCAMTool, in any position within the application
menu's.

install method of FlatCAMTool accept now the following kwargs:

'pos' = it is the menu where we want the Action installed. By default,
if no 'pos' arg is provided, the tool will be install in the menutool
menu (as before)

'before' = it is the position within the previously selected menu where,
before it, we will install our new Action (menu entry) generated by the
FlatCAMTool install method. By default, if no 'before' is provided, the
action will be installed in the current last position in the menu.
2018-06-02 22:35:43 +03:00
Marius Stanciu 6bf38eb00e - added infinite lines on X and Y axis centered in origin, (0,0) coords
It add a visual marker and it helps in judging the position of the
plotted object in relation to the origin.
2018-06-02 17:32:12 +03:00
Marius Stanciu 21406fcccf - some small corrections 2018-06-02 16:17:46 +03:00