Making Shadow Boards: Converting Tools To Vector

Updated Sep 30, 2021
create shadow boards, image of tool

There has been increasing interest in CNC machining the past couple of years. It’s become easier than ever to get a digital copy of patterns you want to cut out and get a machine to do all the hard work for you. Most Scan2CAD users who have experience using CNC machines are also avid woodworkers and creators with a whole bunch of different tools they use in the workshop. And a lot of these users have utilized shadow boards to help organize and store their tools.

For those of us who have never encountered the term before, shadow boards are devices that indicate where tools should be placed when not in use. Mainly used for organization, shadow boards have outlines of a workshop’s tools place on them to make it easy for collaborating manufacturers to know which of their tools are currently in use or are missing. Shadow boards are useful in that they minimize both the time spent looking for tools as well as the probability of losing these tools.

Aside from manually tracing around tools to create shadow boards, Scan2CAD has made it possible to get photographs or these tools and convert these raster images into vector images. These vector images can then be used to cut out the tool shapes in wood or foam or to simply print them out onto shadow boards directly.

In this post, we’ll take a look at the steps involved in converting tools to vector outlines for use in shadow boards.


Video Tutorial: Converting a tool to vector

For those of you who might want a more thorough step-by-step demonstration of this process, we have a video that should guide you through the conversion:

View video transcript

Hey everyone. So today we will be using Scan2CAD to convert images of our tools for use as shadow boards. The first thing we need to consider is the quality of our source image. So we need something that’s high quality and suitable for conversion.

This is an example of an image that we don’t wanna use for conversion. Since it’s a photograph, there’s gonna be some amount of distortion, and that’s not gonna be good if we want to have accurate measurements for a shadow board. Another thing is since it’s a photograph, like this one, there are gonna be shadows and shades all around. The conversion software isn’t going to take that very well. And lastly, it’s important to have a background that’s… That has high contrast with our tool. It just makes for a better conversion that way. So this one really isn’t something that we should be using.

I am going to show you some examples of images that we wanna use. Instead of using an image like this one, what we can do is take the tool we want to scan, put it on a piece of paper and then just trace around that. We can then scan that traced image and put it on the scan. It’s going to look something like this. Obviously you’re gonna want something of better quality than this. And this one’s really pixelated, but the higher the quality of the scan, the better the output.

Now, we can also opt to have an image like this one. So some people can achieve this image by using lightboxes and correct camera angles or lenses that can get you the most parallel image. So as you can see there aren’t many shadows on the background. The background is white while the tool is black so that’s good. So, ideally, you’re gonna want something that looks like this as your source image. The conversion process is fairly straight forward. All you really need to do is clean up the image first.

So this is where the contrast of the background and the tool is gonna factor in. The better the contrast, the easier this is going to be. So let’s change the threshold level a little bit just to get rid of these holes. This seems good. Let’s see how smooth is anything. It does help somewhat. Let’s take this for good measure. This should be good, it’s looking okay. Now that it’s cleaned up we can convert it into a vector image. Let’s go with outline, polyline should be good. Let’s see if that works with this image. That’s pretty clean.

This is the preview if you’re okay with that all you have to do is click on okay. And from here on out, you can click on view highlight vectors or just use a hotkey which is “H” to highlight the vectors and you can click on this tab to see just how accurate it is. It got the shape of the tool pretty well but if you want to do, if you want to edit a little bit you can just play with the settings before you convert the [03:41] ____ in the vector.

Let’s say we’re happy with this. The last step would just be to click on File, save as vector, and just whatever format is that we wanna use. Ideally, if you wanna edit this on a CAD file, on our CAD program rather, what we wanna do is just click one of these CAD formats. But if you wanna just upload this straight onto our CNC machines or laser cutters we can pick one of these G code formats. You can name it whatever you want.

So, that’s basically the process, pretty straightforward. I hope that helps.

quality of the source image

screenshot of image unsuitable for vectorization

An example of an unsuitable image

Photographs are, at first glance, the quickest way to take raster images of your tools to use on Scan2CAD. However, there are a couple of key considerations we have to take note of before taking photos.

Distortion

As photographs capture images in perspective, there will always be some amount of distortion when taking them. This isn’t ideal if we’re looking to make digital outlines for use in shadow boards.

To reduce this, photography-savvy users can find the right camera lens to use to minimize distortion. You can also correct this using post-editing techniques on your preferred photo editing software.

Alternatively, you can opt to also take photos of your tools one tool at a time. Be sure to angle the camera right on top of the tool, as close to perfectly parallel as you can get.

Shadows

