Calibrating Your Workspace¶
Ensure your laser cuts accurately to the dimensions you design.
Goal¶
Verify and calibrate your laser's dimensional accuracy so that a 100mm square in Rayforge cuts as a true 100mm square on your material.
Prerequisites¶
- Rayforge installed and connected to your laser
- Machine homed and ready
- Test material (cardboard, plywood, or acrylic scrap)
- Ruler or calipers (digital calipers preferred for accuracy)
- Basic understanding of machine settings
Why Calibration Matters¶
Laser machines use stepper motors with a configured steps-per-millimeter setting. If this setting is incorrect:
- Parts won't fit together properly
- Dimensions will be consistently off (e.g., 100mm design cuts as 98mm or 102mm)
- Assembly projects will fail
Calibration ensures: 1mm in Rayforge = 1mm on your material
Step 1: Check Current Machine Configuration¶
First, verify your machine dimensions are configured correctly in Rayforge.
Open machine settings:
- Navigate to Settings > Machine > Profile
- Check Work Area dimensions:
- Width: Should match your laser bed width (e.g., 300mm)
- Height: Should match your laser bed height (e.g., 400mm)
- Check Origin Position:
- Top-left, bottom-left, or center (must match your actual machine)
- Check Y-axis Direction:
- Does Y increase upward or downward? (must match your machine)
If dimensions are wrong: Correct them now and save settings.
Step 2: Create a Test Pattern¶
Create a simple test pattern with known dimensions.
Design the test:
- Create a new project in Rayforge
- Add a square workpiece:
- Width: 100mm
- Height: 100mm
- Add a second rectangle workpiece:
- Width: 50mm
- Height: 100mm
- Position them with some spacing
Why these dimensions?
- 100mm is easy to measure
- 50mm tests both axes independently
- Multiple shapes verify consistency
Step 3: Configure Cut Settings¶
Set up appropriate cut settings for your test material.
For cardboard test (fast and cheap):
- Operation: Contour
- Power: 15-20% (just enough to cut through)
- Speed: 1500-2000 mm/min
- Passes: 1
For plywood test (more accurate):
- Operation: Contour
- Power: 60-80%
- Speed: 300-500 mm/min
- Passes: 1-2
For acrylic test (most accurate):
- Operation: Contour
- Power: 80-100%
- Speed: 150-200 mm/min
- Passes: 1
Step 4: Preview and Frame¶
Before cutting, verify the job will run in the correct location.
Frame the job:
- In Rayforge, click Frame Job (or use keyboard shortcut)
- Laser head will trace the outline of the job boundary
- Verify:
- Position is correct on your material
- Job fits within work area
- No collisions with clamps or obstacles
If position is wrong: Adjust job origin or reposition material.
Step 5: Cut the Test Pattern¶
Run the calibration test cut.
Safety first:
- Ensure ventilation is running
- Have fire extinguisher ready
- Stay near the machine (never leave unattended)
Run the job:
- Click Start Job in Rayforge
- Monitor the cut closely
- Wait for completion
- Allow material to cool before removing
Step 6: Measure the Results¶
Carefully measure the cut pieces to determine accuracy.
What to measure:
- 100mm square:
- Measure width (X-axis): Should be 100.0mm
- Measure height (Y-axis): Should be 100.0mm
- 50mm x 100mm rectangle:
- Measure width: Should be 50.0mm
- Measure height: Should be 100.0mm
Measurement tips:
- Measure from cut edge to cut edge (ignore kerf)
- Take 3 measurements and average them
- Use calipers for best accuracy (rulers are less precise)
Record your results:
Target: 100mm x 100mm square
Actual: ___mm x ___mm
Target: 50mm x 100mm rectangle
Actual: ___mm x ___mm
Step 7: Calculate Calibration Error¶
Determine how far off your machine is from true dimensions.
Calculate error percentage:
Error (X-axis) = (Measured Width - Target Width) / Target Width * 100%
Error (Y-axis) = (Measured Height - Target Height) / Target Height * 100%
Example:
Target: 100mm x 100mm Actual: 98.5mm x 101.2mm
Interpretation:
- X-axis is cutting 1.5% too small
- Y-axis is cutting 1.2% too large
Step 8: Determine if Calibration is Needed¶
Decide if your accuracy is acceptable or needs correction.
Accuracy thresholds:
Application | Acceptable Error | Action |
---|---|---|
Artistic/decorative | ± 2mm (2%) | Probably OK as-is |
General projects | ± 0.5mm (0.5%) | Calibrate if outside this |
Precision/assembly | ± 0.1mm (0.1%) | Calibrate, verify hardware |
If within tolerance: You're done! No calibration needed.
If outside tolerance: Proceed to Step 9.
Step 9: Adjust Firmware Settings (GRBL)¶
Correct dimensional errors by adjusting steps-per-mm in firmware.
Understanding Steps-Per-Millimeter¶
Your machine's controller needs to know how many motor steps equal one millimeter of movement.
Default GRBL settings:
- $100: X-axis steps/mm (typical: 80-100)
- $101: Y-axis steps/mm (typical: 80-100)
If parts are too small: Increase steps/mm If parts are too large: Decrease steps/mm
Calculate New Settings¶
Formula:
Example:
Current X steps/mm: $100 = 80.00 Target: 100mm Measured: 98.5mm
Current Y steps/mm: $101 = 80.00 Target: 100mm Measured: 101.2mm
Read Current Settings¶
In Rayforge console:
- Open Console tab
- Send command:
$$
(two dollar signs) - Firmware will respond with all settings
- Note current values for $100 and $101
Example output:
Update Settings¶
Send new values:
In the Rayforge console:
Wait for "ok" response from firmware.
Save Settings¶
GRBL automatically saves settings to EEPROM, but verify:
Check that $100 and $101 now show the new values.
Step 10: Verify Calibration¶
Cut another test pattern to confirm accuracy.
Repeat the test:
- Use the same test pattern (100mm square, 50mm rectangle)
- Cut on fresh material
- Measure results again
- Verify dimensions are now accurate
Expected results:
If still off: Repeat calibration process. Large errors may require multiple iterations.
If now accurate: Calibration complete!
Advanced Calibration¶
Belt Tension and Mechanical Issues¶
If calibration doesn't solve dimensional errors, check mechanical components:
Symptoms of mechanical issues:
- Errors vary between tests (not consistent)
- One axis much worse than the other
- Dimensions change based on speed
Check:
- Belt tension:
- Should be tight but not over-tensioned
- Loose belts cause backlash and dimensional errors
- Pulley set screws:
- Ensure pulleys are tight on motor shafts
- Loose pulleys slip and cause errors
- Linear rails:
- Should move smoothly without binding
- Clean and lubricate if needed
- Stepper drivers:
- Verify current settings are correct
- Underpowered motors can skip steps
Kerf Compensation vs Calibration¶
Kerf is the material removed by the laser beam (typically 0.1-0.3mm).
Kerf is NOT a calibration issue:
- Kerf makes parts slightly smaller than designed
- Kerf is compensated in Rayforge settings (see Overscan & Kerf)
Calibration corrects:
- Systematic dimensional errors across the entire workspace
- Steps-per-mm configuration errors
If your 100mm square measures 99.8mm: This might be kerf, not calibration error.
Testing at Different Scales¶
For precision work, test calibration at multiple scales:
Create test patterns:
- Small: 20mm x 20mm square
- Medium: 100mm x 100mm square
- Large: 200mm x 200mm square
Measure all three:
- Errors should be proportional (e.g., 1% error at all scales)
- If errors vary by scale, there may be mechanical non-linearity
Troubleshooting¶
Dimensions Off by Large Amount (>5%)¶
Possible causes:
- Wrong firmware settings
- Wrong machine profile in Rayforge
- Mechanical issue (loose pulley, belt)
Solutions:
- Verify machine work area dimensions in settings
- Check \(100/\)101 settings in firmware
- Inspect mechanical components
Dimensions Inconsistent Between Tests¶
Possible causes:
- Loose belts or pulleys
- Stepper motors skipping steps
- Material warping or movement during cut
Solutions:
- Tighten belts to proper tension
- Verify stepper driver current settings
- Secure material better, use flat material
One Axis Accurate, One Axis Wrong¶
Possible causes:
- One axis has incorrect steps/mm
- Mechanical issue on one axis only
Solutions:
- Calibrate the problem axis separately
- Inspect that axis's belt, pulley, rails
Still Inaccurate After Calibration¶
Possible causes:
- Measurement error (using inaccurate ruler)
- Kerf not accounted for (measure outer edge to outer edge)
- Severe mechanical issues
Solutions:
- Use digital calipers for accurate measurement
- Re-check calculation of new steps/mm
- Consult machine manufacturer documentation
Best Practices¶
-
Calibrate when:
-
Setting up a new machine
- After replacing belts or pulleys
- If dimensional errors are noticed
-
Periodically (every 6-12 months)
-
Use good test materials:
-
Flat, stable materials (not warped)
- Acrylic or plywood preferred over cardboard
-
Large enough to measure accurately
-
Measure carefully:
-
Use calipers, not rulers
- Take multiple measurements and average
-
Measure edge to edge, not including kerf
-
Document your settings:
-
Record $100 and $101 values
- Note any mechanical adjustments
-
Keep calibration test results for reference
-
Re-verify periodically:
- Test dimensional accuracy on actual projects
- Re-calibrate if you notice consistent errors
Related Pages¶
- Machine Setup - Configure machine dimensions
- GRBL Settings - Firmware configuration reference
- Kerf - Kerf compensation techniques
- Coordinates and Origin - Understanding coordinate systems