Commit Graph

148 Commits

Author SHA1 Message Date
sliptonic
06959ededb Merge pull request #6575 from Russ4262/fix/rebuild_empty_job_with_gui
Path: Extend Job integrity check to GUI side, issue #6207 [Bug]
2022-03-19 15:44:28 -05:00
Russell Johnson
e4286139db Path: Extend Job integrity check to GUI side, issue #6207 [Bug]
This commit adds a simple `_jobIntegrityCheck()` method to verify that a model and tool exists within the Job object, when interacting with the Task Panel.  If either is missing, the appropriate tab is activated in the task window, and the appropriate edit window is opened for the user, with messages printed in the report view window.

Add check for existence of `SetupSheet` property of empty Job object.

These changes improve upon fixes in PR #5008 and related bug fixes.
2022-03-16 11:40:23 -05:00
sliptonic
de94520d9b [Path] Warn user if enabling legacy tools
Warn user if opening job that contains legacy tools
2022-03-15 11:05:20 -05: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
sliptonic
c675c8b859 Job translation cleanup 2022-01-25 09:58:51 -06:00
sliptonic
fc2d6c172b Make CircularHoleBase use drillableLib
debugs

remove deprecated PathUtils.isDrillable

drillableLib cmake

make PathProfile use new drillableLib
2022-01-15 15:34:17 -06:00
sliptonic
7655849797 Add JobType property 2022-01-15 15:27:53 -06:00
Russell Johnson
c44b7d7b54 Path: Fixes #4645
Fixes bug #4645.
This PR adds a simple `integrityCheck()` method to Job object class.  The method is called on the Gui side before openning the task panel to edit the job.  The same method is also called upon document restoration.
2021-09-24 06:43:16 -05:00
sliptonic
b53ec3bd4e Black reformat 2021-09-01 12:56:00 -05:00
sliptonic
730159d088 purge archpanel support 2021-09-01 08:34:46 -05:00
sliptonic
98ec3dda9d Merge pull request #4765 from sliptonic/bug/toolnumbers
[PATH] fix bug adding TC from job dialog.
2021-05-24 12:46:21 -05:00
Heewa Barfchin
2f49d4ee56 Path: check for empty before using - fixes #4645
In a few locations, python objects are used without checking if they
exist and are non-null, which throws missing attribute exceptions. The
fix is to simply check first.
2021-05-17 18:45:11 -04:00
sliptonic
719f0db263 fix bug adding TC from job dialog.
When adding tool controllers from the job dialog, it will now
try to match the toolbit file with the currently selected library
and add use the toolnumber from there.  If no match is found,
it will autoincrement from the existing tool controllers
in the job
2021-04-27 14:56:05 -05:00
sliptonic
c1b471588b [PATH] Fix bug with spindle not restarting
if output is split by operation spindle should restart when next file is loaded
2021-03-12 13:12:09 -06:00
Markus Lampert
a058d1c482 Only import icon view provider in job if required. 2021-02-15 00:16:39 -08:00
sliptonic
e631b6b1b7 fix persistence of fixtures, split, and orderby to templates 2021-01-17 15:28:24 -06:00
Markus Lampert
8e6f964e0d Renamed ToolTable group to Tools in order to (not) set expectations. 2020-12-31 18:40:23 -08:00
Markus Lampert
b92660086b Fixed job deletion. 2020-12-31 15:38:18 -08:00
Markus Lampert
8a95005586 Added ToolTable to job and convert old ToolController property on the fly. 2020-12-31 15:38:18 -08:00
sliptonic
634fce6e35 fix 'add' button in Job task panel
fix chamfer bit
lgtm cleanup
2020-11-19 17:10:50 -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
sliptonic
dfc4e53f67 Working html report with asciidoctor 2020-10-06 13:47:13 -05:00
sliptonic
9b7319107b [Path] Make jobs delete cleanly.
Deletion of tool controllers now works for toolbits as well
2020-06-19 13:17:17 -05:00
Daniel Wood
0f1bdd30ed PathJob PEP8 Formatting Fixes 2020-05-09 08:51:36 +01:00
Daniel Wood
e906192d20 Clean up unused code and comments 2020-05-09 08:41:48 +01:00
Daniel Wood
9a43391b32 remove job level warning for cycle time error 2020-05-09 08:22:26 +01:00
Daniel Wood
88fe95201c Reword property description to reflect job rather than op 2020-05-09 08:12:17 +01:00
Daniel Wood
ba616697e9 Display 00:00:00 when the cycle time is 0 seconds 2020-04-23 18:07:32 +01:00
Daniel Wood
be14fb85e8 Add CycleTime Attribute to PathJob 2020-04-22 19:12:14 +01:00
Eric Trombly
7fe094ac02 add lazyloader support
lazy_loader is copied to Ext now, modified external imports to lazy_load

add a few more imports to be lazy loaded, think the install path is correct now

[TD]"<" symbol embedded in html

revert changes to path modules for testing

use lazyloader in PathAreaOp.py

add back in deferred loading

temp change to print error message in tests

temp change to print error message in tests

add _init__.py to lazy_loader

make install in CMakeLists.txt one line
2020-04-13 21:14:34 -05:00
Markus Lampert
81f809cfcf Removed dead code for debugging shortcut warnings. 2020-01-03 23:13:55 -08:00
Markus Lampert
d46536c21e Invoke TC.onDelete when deleting a job 2019-11-28 17:31:36 -08:00
Markus Lampert
421e50ae87 PathBoundary editor filled with life. 2019-11-05 19:18:39 -08:00
Markus Lampert
1800f29f44 Set transparency of base model clones to 80 2019-08-10 15:26:24 -07:00
Markus Lampert
d6a20be999 Fixed typo and py3 exception printing 2019-07-02 21:03:28 -07:00
Markus Lampert
83581d7047 fixed pylint warning for PathJob 2019-07-01 15:29:51 -07:00
sliptonic
b55c210f39 remove unnecessary imports. normalize debug log levels 2019-06-21 13:01:01 -05:00
sliptonic
4a984de243 Path: normalize proxy stratements
remove bare exceptions
2019-06-21 13:01:01 -05:00
Russell Johnson
2e0861babc proxy to obj.Proxy partial conversion 2019-06-20 00:02:13 -05:00
luz.paz
aedb888ae3 Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
sliptonic
388a671ac2 Path: UI changes to job edit
.gitignore

More UI work

checkpoint
2019-04-05 15:04:01 +02:00
Markus Lampert
bfcd21361f Insert dressups at the same position in the operations list as the parent op is/was 2018-11-04 14:50:04 -03:00
Markus Lampert
bc871e2b8e Support for converting existing jobs to multi base model on loading. 2018-09-11 07:24:38 +02:00
Markus Lampert
1ad7b8c329 Added support for multi base model to Engrave. 2018-09-11 07:24:37 +02:00
Markus Lampert
524380cd12 Fixed unit tests to support multiple base models. 2018-09-11 07:24:31 +02:00
Markus Lampert
e0af0177cd Base model edit during job editor. 2018-09-11 07:24:31 +02:00