diff --git a/coil_test_board.py b/coil_test_board.py index af47ddf..dee1178 100644 --- a/coil_test_board.py +++ b/coil_test_board.py @@ -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':