Commit Graph

102 Commits

Author SHA1 Message Date
Markus Lampert
ffe0961853 Added check to deal with float nan as cycle time result 2022-08-07 18:01:07 -07: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
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
763dc231cf PropertyBag translation cleanup 2022-01-26 18:36:58 -06:00
sliptonic
889ad4f634 AreaOp translation cleanup 2022-01-26 18:36:06 -06:00
sliptonic
b53ec3bd4e Black reformat 2021-09-01 12:56:00 -05:00
sliptonic
ddc4c69e82 black 2021-09-01 12:26:29 -05:00
sliptonic
730159d088 purge archpanel support 2021-09-01 08:34:46 -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
sliptonic
61824e80f3 Update PathOp.py
fix typo
2021-02-16 09:25:59 -06: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
Markus Lampert
d97a393709 Make PathOp rebust(er) against manual Base assignment 2021-01-24 18:35:36 -08:00
Markus Lampert
63dbf329aa Added warning suppression for all missing speeds and changed default to true 2020-12-15 20:05:42 -08:00
Markus Lampert
2b4a0db791 Added preference option to suppress missing rapid speed warning 2020-12-15 20:05:42 -08:00
Markus Lampert
ee92a1d2f9 Adding g0 to safety to base op so it's applied to all ops 2020-12-13 15:00:05 -08:00
markus
d5beaf806d Filter all TCs for suitability for a given op. 2020-12-03 18:15:36 -08: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
9c296217e5 [Path] Tidy imports 2020-10-29 21:35:24 +00:00
Daniel Wood
c1302fb4fa [Path] PEP8 whitespace fixes 2020-10-29 21:29:25 +00:00
Daniel Wood
4f6c7797ab [Path] set the default max diameter 2020-10-29 21:27:32 +00:00
Daniel Wood
61dc5dea04 Add a task panel page for controlling turning diameters 2020-10-11 07:57:59 +01:00
Eric Trombly
465de60007 don't generate gcode if op isn't valid. Don't plunge to start height if safe and clearance height are the same. 2020-07-15 19:35:18 -05:00
sliptonic
df2884f810 [PATH] make -custom- op compliant. Improve gcode_pre importer 2020-06-10 16:49:46 -05:00
Gabriel Wicke
cc84287515 Path: Opt into automatic git newline normalization
Avoid spurious diffs from inadvertent newline changes by letting git
normalize newlines in the path module as well, just as a list of other
modules including Draft already do.

This effectively standardizes all checked-in code to Unix newlines, but
checkouts might use CRLF if that is the user preference.
2020-05-31 08:33:29 -07:00
Daniel Wood
760685e2c7 only reset the Op visibility when the active state is toggled 2020-05-24 07:48:55 +01:00
Russell Johnson
0e48eb1e85 Path: PEP8 and LGTM cleanup; Remove extra addProperty() statement
Removed 'EnableRotation' property addition because it is done in PathAreaOp module upon creation and document restore.
2020-05-10 23:07:53 -05:00
Daniel Wood
45d9c23c27 Translate user messages 2020-05-09 10:39:48 +01:00
Daniel Wood
c9dc4963d9 Use PathLog for user notices 2020-05-09 10:35:55 +01:00
Daniel Wood
38a47daca7 PathOp PEP8 Formatting Fixes 2020-05-09 09:02:16 +01:00
Daniel Wood
1d9c1f89bd reword feedrate error when no tool controller is selected 2020-05-09 08:34:55 +01:00
Daniel Wood
526328dca5 Change feedrate error to warning. 2020-05-09 08:34:10 +01:00
Daniel Wood
865f0cc692 remove debug print 2020-04-22 19:36:24 +01:00
Daniel Wood
ca35d67f7f Add cycleTime Attribute to PathOp 2020-04-22 19:10:18 +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
296058d6dd Added ToolController creation 2019-11-28 17:31:35 -08:00
Daniel Wood
8b0e244ed4 Add a coolant feature to the base PathOP 2019-08-28 19:40:08 +01:00
Markus Lampert
221893eeeb Fixed PathHelix assert statements 2019-08-22 18:02:49 +02:00
Markus Lampert
f9e23d21e3 Make Helix op robust against features that don't exist anymore 2019-07-14 21:30:38 -07: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
sliptonic
b55c210f39 remove unnecessary imports. normalize debug log levels 2019-06-21 13:01:01 -05:00
luz.paz
aedb888ae3 Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
sliptonic
993d179e7c icon for inactive 2019-04-05 15:04:02 +02:00
luz.paz
c985f9ee79 Misc typos and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
2019-03-31 11:42:36 +02:00
luz.paz
cb768d4087 Crowdin: Path/PathScripts/PathOp.py capitalize string 2019-01-19 23:31:49 -06:00
Markus Lampert
524380cd12 Fixed unit tests to support multiple base models. 2018-09-11 07:24:31 +02:00
Markus Lampert
954771ccba Added automatic setting of operation values from the setup sheet during creation. 2018-09-02 00:32:22 -07:00