Commit Graph

109 Commits

Author SHA1 Message Date
Russell Johnson
ea1d28c2a4 Path: Remove duplicate populateCombobox() definitions
Apply python DRY philosophy to `populateCombobox()` method throughout PathScripts modules.
2022-02-11 06:34:38 -06:00
sliptonic
49f8edeaa8 Modified combobox selection
cleaned up translation method

Profile translation cleanup

Incorporating additional suggestions
2021-12-17 08:35:41 -06:00
Russell Johnson
564114e1c5 Path: Translation Solution POC 2021-12-17 08:35:41 -06:00
sliptonic
5ad32fb8cf PathOpGui Black reformat 2021-12-17 08:35:41 -06:00
sliptonic
0eecacd795 Merge pull request #4797 from Russ4262/feature/tile_job
[Path] GUI scripting support and other improvements
2021-08-14 09:26:25 -05:00
Russell Johnson
4c1951aedc Path: Allow parent job assignment
Modifications focus on allowing the creation of operations to include direct provision of parent job.
Path: Remove `useGui` implementation
2021-08-13 19:02:40 -05:00
Russell Johnson
aa76499a53 Path: Fix bug with inaccurate Task Panel values upon new op creation
Path: Fix bug with inaccurate Task Panel values upon new op creation
2021-07-24 11:57:53 -05:00
Russell Johnson
b4d90562c1 Path: Prioritize self.parent and self.obj declarations
This prioritization and conversion of `self.parent` declaration allows for removal of the `setParent()` method.
2021-07-24 11:57:53 -05:00
troyp76
8b7834c4e1 Operations were being recalculated even if the dirty state was False.
The "isDirty" function was not being called correctly by the accept call back.
2021-07-06 00:22:15 +10:00
Markus Lampert
788ee8f570 Ensure base geometry is valid so if it isn't one can still edit the op and fix the base geometry. 2021-02-11 20:36:21 -08:00
sliptonic
a8bd33ed1c Merge pull request #4383 from mlampert/feature/path-hide-ops-by-default
[Path]: Set operation Visibility to False, and turn it back on while editing.
2021-02-08 11:12:41 -06:00
Markus Lampert
1087d90f07 import DraftTools if Snapper isn't loaded yet (before using it) 2021-02-07 12:39:21 -08:00
Markus Lampert
df43fb458f Set operation Visibility to False, and turn it back on while editing. 2021-02-06 16:45:26 -08:00
Markus Lampert
61929d8778 Load PathGui in all modules which require gui resources to be loaded 2021-01-26 18:14:09 -08:00
Markus Lampert
ee5bfd5a3f Disabled base geometry-list resizing since it makes the list unusable on HDP monitors. 2021-01-24 20:52:43 -08:00
sliptonic
6a471970ad Merge pull request #4188 from Russ4262/fix_import_base_geometry
Path: Fix `Import` feature of Base Geometry
2021-01-13 15:00:17 -06:00
Markus Lampert
8e4843b3ae Remove event registration when task panel is destroyed. 2020-12-28 19:45:08 -08:00
Russell Johnson
d386b128fb Path: Fix Import feature of Base Geometry
Error was thrown if FreeCADGui.Selection list had more than one item.  Solution is to clear selection before adding  selection from import operation.  I also removed the `for` loop since the selection should be singular.
2020-12-23 15:24:16 -06:00
markus
beb4f2e011 Filter all TCs for suitability for a given op. 2020-12-03 18:15:36 -08:00
luz paz
aeafcec125 Path: Change filenames in the rest of the Path code
Reflects changes in 
* PathOpGui.SetupOperation()
* GetResources()
* sPIxmap
* pixmap
* *.UI files

