The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

Layered Paper: Aligning and Layering the Cornell Painted Warblers

Processing the original PDF of a Cornell Painted Warbler produces a PNG image:

Page 4 - butterfly unmasked
Page 4 – butterfly unmasked

And an SVG file with shapes matching the regions to be cut out:

Page 4 - black mask
Page 4 – black mask

Both of those derive from the same PDF page, cropped to emphasize the bird, then scaled to match the 172×220 mm rectangle in the middle of the LightBurn template corresponding to the alignment fixture:

Printed sheet template - 8×10 - 172x220
Printed sheet template – 8×10 – 172×220

A key point: the blue outline around the image must be centered within the red outline marking the sheet cutout, because that dramatically simplifies the overall alignment process.

Protip: Crop the image in GIMP with a fixed aspect ratio of 172:220 before scaling the result to match the 172×220 frame, then derive both the PNG and SVG from the result.

The alert reader will recall the SVG shapes exclude the 6 pixel = 0.5 mm border closing the outlines, so the overall SVG size is 1 mm smaller than the PNG image. This will not be a problem, for reasons to become obvious.

Because Inkscape can handle both SVG shapes and color PNG images (LightBurn turns them into grayscale):

  • Export the LightBurn template as an SVG
  • Open with Inkscape
  • Make the Tool layer elements visible
  • Import the PNG

Without further ado, the PNG is automagically centered in both the blue and red rectangles:

Page 4 - Layer 1 - Inkscape print layout
Page 4 – Layer 1 – Inkscape print layout

Print it, measure the vertical and horizontal distances between the corner target centers, scale the overall image to make the printed result come out exactly right, then iterate until satisfied. Scaling it 100.3% vertically worked for what’s called Art Cover paper printed with Stationery High Quality in an Epson ET-3830 printer. Your mileage will be different.

Protip: Save the unscaled page as an Inkscape SVG, because the scale factor(s) depend on the paper / print quality setting / moon phase and you will print it several times under different conditions.

In LightBurn:

  • Tweak a copy of the sheet template to eliminate the corner holes & suchlike
  • Import the Black Mask SVG into LightBurn
  • Drag-n-drop it at the center of the template
  • Set the speed / power to cut black Art Cover paper

Which becomes the Black Mask layer:

Page 4 - Layer 0 - Lightburn layout
Page 4 – Layer 0 – Lightburn layout

The alert reader will note the slightly different template layout: it’s been undergoing continuous process improvement and I’m not re-capturing all the details.

The Black Mask SVG contains all the shapes-to-be-cut, so it forms the basis for all the sheets under the top mask. Drag-n-drop a copy of the Black Mask SVG at the center of a copy of the template, ungroup it, delete the outlines of all the shapes on the printed layer, and set the speed / power for ordinary Art Cover paper:

Page 4 - Layer 1 - Lightburn layout
Page 4 – Layer 1 – Lightburn layout

The shapes on each layer will be the same as the one above it, minus whatever shapes have the color of that layer. After you finish each layer, select all its shapes, duplicate them, drop them at the center of the next sheet template, and iterate.

Or just set up a line of templates spaced (say) 240 mm apart using the Grid Array tool:

Page 4 - All layers - LightBurn layout
Page 4 – All layers – LightBurn layout

If you’re so inclined, set up their binary layer number holes:

Layered Paper cutting fixture - layer binary code
Layered Paper cutting fixture – layer binary code

Then:

  • Select the finished shapes in one layer
  • Duplicate them (Ctrl-D)
  • Use the Numeric Edits toolbar to subtract 240 mm from their current location
  • Which causes them to appear exactly centered in the next template to the right without any drag-n-drop action

Because my CO₂ laser has a Ruida controller and homes in the rear-right corner:

  • X coordinates increase to the left
  • Y coordinates increase to the front

You can get used to anything if you do it enough and your coordinates will likely be different.

Protip: Adding a description of each layer’s contents / color will be of great assistance when you select the paper.

The end result of all that will be a set of sheet layouts ready to cut:

  • Select one entire sheet template + bird shapes
  • Duplicate it with Ctrl-D
  • Center the dupe on the LightBurn workspace with P (not Ctrl-P, which will send it to your printer)

The next piece of the puzzle: correctly aligning a Letter piece of paper with those shapes …

Comments

Spam comments get trashed, so don’t bother; you’re not as clever as you think. Comment moderation may cause a delay.