GRBL & Candle CNC Heightmap vs. 3D Relief STL Guide (UGS, Easel & Carbide Create)
GRBL 1.1 users running Candle, Universal Gcode Sender (UGS), Easel, or Carbide Create often mix up two different "heightmap" workflows: Candle Z-probe surface leveling (probing warped copper PCB or uneven hardwood stock so engraving stays uniform) versus 2.5D relief heightmaps (converting a photo or emblem into a smooth 16-bit depth map or watertight binary .STL mesh for 3D ball-nose carving). Use CutPath /relief-stl to generate spike-free 16-bit heightmaps and solid-base STLs, verify mesh topology in /stl-viewer, and backplot your GRBL .nc toolpath in /gcode-viewer before touching your spoilboard.
- Separates Candle Z-probe surface leveling from 2.5D relief carving heightmaps & binary STLs
- AI-conditioned 16-bit depth maps (65,536 Z levels) prevent 8-bit stair-stepping on 3018/Shapeoko/Onefinity routers
- Watertight binary .STL with flat Z=0 baseplate imports cleanly into Carbide Create Pro, VCarve, Carveco & Fusion 360
- Free /gcode-viewer backplots GRBL .nc/.gcode files to catch G0 rapid Z-crashes before running Candle or UGS
GRBL 1.1 / Candle Heightmap Probing & 3D Relief Ball-Nose Parameters
| Parameter / Material | Recommended Setting | Shop-Floor Engineering Note |
|---|---|---|
| Candle Z-Probe Surface Heightmap (PCB / Warped Wood) | Grid Spacing: 10–25 mm · Probe Feed: 25–50 mm/min | Uses G38.2 Z-probe contact across X/Y grid in Candle to warp Z-coordinates of an existing .nc file onto uneven stock. |
| 2.5D Relief Heightmap Format (Image-to-Carve) | 16-Bit Grayscale PNG (65,536 Z levels) or Binary .STL | 8-bit JPG/PNG heightmaps only hold 256 Z steps, creating visible contour rings on shallow wood or brass carvings. |
| 3D Roughing Pass (GRBL Desktop Router) | 1/8" or 1/4" Flat Up-Cut End Mill · 35%–40% Stepover | Leave 0.5–1.0 mm (0.020"–0.040") machining allowance above the relief surface so the finishing ball-nose bit takes a uniform load. |
| 3D Finishing Pass (Tapered Ball-Nose) | R0.5 mm – R1.0 mm Tapered Ball Nose · 8%–12% Stepover | 8%–10% stepover yields sand-free portraits on walnut/maple; 12% cuts faster on large plaques with light hand-sanding. |
| Pre-Cut GRBL .NC Verification | Check Z-Safe Clearance & G0 Rapids in /gcode-viewer | Confirm Z-min never exceeds stock thickness and rapid retract height clears all hold-down clamps before sending to Candle/UGS. |
Step-by-Step Shop Workflow
- 01 Upload your photo, crest, or emblem into CutPath /relief-stl to build a smooth, spike-free 2.5D relief with exact X/Y width and Z height.
- 02 Export the watertight binary .STL (for Carbide Create Pro, VCarve, Carveco, or Fusion 360) or 16-bit PNG heightmap, and inspect mesh bounds free in /stl-viewer.
- 03 Generate roughing + 8%–12% ball-nose finishing G-code (.nc / .gcode) using a GRBL (mm or inch) post-processor.
- 04 Drop the .nc file into CutPath /gcode-viewer to verify safe Z retracts and cycle time, then load into Candle or UGS (applying Candle Z-probe heightmap leveling if your stock is warped).
Common Controller Errors & Verified Fixes
Candle applies heightmap probing correctly, but the 3D portrait still carves with jagged spikes and sunken eyes
Cause: Raw photo luminance was fed straight into a heightmap converter instead of a true 3D surface depth estimation.
Fix: Generate an AI-conditioned 16-bit depth map or watertight binary .STL in CutPath /relief-stl so highlights and dark hair map to smooth physical Z relief.
GRBL 3018 or belt-driven router stalls or loses Z steps halfway through a 3D relief finish pass
Cause: No roughing pass was run before the fine tapered ball-nose bit, or Z-axis acceleration ($122) is too aggressive for continuous 3D G1 micro-moves.
Fix: Always run a flat end-mill roughing pass first, keep finishing stepover at 8%–10%, and verify total Z-travel and feedrates free in /gcode-viewer.
Carbide Create or Easel imports the STL upside down, floating above Z=0, or with open mesh warnings
Cause: Source STL lacks a capped bottom baseplate or has unscaled arbitrary mesh units.
Fix: Export from CutPath /relief-stl with a solid 2–3 mm baseplate snapped to Z=0 and verify 0 open boundary edges free in /stl-viewer.