Also contains minor translation context renames (these were edits made near to original intent of this commit)
2020-12-02 06:57:28 -05:00
sliptonic
3a8f40a458 fix 'add' button in Job task panel
fix chamfer bit
lgtm cleanup
2020-11-19 17:10:50 -06:00
sliptonic
2e552e88b2 bug: on deleting tool controllers 2020-11-16 12:40:18 -06:00
sliptonic
4fc3adc8f6 Add toolcontroller to open operation 2020-11-15 18:22:45 -06:00
luz paz
60c055e62d Path: Fix header uniformity and remove trailing whitespace
This PR fixes header uniformity across all Path files. It also removes all trailing whitespace.
2020-11-05 19:57:21 +01:00
Daniel Wood
9b2b86b91f Add a task panel page for controlling turning diameters 2020-10-11 07:57:59 +01:00
Russell Johnson
22bc65b54c Path: Resize the Base Geometry list dynamically
Make the size of the Base Geometry list dynamically adjust to its contents.
2020-06-27 15:05:00 -05:00
sliptonic
c9418a7597 Merge pull request #3631 from Russ4262/task_panel_icons
[Path] Add icons to Tasks Window tabs
2020-06-19 12:32:07 -05:00
sliptonic
a7a86f54bc Merge pull request #3624 from Russ4262/SlotCutter
[Path] Add new `Slot` operation to PathWB 2D tool group
2020-06-19 11:12:01 -05:00
Russell Johnson
1f69d4a941 Path: Format and add DocStrings and comments 2020-06-18 20:13:41 -05:00
Russell Johnson
e7a6903fb2 Path: Fix timing of updatePanelVisibility() call
Targeted function call needed to be after `updateBase()` call after the `for` loop.
2020-06-18 19:56:52 -05:00
Russell Johnson
ab33df3595 Path: Add icons to feature tabs
Add Base Geometry, Heights, Depths, and Operation icons on the tabs in the Tasks Window editor.
2020-06-18 15:54:14 -05:00
sliptonic
0fa628928d [PATH] make -custom- op compliant. Improve gcode_pre importer 2020-06-10 16:49:46 -05:00
Russell Johnson
fcd934b498 Path: PathOpGui - Fix Base Geometry import feature
for pre-existing operations
2020-06-04 10:54:43 -05:00
Russell Johnson
cf26f7bb4c Path: New feature - import base geometry from existing operations in Job
This feature allows the user to import base geometry from an existing operation in the same Job.  The imported geometry is still passed through the shape type filter as if it were manually selected in the viewport.
Path: Post-test updates
2020-06-01 11:18:22 -05:00
Gabriel Wicke
a8398389bb [path] Small fix in PathOpGui
Fix a bad call to page.updateVisibility
2020-05-17 17:11:14 -07:00
Russell Johnson
4396789b04 Path: Improve geometry selection and Cancel operation error messages 2020-05-10 23:07:53 -05:00
Russell Johnson
52fe25528a Path: Update 'Operation' panel visibility when 'Base Geometry' changes 2020-05-10 18:19:42 -05:00
Russell Johnson
16cf71bb7d Path: Add method, 'updatePanelVisibility()'
New method allows one panel to update visibility on another panel.
2020-05-10 18:19:42 -05:00
Russell Johnson
78735ddc06 Path: Add reference to parent class within child class 2020-05-10 18:19:42 -05:00
Russell Johnson
db18f3322a Path: PEP8 cleanup
line endings fix
2020-04-07 22:17:37 -05:00
Zheng, Lei
3921adeba8 Path: fix drill job creation 2020-02-12 14:47:53 +08:00
Markus Lampert
824bbead6d Fixed removal of 2d objects from engrave ops 2020-01-03 23:03:43 -08:00
Daniel Wood
2085cf338a Add a coolant feature to the base PathOP 2019-08-28 19:40:08 +01:00
IMback
4fdec77034 Peck retract height default changed from 10mm to opStartDepth+1
Peck depth default changed to tool dia*0.75
Fields changed to QuanitiySpinBoxes
Insure travel between regions is always performed at safe height
Make Peck and Dwell exclusive in GUI
Restore name of RetractHeight
Use SetupSheet for all numerical properties
2019-08-08 10:38:30 +02:00
Markus Lampert
6410393092 switched to pylint3 and fixed additional warnings 2019-07-01 15:32:54 -07:00
Markus Lampert
4bfd06140b fixed pylint warning for PathOp 2019-07-01 15:29:51 -07:00
Markus Lampert
c4cf901c60 Removed redundant log message 2019-06-29 18:16:56 -07:00
sliptonic
617c619d2f remove unnecessary imports. normalize debug log levels 2019-06-21 13:01:01 -05:00
markus
2abb948954 Cleanup so artifacts on task panel close. 2019-04-07 12:20:42 +02:00
markus
756f316831 Added UI page pocket extension; changed selection agent. 2019-04-07 12:20:41 +02:00