Upcycling Flat Scraps With Open Source Tools | Hackaday

2022-09-10 00:24:57 By : Mr. Mac Chang

If you have any sort of device that cuts like a CNC mill or a laser cutter, you probably generate a lot of strange-looking scrap material. Most of us hate to throw anything away, but how do you plan to use all these odd shapes? [Caddzeus] has an answer.  Using a camera and some software he digitizes the shapes accurately into a form usable in his CAD package of choice.

The process involves setting up some targets with known dimensions that will appear in the photograph. This allows the picture to be taken without being overly concerned about the distance to the camera or the angle.

Using GIMP, he adjusts the images to remove the perspective. He then brings the image into Inkscape where he can accurately scale and trace the shape.

There are detailed instructions — including videos — but if you know how to use these tools, you can probably figure it out for yourself. This technique would be useful, too, if you wanted to get an outline of something you intend to mill or cut into your CAD program as a reference. We like to do this with a laser cutter so you can burn the outline of something you are engraving or cutting on a piece of paper before you start and easily align the workpiece to the laser.

Of course, a small part could surrender its image to a conventional scanner and you can use a similar technique to adjust the scale. If you start using Inkscape a lot, you’ll want more plugins. You never know what you might build from some scrap odds and ends.

You get more accurate results if you make the pictures perpendicular in the first place, so you don’t have to remove the pespective at all.

You can also mount a camera on you CNC router. Then you can just make a matrix of pictures and stitch them together. A camera on your CNC machine is also handy for all kinds of measurements. For example, if you want to know the location of some feature, just put it in the center of the camera (a cross helps) and then take over the coordinates from your CNC machine.

And of course, often it’s not even needed to take pictures at all. If you’ve just routed out some parts, then the exact dimensions of the scrap is also in your G-code data.

I like bCNC. It can be used to control a GRBL based CNC gadget, but it can also be used to convert between some formats. For example, read a DXF file and convert to G code, or read G-code from disk and save (a part of it) as a DXF file again.

Yet another method I use for small parts (those are the ones most often made from scrap) is to first print the CNC vectors on paper, and then physically fit the paper on your scap part. From that you can use any recognizable feature to find a coordinate for starting your milling operation. (Yes this also works with a camera). bCNC has built in camera support (and so does openPNP).

Taking a photo that is perfectly on the normal of the object is difficult to do. And, perspective correction is pretty easy, especially if you have a grid you can lay the subject workpiece out on. A lot of photo processing software has super easy perspective correction (as well as barrel distortion correction).

Not just for using CNC off-cuts but also oddly shaped things like wood slabs, drift wood and so on. And, useful for incorporating grain features (like knots, cracks, swirls, …) into your design.

What a great idea! From a single photo to a usable cad file in just a few minutes. No paid software, no complex machine setup and works on any size part. Nice work!

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By using our website and services, you expressly agree to the placement of our performance, functionality and advertising cookies. Learn more