From af9857faef9a7218820e335ed7404f78fcb3597f Mon Sep 17 00:00:00 2001 From: mwganson Date: Sun, 2 Jan 2022 12:08:52 -0600 Subject: [PATCH] [PartDesign::Scripts::Spring.py] update old example script --- src/Mod/PartDesign/Scripts/Spring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/PartDesign/Scripts/Spring.py b/src/Mod/PartDesign/Scripts/Spring.py index 08337fc70f..5276f48c37 100644 --- a/src/Mod/PartDesign/Scripts/Spring.py +++ b/src/Mod/PartDesign/Scripts/Spring.py @@ -32,8 +32,8 @@ class MySpring: c.Radius = barradius p = c.toShape() section = Part.Wire([p]) - makeSolid = 1 # change to 1 to make a solid - isFrenet = 1 + makeSolid = True + isFrenet = True myspring = Part.Wire(myhelix).makePipeShell([section], makeSolid, isFrenet) fp.Shape = myspring