Cutting Mask - OptrixAU/printathome-python GitHub Wiki

Some players and designers have access to cutters, which work very much like printers, but instead of adding colour to the paper, they cut the paper instead.

Cutting masks are often used on cards that use a mask.

Getting Started

First, create a SVG file in Inkscape or Adobe Illustrator with the same size as your output cards.

Second, copy in a sample card and line it up with the top-corner of your image.

Open the Layers panel and add a new layer. Lock the old layer, so that you can draw directly on top of your image.

Use a shape tool (ie. the Rounded Rectangle tool is common for playing cards) to define the shape of your cutout and place it appropriately.

Remove the layer with the original image, leaving only the layer with the shapes.

Save this as an SVG.

Open the file in a text editor and delete....

  1. The XML header
  2. The and lines.

In the sample provided with the program, we create a cut file that trims each card to have rounded corners.

<path d="M520.44,1084.51H73.51c-22,0-40-18-40-40v-970c0-22,18-40,40-40h446.92c22,0,40,18,40,40v970
	C560.44,1066.51,542.44,1084.51,520.44,1084.51z"/>
⚠️ **GitHub.com Fallback** ⚠️