Needlepoint Painter
A DIY machine that paints needlepoint canvases
- Concept
- Concept, simulator only
- MPCNC Primo (DIY CNC frame)
- Home server
A brand we liked stopped selling its large hand-painted stocking canvases, so I'm building a machine to paint our own. It takes a stitch chart, a grid where each square is one thread crossing in one color, and paints it onto blank mono canvas with acrylic paint pens.
Mono canvas threads wander and shift, so a grid lined up once at the start drifts off the real threads. The machine has to follow the mesh the way a person counting threads does. A camera on the gantry looks at each small patch right before painting it and checks it right after, and a light pad under the canvas makes the holes bright and the threads dark no matter what color they've been painted.
The frame will be a stock MPCNC Primo from V1 Engineering, printed on my X1C and run by a Jackpot3 controller. I'm designing everything that mounts on it: a magnetic pen changer, the camera mount, and the canvas fixture. The control software runs end to end in a simulator, and the machine isn't built yet.
How it works
Paints from a stitch chart
A design is a grid of thread crossings with a color for each one. The machine plans its passes straight from that grid, so there's no vector artwork or drawing software involved.
Light colors first
Colors go on lightest first so small slips get covered by darker paint later. Within each color, cells become short strokes along thread rows, grouped into small patches.
Magnetic pen changer
Each pen sits in a printed sleeve with a magnet in the top, and the tool mount grabs and drops sleeves from a rack. The sleeve lets the pen float a few millimeters, so the tip rides the canvas with even pressure.
Backlit mesh tracking
The machine scans the whole canvas in overlapping photos and gives every crossing a row and column. It counts neighbor to neighbor, so small errors don't add up across the canvas, and it needs no printed alignment marks.
Look, paint, check
Pen pressure moves threads, so the camera looks again right before each patch. After painting it checks coverage and queues touch-ups for anything missed.
Stops when the aim is off
Paint on crossings that should never get that color means the aim has drifted. When the check finds three or more, the machine parks and stops before the mistake spreads. In simulation, an aim error of one thread gets caught this way.
Picks up after a stop
The machine keeps a log of finished patches. Restarting a stopped job skips the patches already done.
Tested without hardware
A simulated canvas with wandering threads, a fake controller, and a fake camera run the same motion commands the real machine will get.
Plan
- Done
Design and parts list
Picked the frame, controller, camera, and pens, and priced the parts.
- Done
Control software in simulation
The full look, paint, and check loop runs against a simulated canvas, controller, and camera.
- Next
Phase 1: pen tests
Draw swatches on scrap canvas, then soak them and press them on a white towel to check for bleeding. The same round checks coverage and how long a tip lasts, and runs the camera's first detection test on a printed stand.
- Next
Phase 2: build the machine
The frame and motion parts work with any applicator, so I can buy and print them before the pen tests finish. Then I finish the pen changer and rack, set the work area, cut the conduit, and build the Primo from V1's docs. Tuning pen pressure comes last.
- Later
Bring-up on real hardware
Calibrate against the real machine, run a paint pass in the air over a bare table, then scan real canvas and paint a chart.
- Later
GPU checking models
Train paint and coverage detection on the photos the machine saves of its own work, once there are real images to learn from.
FAQ
Why not buy a machine that already does this?
The closest I found was the xTool M2, which lines up well with its camera for printing and cutting. Its ink is a water-based dye, though, and finished canvases get dampened and stretched (called blocking), which dye ink doesn't reliably survive. It's also a sealed appliance, and building the machine is part of why I'm doing this.
Why paint pens instead of a brush?
A brush was the plan for a while, since that's how canvases are painted by hand. Pens skip thinning paint, reloading, and rinsing, which takes a lot of moving parts off the machine. The camera loop catches thin spots and queues touch-ups.
Why use the MPCNC instead of designing a frame?
Moving a tool around in X and Y is a solved problem. The MPCNC Primo has thousands of builds, step-by-step docs, and a ready controller config, which leaves my design time for the camera loop and the pen changer. A known-good frame also keeps mechanical error from getting mixed up with vision error while I debug.
How does it know the paint went on the right crossing?
Every check photo finds the mesh holes again and re-anchors the grid to that image, so it measures against the threads it can see. It reads the paint crossing by crossing, and three or more crossings with paint that shouldn't be there stops the job.
Does it work yet?
The software does, in a simulator. There's no machine yet. Next come pen tests, then building the frame.
How does this relate to Meshmerize?
Meshmerize is my iPhone and iPad app for designing needlepoint patterns. The painter paints from a pattern's stitch chart. Nothing passes directly between them yet, since Meshmerize exports PDFs and the painter reads a color grid.
What does it run on?
My home server, which sits in the same room as the machine. The controller and camera plug into it over USB.
Needlepoint Painter
A DIY machine that paints needlepoint canvases