Shadows are also going to be an issue when taking photos for Scan2CAD. The way the software works is that it takes the outlines of the tools and converts those into vector lines. If there are shadows behind the tools in the photo, Scan2CAD will take those shadows as part of the tools and include them in the outline as well.

We can mitigate this by using lightboxes or by taking the photos in well-lit areas, maybe even outside in the sun.

Background contrast

Scan2CAD will have a hard time figuring out the outlines of tools if the tools have the same color as the background they’re photographed on.

Be sure to pick a background that has a high value contrast to the tools you’re photographing. So if you’re taking a picture of a dark-colored tool, do it against a white background. If it’s a light-colored tool, find a dark background.

Quality

And something that might be common sense to most users but we would be remiss in not mentioning – make sure your photographs are high resolution.

With any conversion software, the output is dependent on the quality of the input. Make sure your photo has a high DPI (we recommend 300-600).

screenshot of image suitable for conversion

A suitable image for conversion

If you’re not too keen on taking photos of your tools with all of these considerations, there are other ways to do all this with a scanner. The advantage of using a scanner is you don’t have to worry about most of these problems on distortion and shadows – the scanner makes sure all scanned images are perfectly parallel and viewable.

If your tools can sit on the scanner bed, that would be ideal. If it’s just a bit too bulky or you don’t want to risk busting your scanner, you can always manually trace your tool onto a piece of paper and then proceed to scan that.

You can check out our guide (https://www.scan2cad.com/articles/scanning-a-drawing-for-optimal-raster-to-vector-conversion-results/) to scanner settings for more information.

Cleaning up the image

screenshot of raster image editing

Cleaning up the raster image

Before conversion, we’ll have to clean up the raster image a little bit. Just click on the Clean Image button by the upper left part of the interface with the symbol that looks like three stars. It’s not too long of a process, but this is where all of the considerations we had in the previous step start to pay off.

Threshold

This basically turns the image completely black and white. If the image we used has high contrast with its background, has no shadows, and is parallel to the surface with little distortion, what we’ll get is a solid silhouette of the tool.

Remove Speckles & Holes

Tick this box if you see some small unwanted white or black lines or marks in the image preview. Speckles are black marks while holes are white ones. Adjust the sliders accordingly, but be careful not to set them too high or the program will start taking out pixels that you actually want to keep.

Smooth

This just helps smooth out jagged edges on the silhouette. You shouldn’t have to worry too much about jagged edges if the photo you used has high resolution, but you can tick this box anyway for good measure.

After cleaning up the image, you can manually do some edits by experimenting with the tools on the left side of the interface. You’ll most likely be using the eraser tool most frequently to erase some unwanted marks you couldn’t take care of before.

Vector conversion

screenshot of conversion settings

Setting up the conversion

The next step is the actual conversion. There are three vectorization methods available for Scan2CAD, but you’ll only need to focus on Technical and Outline.

If you’ve opted to manually trace around your tool with paper and pen, you’re going to want to use Technical. From the Vectorization Presets drop-down, pick Outline.

If you used an actual picture of your tool to use on this conversion process, pick the Outline vectorization method.

Click on Run first to generate a preview image of your vector conversion. Toggle between the three tabs in the preview box to cycle through your original raster image, the converted vector image, and an overlay of both. You can click on the Highlight vectors button at the lower right of this preview window to see your vector objects more clearly. If you’re happy with what you see, click on OK to run the conversion.

Aside from these Vectorization Methods, there are a bunch of settings in the Convert Image dialogue box that you can play around to get different results. However, if you’ve picked a suitable source image and cleaned up the image correctly in the first steps, the default settings are more than good enough to get you a clean vector conversion

Post-edits and Scaling

We’ll need to do some final touches before we export our converted vector file. Just as we did with the source raster image, we can also use the tools at the left side of the interface to do some minor edits to the vector image. These are only for minor edits though; anything big you want to do with the vector file would be easier to do on a dedicated CAD program so just leave the final big edits for after the Scan2CAD conversion process.

Scaling might be something you want to do before exporting the vector image. We have a full guide available here (https://www.scan2cad.com/learn-v10/#technical-drawings-scaling) for more information.

Saving the image

screenshot of saving vector file

Saving your file

Finally, the only thing left would be to save the converted vector file. There are a bunch of different file formats you can choose from and picking the format depends on what you want to do with the exported file.

The DXF and DWG formats are most suitable for users who want to do major edits on their vector files with their preferred CAD software. The G-code formats are suitable for those that want to use the resulting vector files directly on their CNC machines or printers.

scan2cad advert for free trial