- PDB Name:
- sg-anti-crop.scm (after the page appears, click on the "Download" command)
- The main purpose of this script is to remove either a horizontal or a vertical strip from a layer and then re-join the two outside regions. The "strip" is defined by a rectangular selection spanning the entire width or height of the layer.
If the selected region does not completely span the layer then, rather than generating an error, the script will extend the selection to the layer boundary, remove the resultant selection, and then re-join the remaining regions. In all cases, the resultant layer is centered relative to the location of the original layer.