ParaSeries: untested bugfix
This commit is contained in:
parent
b00a34efc5
commit
f029890a39
|
@ -100,7 +100,7 @@ class LatticeParaSeries(lattice2BaseFeature.LatticeFeature):
|
|||
scale = 1.0
|
||||
try:
|
||||
if not selfobj.Object.Shape.isNull():
|
||||
scale = selfobj.Object.Shape.BoundBox.DiagonalLength/math.sqrt(3)/math.sqrt(len(shps))
|
||||
scale = selfobj.Object.Shape.BoundBox.DiagonalLength/math.sqrt(3)
|
||||
except Exception:
|
||||
pass
|
||||
if scale < DistConfusion * 100:
|
||||
|
@ -153,7 +153,7 @@ class LatticeParaSeries(lattice2BaseFeature.LatticeFeature):
|
|||
scale = 1.0
|
||||
try:
|
||||
if not selfobj.Object.Shape.isNull():
|
||||
scale = selfobj.Object.Shape.BoundBox.DiagonalLength/math.sqrt(3)/math.sqrt(len(shps))
|
||||
scale = selfobj.Object.Shape.BoundBox.DiagonalLength/math.sqrt(3)
|
||||
except Exception:
|
||||
pass
|
||||
if scale < DistConfusion * 100:
|
||||
|
|
Loading…
Reference in New Issue
Block a user