NEWS
🧠 Available now: v2.2 multi-object processing for Premium and beta users, with separate and combined outline exports. • 📐 STEP export is now available alongside SVG, Fusion SVG, DXF, PNG and STL. • 🧰 Gridfinity Bin Builder is live — turn a finished ShapeScan outline into a fitted, printable organizer. • 🗂️ Free accounts include saved jobs; Premium adds larger batches, more storage, no ads and priority processing. • 📄 Marker sheets now cover A5, A4, A3, 2×A4, Half Letter, US Letter, Tabloid and 2×Letter formats.

SVG Cleanup for CNC & Laser Cutting: From ShapeScan to Production-Ready Files

SVG cleanup workflow showing raw scanned outline becoming a clean vector ready for CNC and laser cutting

A clean SVG is the bridge between a good scan and a perfect cut.

ShapeScan produces accurate outlines directly from real-world objects, but no scan should go straight to production without inspection. Whether you are cutting on a laser or machining on a CNC, a clean SVG is essential for predictable results.

This article explains how to turn a ShapeScan export into a production-ready SVG, eliminating common issues such as noisy paths, overlapping segments and incorrect contour directions.

Why SVG Cleanup Matters

CNC machines and laser cutters follow paths blindly. They do not understand “intent”. A slightly messy vector can lead to:

  • Double cuts that burn edges or snap tools
  • Open paths that fail to cut completely
  • Unexpected travel moves and long machining times
  • Broken tabs or missing internal features

A few minutes of cleanup can save material, time and frustration.

Understanding ShapeScan SVG Output

ShapeScan exports outlines as true-scale vectors. Depending on the object and photo, the SVG may include:

  • Outer contours
  • Inner holes or cutouts
  • Small artifacts from shadows or texture
  • High point density along curved edges

This is expected. ShapeScan prioritizes geometric accuracy; refinement comes next.

Step 1: Inspect the SVG Before Editing

Open the SVG in a vector editor such as Inkscape, Illustrator or Affinity Designer and perform a visual inspection:

  1. Zoom in along the entire contour
  2. Check that all paths are closed
  3. Identify tiny islands or stray shapes
  4. Confirm hole orientation (inside vs outside)

Do not start modifying geometry until you understand what the file contains.

Step 2: Remove Noise and Artifacts

Small unwanted shapes are common when scanning textured materials or uneven lighting. These should always be removed.

  • Delete isolated paths smaller than your cutter diameter
  • Remove overlapping duplicates
  • Merge segmented curves where possible

🧹 Rule of Thumb

If a feature is smaller than your laser kerf or CNC tool diameter, it should not exist in the final SVG.

Step 3: Simplify Paths Without Losing Accuracy

Scans often produce curves made of thousands of nodes. While accurate, this can overwhelm CAM software.

Use path simplification carefully:

  • Simplify incrementally, not in one step
  • Preserve sharp corners and functional edges
  • Check dimensions after simplification

The goal is fewer nodes, not distorted geometry.

Step 4: Fix Contour Direction and Hierarchy

Many CAM tools rely on path direction to distinguish cuts:

  • Outer contours: clockwise
  • Inner holes: counter-clockwise

Incorrect direction can cause:

  • Inside cuts treated as outside profiles
  • Tabs placed incorrectly
  • Inverted kerf compensation

Always verify path orientation before exporting to CAM.

Step 5: Verify Dimensions Against the Real Part

Before cutting material, confirm critical dimensions:

  1. Measure key features with calipers
  2. Compare against SVG measurements
  3. Apply small global scaling only if necessary

ShapeScan is accurate, but printing errors, camera distortion or paper warping can introduce small deviations.

Laser vs CNC: Different Cleanup Priorities

Laser Cutting

  • Closed paths are mandatory
  • Kerf compensation is critical
  • Sharp corners cut cleanly

CNC Machining

  • Tool diameter limits internal corners
  • Overlapping paths cause double machining
  • Smooth curves reduce vibration

Final Pre-Production Checklist

  • ✅ All paths closed
  • ✅ No duplicate or hidden geometry
  • ✅ Correct contour directions
  • ✅ Dimensions verified
  • ✅ Kerf or tool compensation planned

Conclusion: Clean Vectors Make Better Parts

ShapeScan gives you fast, accurate geometry from real objects. SVG cleanup turns that geometry into reliable machine instructions.

By building a simple cleanup routine, you ensure every scan becomes a predictable, repeatable and professional result on your laser or CNC machine.

← Back to All Articles Scan a New Part →

About the author

Sérgio Cruz is the creator of ShapeScan and a CNC & Digital Fabrication Engineer with hands-on experience in laser cutting, CNC machining and CAD/CAM workflows. All content is based on real workshop usage.