How to Make a Pen Drawing Using a CNC Machine
A step-by-step process for turning vector line art into a plotted drawing on a CNC router or mill. Written for engineers and machinists who want repeatable line weight, clean pen-down control, and a setup that does not wreck the pen.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Key takeaways
What pen drawing using a CNC machine actually requires
A CNC machine is a positioning system. It reads coordinates and moves a tool to them. For cutting, the tool removes material and the machine's stiffness matters. For drawing, the tool deposits ink and the machine's stiffness barely matters. What matters is that the pen tip touches the surface with the same force on every line.
That single requirement drives every decision in this guide. A 3-axis router with a flat table and a working Z axis is enough. You do not need a 5-axis machine, a high-speed spindle, or a vacuum table. You need a pen holder that floats vertically, a flat substrate, and a toolpath that never asks the pen to plunge.
People often ask whether a CNC machine can reproduce a hand drawing. It cannot reproduce hand tremor, and it should not try. What it does well is repeat the same curve 200 times with the same line weight. Treat the CNC as a plotter, and the process becomes predictable.
- 1Machine typeAny 3-axis router or mill with a working Z axis and a flat bed.
- 2SpindleOff or locked. A spinning spindle will fling ink and tear paper.
- 3ControlStandard G-code. No special post-processor needed.
- 4Skill levelBasic CAD and CAM. If you can cut a 2D contour, you can plot.
Prepare vector line art the machine can follow
Start with clean vector art, not a raster image. A CNC controller follows paths. A photograph has no paths, only pixels, and auto-tracing a photo produces thousands of tiny segments that make the machine stutter and the pen blot.
Draw at final size in millimeters, or scale deliberately before export. If your drawing is 200 mm wide on screen and you export at 200 mm, one unit equals one millimeter. If you export in inches and the controller reads millimeters, your drawing comes out 25.4 times too large.
Use open paths where lines should start and stop, and closed paths only for shapes that return to their start. Duplicate and overlapping lines are the most common cause of dark, blotted corners. Delete them before export, not after.
Export as SVG or DXF. Both preserve path order and node positions. Avoid PDF export unless your CAM software imports it cleanly, because PDF can flatten paths into polylines with excessive node counts.
- 1Check unitsConfirm mm or inch in both the drawing file and the CAM import dialog.
- 2Clean nodesRemove duplicate points and zero-length segments before export.
- 3Watch minimum feature sizeLines closer than the pen tip width will merge into one thick stroke.
Build or buy a floating pen holder
A rigid pen holder works only if your table is perfectly flat and your pen tip is perfectly centered. Neither is true on a real machine. Table flatness on a router bed can vary by 0.2–0.5 mm across the work area, and pen bodies are not concentric to 0.01 mm.
A floating holder solves both problems. The pen slides vertically in a sleeve and rests on the paper under its own weight plus a light spring. Travel of 3–5 mm is enough to absorb table variation. The spring should be soft, roughly 0.5–1.5 N of preload, so the pen tip does not dent the paper.
The holder mounts in the collet or a tool holder, but the pen must not spin. Lock the spindle or disable it in the program. On many controllers, M5 stops the spindle and leaves the axis free, so add a mechanical lock or use a collet that grips the holder body firmly.
Alignment matters more than holder design. The pen axis should be perpendicular to the table within about 0.5°. Tilt makes one side of the stroke heavier and shortens the effective line on direction changes.
- 1Spring preload0.5–1.5 N. Enough to keep contact, light enough to avoid paper indentation.
- 2Vertical travel3–5 mm of float. More travel adds wobble, less travel loses contact.
- 3Pen choiceTechnical pens and fine felt tips hold line weight better than ballpoints.
Write the plot program and set pen-down height
In CAM, select a 2D contour or engraving toolpath with zero cutter compensation. Set the tool diameter to the pen tip width, typically 0.3–0.8 mm, so the software knows how close lines can run. Set the depth of cut to a constant value and disable multiple passes.
The critical number is pen-down height. Jog the Z axis down until the pen just touches the paper, then record that machine coordinate. Add 0.2–0.5 mm of extra travel for pen-down, and lift 3–10 mm for rapid moves. Without enough lift, the pen drags across the drawing between shapes.
Feed rate for plotting is much slower than for cutting. Start at 1,500–3,000 mm/min for felt tips and 600–1,200 mm/min for technical pens. Run the first drawing at half speed to see where ink pools, then increase until line weight stays even.
Set the Z axis feed separately. Plunge and retract moves should run at 300–600 mm/min. Fast Z moves slam the pen into the paper and leave a dot at the start of every stroke.
- 1Pen-down heightTouch-off coordinate plus 0.2–0.5 mm of extra travel.
- 2Retract height3–10 mm above the paper for travel moves.
- 3Z feed300–600 mm/min for plunge and retract to avoid ink dots.
Common failures and how to correct them
Blotting at stroke starts usually means the Z plunge is too fast or the pen-down height is too deep. Lower the Z feed to 300 mm/min and reduce pen-down travel to 0.2 mm. If the blot persists, the pen tip is flooding and needs a rest position away from the drawing.
Broken or faint lines on fast curves point to insufficient spring preload or a feed rate the ink cannot follow. Reduce feed by 30% and check that the pen tip is not lifting on direction changes. If the holder has play, tighten it or replace the sleeve.
Double lines come from duplicate paths in the vector file, not from the machine. Open the export in a vector editor, select all, and use a remove-duplicates or merge-coincident-nodes function. Re-export and re-plot.
Ink smearing happens when the pen drags during travel moves. Increase retract height to 5–10 mm and add a small dwell before the X and Y move. On coated stock, wait 2–3 seconds after each layer before handling the sheet.
- 1Blots at stroke startSlower Z plunge, shallower pen-down travel.
- 2Faint lines on curvesLower feed, more spring preload.
- 3Double linesRemove duplicate paths in the vector file.
Step by step: from file to finished drawing
Follow the order. Skipping the touch-off step causes the most failures.
- 11. Flatten and clean the bedRemove chips and dust. On a router bed, skim the spoilboard if it has not been faced in months. Wipe the paper area with a dry cloth and let it settle for a few minutes.
- 22. Tape the paper downUse low-tack tape on all four edges, or a vacuum hold-down if available. Paper that lifts by 0.3 mm changes line weight across the drawing.
- 33. Install the pen holder and check runoutMount the holder, then jog X and Y while watching the pen tip. Runout above about 1 mm means the holder is tilted or the pen is bent. Fix it before touching off.
- 44. Touch off Z by handSwitch to 0.01 mm jog increments and lower until the pen tip just marks the paper. Record the Z machine coordinate as your reference.
- 55. Set work zero and dry runSet X, Y, and Z zero. Raise Z by 20 mm and run the program with the pen lifted. Watch for travel moves that pass over drawn areas.
- 66. Plot the first pass at half feedRun at 50% feed override. Check line weight on long curves and at direction reversals. Adjust feed override up only if the ink stays even.
- 77. Inspect and re-plot if neededLook for blots at stroke starts, gaps on fast curves, and double lines from duplicate paths. Fix the program, not the pen, for repeatable results.
- 88. Log the settingsRecord pen type, feed, pen-down height, and paper batch. The next job on the same setup will run without trial and error.
Pen holder and substrate options compared
Pick the column that matches your drawing size and line weight target.
| Option | Best for | Typical setting | Main risk |
|---|---|---|---|
| Rigid collet holder | Very flat beds, short drawings | Fixed Z, 0 mm float | Pen skips or digs in on uneven beds |
| Spring floating holder | Most router beds, mixed paper | 0.5–1.5 N preload, 3–5 mm travel | Spring too stiff indents the paper |
| Weighted floating holder | Technical pens, heavy paper | Pen weight only, no spring | Light pens lose contact on fast moves |
| Bond paper 80–100 gsm | Practice and proof plots | 1,500–3,000 mm/min | Ink bleed on felt tips |
| Vellum or tracing paper | Fine technical pens | 600–1,200 mm/min | Surface scratches show easily |
| Coated card stock | Presentation drawings | 1,000–2,000 mm/min | Slow drying, smearing on retract |
The machine is the easy part
If your pen drawing using a CNC machine looks wrong, the fix is almost always in the holder, the pen-down height, or the vector file. Change one variable at a time and log what worked.
Questions about pen drawing using a CNC machine
Can any CNC router do pen plotting?
Any machine with a working Z axis, a flat bed, and standard G-code control can plot. The spindle does not need to run. Machines with fast rapids and fine Z resolution produce the best results.
Very large gantry routers can work, but bed flatness matters more as drawing size grows. On a 4,000 mm bed, expect to shim or face the spoilboard before plotting.
What pen should I use for a CNC drawing?
Fine felt-tip pens and technical pens give the most consistent line weight. Ballpoints work but need more pressure, which increases paper indentation and drag.
Match ink to paper. Water-based ink on absorbent bond paper bleeds. Pigment ink on vellum stays crisp but dries slower.
How do I stop the pen from dragging between shapes?
Increase retract height to 5–10 mm and add a short dwell after the retract move. Check that the pen tip is not bent and that the holder returns to the same height each cycle.
If the drawing has many small shapes, group the paths so the pen travels less. Fewer lift-and-drop cycles means fewer chances to drag.
What feed rate gives the cleanest line?
Start at 600–1,200 mm/min for technical pens and 1,500–3,000 mm/min for felt tips. Run the first plot at half speed and increase only while line weight stays even.
Feed rate interacts with paper and ink. A rate that works on bond paper will smear on coated card stock.
Can the machine draw on metal or plastic?
Yes, with the right pen. Permanent markers work on aluminum and steel that have been cleaned and degreased. Paint pens deposit thicker lines and need slower feeds.
On machined surfaces, the pen follows surface texture. A bead-blasted or as-machined finish will break the line where the tip skips over peaks.
Do I need to run the spindle for pen plotting?
No. Leave the spindle off and lock it mechanically if the controller releases the axis. A spinning spindle throws ink and can tear the paper.
If your controller requires a spindle command to enable motion, use the lowest speed and remove the belt or disable the drive.
Need a fixture or holder machined for your plotter?
We machine pen holders, brackets, and custom fixtures in aluminum, stainless, and engineering plastics. Send a drawing and we return a quote with DFM feedback within 12 hours.
12-hour quoteNo minimum order quantity100% inspection