Commit Graph

115 Commits

Author SHA1 Message Date
Markus Lampert
d52fc71663 Blanket black formatting for Path python files 2022-03-20 13:23:48 -07:00
sliptonic
0d98056384 Merge pull request #4911 from sliptonic/feature/nopathjob
[Path] Make Job and Operation visibility more natural
2022-03-04 12:51:25 -06:00
Markus Lampert
934b0aaa07 Consistent black formatting of all Path python files 2022-02-28 21:06:16 -08:00
Markus Lampert
8583894284 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
sliptonic
c50348697a Make job work more naturally
Operations Group as document group
Make job claim children

[Path] Make Operations into a document group
2022-02-19 09:12:41 -06:00
markus
09c10dada0 Gracefully handle op creation abort when no TC is available or selected. 2022-02-15 13:44:13 -08:00
Russell Johnson
68ec48a609 Path: Remove duplicate populateCombobox() definitions
Apply python DRY philosophy to `populateCombobox()` method throughout PathScripts modules.
2022-02-11 06:34:38 -06:00
sliptonic
21765dec9c Modified combobox selection
cleaned up translation method

Profile translation cleanup

Incorporating additional suggestions
2021-12-17 08:35:41 -06:00
Russell Johnson
1eccba10ca Path: Translation Solution POC 2021-12-17 08:35:41 -06:00
sliptonic
3ca86cafeb PathOpGui Black reformat 2021-12-17 08:35:41 -06:00
sliptonic
0fcd0cec44 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
cfca2a790a 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
527e168be2 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
99b218c63d 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
f8c65989f9 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
ec2328bfaa 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
15068d7dc6 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
394a885929 import DraftTools if Snapper isn't loaded yet (before using it) 2021-02-07 12:39:21 -08:00
Markus Lampert
9dce167073 Set operation Visibility to False, and turn it back on while editing. 2021-02-06 16:45:26 -08:00
Markus Lampert
eae6c32ce8 Load PathGui in all modules which require gui resources to be loaded 2021-01-26 18:14:09 -08:00
Markus Lampert
c2fa48ba90 Disabled base geometry-list resizing since it makes the list unusable on HDP monitors. 2021-01-24 20:52:43 -08:00
sliptonic
83cfffd1ba 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
5f57b0f314 Remove event registration when task panel is destroyed. 2020-12-28 19:45:08 -08:00
Russell Johnson
1d99e0010e 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
d5beaf806d Filter all TCs for suitability for a given op. 2020-12-03 18:15:36 -08:00
luz paz
fe547195bf 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
634fce6e35 fix 'add' button in Job task panel
fix chamfer bit
lgtm cleanup
2020-11-19 17:10:50 -06:00
sliptonic
26eac120b8 bug: on deleting tool controllers 2020-11-16 12:40:18 -06:00
sliptonic
f2eaa98bf1 Add toolcontroller to open operation 2020-11-15 18:22:45 -06:00
luz paz
b75cd3dd52 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
61dc5dea04 Add a task panel page for controlling turning diameters 2020-10-11 07:57:59 +01:00
Russell Johnson
65f7e24a9e 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
ffe957cef4 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
fd1dc30170 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
27ab0b8f32 Path: Format and add DocStrings and comments 2020-06-18 20:13:41 -05:00
Russell Johnson
40faed1b7d 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
33a1804050 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
df2884f810 [PATH] make -custom- op compliant. Improve gcode_pre importer 2020-06-10 16:49:46 -05:00
Russell Johnson
08e3f0b0d7 Path: PathOpGui - Fix Base Geometry import feature
for pre-existing operations
2020-06-04 10:54:43 -05:00
Russell Johnson
254c03c29f 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
a17645aa05 [path] Small fix in PathOpGui
Fix a bad call to page.updateVisibility
2020-05-17 17:11:14 -07:00
Russell Johnson
dcd6f0ee97 Path: Improve geometry selection and Cancel operation error messages 2020-05-10 23:07:53 -05:00
Russell Johnson
de666296f9 Path: Update 'Operation' panel visibility when 'Base Geometry' changes 2020-05-10 18:19:42 -05:00
Russell Johnson
ece3d797aa 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
e1322b9cf1 Path: Add reference to parent class within child class 2020-05-10 18:19:42 -05:00
Russell Johnson
ad784bc7d5 Path: PEP8 cleanup
line endings fix
2020-04-07 22:17:37 -05:00
Zheng, Lei
9a7964ce3d Path: fix drill job creation 2020-02-12 14:47:53 +08:00
Markus Lampert
487cfd1a68 Fixed removal of 2d objects from engrave ops 2020-01-03 23:03:43 -08:00
Daniel Wood
8b0e244ed4 Add a coolant feature to the base PathOP 2019-08-28 19:40:08 +01:00
IMback
c8fda889a2 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