From 685dbb56b2579e44a0609afb69417e3580210382 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 6 Feb 2021 16:01:29 +0100 Subject: README: Update subtraction script blurb --- README.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index fb613f9..1a5cf68 100644 --- a/README.rst +++ b/README.rst @@ -308,10 +308,13 @@ Subtraction scripts .. image:: pics/subtract_example.png -Subtraction scripts tell ``gerbolyze paste`` which layers to remove from other layers. When a source layer is given in -the subtraction script, gerbolyze will dilate everything on this source layer and remove it from the target layer. By -default, Gerbolyze subtracts the mask layer from the silk layer to make sure there are no silk primitives that overlap -bare copper. +Subtraction scripts tell ``gerbolyze paste`` to remove an area around certain input layers to from an overlay layer. +When a input layer is given in the subtraction script, gerbolyze will dilate (extend outwards) everything on this input +layer and remove it from the target overlay layer. By default, Gerbolyze subtracts the mask layer from the silk layer to +make sure there are no silk primitives that overlap bare copper, and subtracts each input layer from its corresponding +overlay to make sure the two do not overlap. In the picture above you can see both at work: The overlay contains +halftone primitives all over the place. The subtraction script has cut out an area around all pads (mask layer) and all +existing silkscreen. You can turn off this behavior by passing ``--no-subtract`` or pass your own "script". The syntax of these scripts is: -- cgit