Commit Graph

102 Commits

Author SHA1 Message Date
Markus Lampert
89e783d708 Added check to deal with float nan as cycle time result 2022-08-07 18:01:07 -07:00
Markus Lampert
37095fbf78 Consistent black formatting of all Path python files 2022-02-28 21:06:16 -08:00
Markus Lampert
122fd49b37 Remove pylint annotations and script 2022-02-28 21:02:45 -08:00
markus
c738f98d1e Gracefully handle op creation abort when no TC is available or selected. 2022-02-15 13:44:13 -08:00
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
23057dc4ba PropertyBag translation cleanup 2022-01-26 18:36:58 -06:00
sliptonic
c46f12ec9e AreaOp translation cleanup 2022-01-26 18:36:06 -06:00
sliptonic
88dd7d2b98 Black reformat 2021-09-01 12:56:00 -05:00
sliptonic
47128e53bb black 2021-09-01 12:26:29 -05:00
sliptonic
13779a6db9 purge archpanel support 2021-09-01 08:34:46 -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
sliptonic
900612ce2b Update PathOp.py
fix typo
2021-02-16 09:25:59 -06: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
Markus Lampert
f2f552b4d6 Make PathOp rebust(er) against manual Base assignment 2021-01-24 18:35:36 -08:00
Markus Lampert
933e13131e Added warning suppression for all missing speeds and changed default to true 2020-12-15 20:05:42 -08:00
Markus Lampert
95b2a20228 Added preference option to suppress missing rapid speed warning 2020-12-15 20:05:42 -08:00
Markus Lampert
19cb93302a Adding g0 to safety to base op so it's applied to all ops 2020-12-13 15:00:05 -08:00
markus
beb4f2e011 Filter all TCs for suitability for a given op. 2020-12-03 18:15:36 -08: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
6be4352ea7 [Path] Tidy imports 2020-10-29 21:35:24 +00:00
Daniel Wood
e22de3bde1 [Path] PEP8 whitespace fixes 2020-10-29 21:29:25 +00:00
Daniel Wood
eb3fbc0f94 [Path] set the default max diameter 2020-10-29 21:27:32 +00:00
Daniel Wood
9b2b86b91f Add a task panel page for controlling turning diameters 2020-10-11 07:57:59 +01:00
Eric Trombly
cf9fec5ffd 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
0fa628928d [PATH] make -custom- op compliant. Improve gcode_pre importer 2020-06-10 16:49:46 -05:00
Gabriel Wicke
86cd9f2124 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
40cdf68491 only reset the Op visibility when the active state is toggled 2020-05-24 07:48:55 +01:00
Russell Johnson
ad03af3e43 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
3fc7fd727b Translate user messages 2020-05-09 10:39:48 +01:00
Daniel Wood
d945e3c9fb Use PathLog for user notices 2020-05-09 10:35:55 +01:00
Daniel Wood
3a65a764e3 PathOp PEP8 Formatting Fixes 2020-05-09 09:02:16 +01:00
Daniel Wood
33ad1a3f5f reword feedrate error when no tool controller is selected 2020-05-09 08:34:55 +01:00
Daniel Wood
14905a17df Change feedrate error to warning. 2020-05-09 08:34:10 +01:00
Daniel Wood
233d760b6b remove debug print 2020-04-22 19:36:24 +01:00
Daniel Wood
37ed81d070 Add cycleTime Attribute to PathOp 2020-04-22 19:10:18 +01:00
Eric Trombly
24e681c63b 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
81bbb0066d Removed dead code for debugging shortcut warnings. 2020-01-03 23:13:55 -08:00
Markus Lampert
a5d1203980 Added ToolController creation 2019-11-28 17:31:35 -08:00
Daniel Wood
2085cf338a Add a coolant feature to the base PathOP 2019-08-28 19:40:08 +01:00
Markus Lampert
f0602457d7 Fixed PathHelix assert statements 2019-08-22 18:02:49 +02:00
Markus Lampert
cadea61e0b Make Helix op robust against features that don't exist anymore 2019-07-14 21:30:38 -07: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
sliptonic
617c619d2f remove unnecessary imports. normalize debug log levels 2019-06-21 13:01:01 -05:00
luz.paz
ec12ffae0c Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
sliptonic
2af9096a0b icon for inactive 2019-04-05 15:04:02 +02:00
luz.paz
06d583b425 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
49bb541a1e Crowdin: Path/PathScripts/PathOp.py capitalize string 2019-01-19 23:31:49 -06:00
Markus Lampert
256d42e2de Fixed unit tests to support multiple base models. 2018-09-11 07:24:31 +02:00
Markus Lampert
15542839ac Added automatic setting of operation values from the setup sheet during creation. 2018-09-02 00:32:22 -07:00