diff --git a/pFeatures.py b/pFeatures.py index d879961..7a1fdc4 100644 --- a/pFeatures.py +++ b/pFeatures.py @@ -88,6 +88,27 @@ def onChanged(self, fp, prop): if prop=='ID' and fp.IDfp.OD/2: fp.thk=fp.OD/2 fp.ID=fp.OD-2*fp.thk @@ -128,6 +149,16 @@ def onChanged(self, fp, prop): if prop=='ID' and fp.IDfp.OD/2: fp.thk=fp.OD/2 @@ -604,25 +635,6 @@ def execute(self, fp): self.purge(fp) self.redraw(fp) return - from math import tan - for i in range(len(fp.Tubes)): - L=fp.Base.Shape.Edges[i].Length - R=fp.BendRadius - # adjust the curve - if i