BV Lab

ColorTracer

ColorTracer is a tool that extracts the contours around colored objects in images. It can for example turn a drawing on paper into a correctly scaled 3D model that you can 3D print.

Get started

Example: paper drawing to 3D printed object
Example workflow: drawing → contours → STL → 3D print.

You tell the tool which colors belong to the object (foreground) and which belong to the background by clicking on a few spots of each. It then finds the edges between them. If it gets some areas wrong, you can paint corrections. When you're happy, you export the outline as SVG, DXF, STL, or PNG. It works best when the object and background look different in color.

Accuracy tip: For paper drawings, a flatbed scanner avoids the lens distortion you get from camera photos. Use a proper scanner if dimensional accuracy matters.

Step 1: Upload image and pick samples

Upload an image using the button in the header. Then use the eyedropper tool to pick color samples:

More samples usually improve the result. Use the Clear button to start over.

Eyedropper tool: picking FG and BG samples on the image
Pick multiple FG and BG samples across the image.

Step 2 (optional): Paint corrections

If the automatic separation misses some areas, switch to the brush tool to paint:

Adjust brush size with the slider. This step is optional.

Brush tool painting FG/BG corrections
Use the brush to fix misclassified regions.

Step 3 (optional): Calibrate scale

For real-world dimensions in exports (mm), add a scale line:

  1. Switch to Pan mode
  2. Drag the red scale-line endpoints to span a known distance in the image
  3. Enter the real length in the Scale distance field (e.g. 100 mm)

Exports will use this for SVG/DXF/STL units.

Scale line dragged between two points
Drag the scale line to match a known real-world distance.

Compute and review

Click Compute when you have at least 2 FG and 2 BG samples. The tool will:

If the mask is wrong, try adjusting the Cutoff (tab 3) or add more paint (step 2), then Compute again.

Final contours view
Final contours ready for export.

Export

Go to the Downloads tab to export:

Downloads tab with export buttons
Download buttons in the Downloads tab.

Tips

Get started