[3D][Fixed] THT resistors

Problem introduced by pre-commit tests
This commit is contained in:
Salvador E. Tropea 2024-01-11 09:44:57 -03:00
parent 7bfd46e9d6
commit 2c91fd79bc
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ class Base3DOptions(VariantOptions):
m = coo_re.match(ln)
if m:
index = prev_ln
points = [(float(v) for v in x.split(' ')) for x in m.group(1).split(',')]
points = [tuple(float(v) for v in x.split(' ')) for x in m.group(1).split(',')]
x_len = (points[0][X]-points[2][X])*2.54*2
if abs(x_len-r_len) < 0.01:
logger.debug(' - Found horizontal: {}'.format(round(x_len, 2)))