aboutsummaryrefslogtreecommitdiff
path: root/gerbolyze
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-10-19 12:26:43 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-10-19 12:26:43 +0200
commit9a6ab822f2ef388a07c4a85effbd1adc08618ea5 (patch)
treef0454666e36f5c258fe7acc6da21ef39651d5bcb /gerbolyze
parent73a2d0b0fbcb20c6c0c79aa5491db0bf5329f713 (diff)
downloadgerbolyze-9a6ab822f2ef388a07c4a85effbd1adc08618ea5.tar.gz
gerbolyze-9a6ab822f2ef388a07c4a85effbd1adc08618ea5.tar.bz2
gerbolyze-9a6ab822f2ef388a07c4a85effbd1adc08618ea5.zip
gerbolyze: Add --exact option and fix copper layer processing
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)