From be1e394da9401f00ccf4a48a70363c1f12459ac3 Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Mon, 17 May 2021 22:51:57 -0500 Subject: [PATCH] Path: Changes to allow for Adaptive op defaults at job level Add `SetupProperties()` function to Adaptive module. Connect `SetupProperties()` function to GUI command resources. Add string assignment for `App::PropertyPythonObject` property prototype --- src/Mod/Path/PathScripts/PathAdaptive.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Mod/Path/PathScripts/PathAdaptive.py b/src/Mod/Path/PathScripts/PathAdaptive.py index 4d16b1d68e..2c765c5d15 100644 --- a/src/Mod/Path/PathScripts/PathAdaptive.py +++ b/src/Mod/Path/PathScripts/PathAdaptive.py @@ -737,6 +737,16 @@ def SetupProperties(): return setup +def SetupProperties(): + setup = ["Side", "OperationType", "Tolerance", "StepOver", + "LiftDistance", "KeepToolDownRatio", "StockToLeave", + "ForceInsideOut", "FinishingProfile", "Stopped", + "StopProcessing", "UseHelixArcs", "AdaptiveInputState", + "AdaptiveOutputState", "HelixAngle", "HelixConeAngle", + "HelixDiameterLimit", "UseOutline"] + return setup + + def Create(name, obj=None, parentJob=None): '''Create(name) ... Creates and returns a Adaptive operation.''' if obj is None: