diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/panelize.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/panelize.py b/examples/panelize.py index 1c5c0da..34cc446 100755 --- a/examples/panelize.py +++ b/examples/panelize.py @@ -37,16 +37,17 @@ for ext in exts: ctx = DrillComposition() else: ctx = GerberComposition() - for path, x_offset, y_offset, theta in boards: + for path, x_offset, y_offset, angle in boards: file = gerberex.read(path + ext) file.to_metric() - file.rotate(theta) + file.rotate(angle) file.offset(x_offset, y_offset) ctx.merge(file) putstr('.') if ext == 'TXT': file = gerberex.read(mousebites) file.draw_mode = DxfFile.DM_MOUSE_BITES + file.to_metric() file.width = 0.5 file.format = (3, 3) ctx.merge(file) |