Commit Graph

101 Commits

Author SHA1 Message Date
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
Markus Lampert f34ac89266 switched to pylint3 and fixed additional warnings 2019-07-01 15:32:54 -07:00
Markus Lampert 6f52808e91 fixed pylint warning for PathOp 2019-07-01 15:29:51 -07:00
Markus Lampert 05249b2123 Removed redundant log message 2019-06-29 18:16:56 -07:00
sliptonic b55c210f39 remove unnecessary imports. normalize debug log levels 2019-06-21 13:01:01 -05:00
markus 1b214515d9 Cleanup so artifacts on task panel close. 2019-04-07 12:20:42 +02:00
markus 79def8b235 Added UI page pocket extension; changed selection agent. 2019-04-07 12:20:41 +02:00
sliptonic 993d179e7c icon for inactive 2019-04-05 15:04:02 +02:00
Markus Lampert 2d3f94590e Support for step down in deburr op. 2018-11-06 12:01:18 -03:00
Markus Lampert 64addcabd9 Enable op base feature pre-selection for multiple base models. 2018-11-06 12:01:18 -03:00
Markus Lampert 1a6665c0f4 Changed view providers to use Gui.Document.setEdit to start the editor for a new object. 2018-10-05 11:30:45 +02:00
Markus Lampert 04568dc6ee Cleaned up path op context menu 2018-10-02 09:42:52 -03:00
Markus Lampert 0a9ff5f3aa Fixed base geometry selection for multiple base models. 2018-09-11 07:24:33 +02:00
Markus Lampert ee49b9874d Prototype objects for operations and the ability to create them through the regular proxy instantiation. 2018-09-02 00:32:22 -07:00
Markus Lampert fb0fc49a30 Removed PathPreferences class and moved functionality into the module interface. 2018-06-19 21:53:41 -07:00