aboutsummaryrefslogtreecommitdiff
path: root/gerbolyze
diff options
context:
space:
mode:
Diffstat (limited to 'gerbolyze')
-rwxr-xr-xgerbolyze3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerbolyze b/gerbolyze
index e6c6d67..fad68b4 100755
--- a/gerbolyze
+++ b/gerbolyze
@@ -16,6 +16,7 @@ if __name__ == '__main__':
vectorize_parser.add_argument('side', choices=['top', 'bottom'], help='Target board side')
vectorize_parser.add_argument('--layer', '-l', choices=['silk', 'mask', 'copper'], default='silk', help='Target layer on given side')
+ vectorize_parser.add_argument('--exact', '-x', action='store_true', default=False, help='Do not subtract existing features on other layers from overlay')
vectorize_parser.add_argument('source', help='Source gerber directory')
vectorize_parser.add_argument('target', help='Target gerber directory')
@@ -29,7 +30,7 @@ if __name__ == '__main__':
args = parser.parse_args()
if args.command == 'vectorize':
- gerbolyze.process_gerbers(args.source, args.target, args.image, args.side, args.layer, args.debugdir)
+ gerbolyze.process_gerbers(args.source, args.target, args.image, args.side, args.layer, args.exact, args.debugdir)
else: # command == render
gerbolyze.render_preview(args.source, args.image, args.side, args.fab_resolution, args.oversampling)