Export SVG images of each tile
This commit is contained in:
parent
23a3b2d12b
commit
1a84e96ff1
1 changed files with 2 additions and 1 deletions
|
|
@ -369,7 +369,8 @@ for index, ((y, x), spec) in tqdm.tqdm(enumerate(zip(itertools.product(range(row
|
|||
if 'gen.outer_diameter' not in spec:
|
||||
spec['gen.outer_diameter'] = coil_dia
|
||||
|
||||
args = ['python', '-m', 'twisted_coil_gen_twolayer', '--no-keepout-zone']
|
||||
Path('svg').mkdir(exist_ok=True)
|
||||
args = ['python', '-m', 'twisted_coil_gen_twolayer', '--no-keepout-zone', '--svg-out', f'svg/tile{index}.svg']
|
||||
for k, v in spec.items():
|
||||
prefix, _, k = k.partition('.')
|
||||
if (not isinstance(v, bool) or v) and prefix == 'gen':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue