1 year ago

Fabscan Pi project – 3D scanning for all

Mario Lukas builds 3D scanners from the Raspberry Pi and off-the-shelf components. He tells Lucy Hattersley how it’s done

The full article can be found in The MagPi 38

Few things in modern life are more fun than 3D-scanning an object, then using a 3D printer to create a copy. But 3D scanners are still very expensive to buy. FabScan is an open-source, DIY 3D laser scanner being developed by René Bohne and Mario Lukas.

Initially, FabScan was connected to an external computer, but Mario and René have recently created a Raspberry Pi version that houses all the components required inside a single box. This Raspberry Pi-powered edition means you can build a complete 3D scanner for under $100 (£65).

The FabScan project has a long history. It started out as a Bachelor’s thesis by Francis Engelman at RWTH University in Aachen (Germany) in 2011. In 2014, development was taken over by Mario and René.

A picture of the Fabscan 3D scanner, a wooden box with laser light visible

The wooden case contains a motorized turntable that rotates the object being scanned. It is currently controlled by an Arduino, although a custom Pi HAT is being developed

“The FabScan without the Raspberry Pi is an open-source, do-it-yourself 3D laser scanner,” says Mario. “After a few months I realised that people had problems [getting] the FabScan software working on all the different operating systems and hardware setups.

“The FabScan uses a laser cut plywood case,” continues Mario. There is a stepper motor connected to a turntable in the middle.” Inside the case is a 5mW red laser and Logitech Lc270 webcam. The laser and a webcam are mounted in the front of the case. An Arduino with a FabScan shield controls the stepper motor and laser.

You place an object on the turntable so the laser runs across its surface. As the turntable rotates, the webcam monitors the movement of the laser and creates a point cloud of data. The data is turned into a 3D mesh, and this file can be exported and used in 3D software.

“Since I introduced the Raspberry Pi to the FabScan project, the webcam [has been] replaced by the Pi Camera Module,” Mario tells us. “We are developing a FabScan Pi HAT to replace the Arduino and the FabScan Shield as well.”

You can build a FabScan case yourself using sheets of wood, and a complete bill of materials can be found on the project’s current website. Alternatively, a FabScan Cube Kit v2 + Electronics bundle can also be ordered from German-based distributor Watterott for €105 (£77).

The scan quality is pretty great

The scan quality is pretty great

“Anybody who wants to build a FabScan Pi should order the parts and build it,” insists Mario. “We are trying to keep the things as simple as possible, and introducing the Raspberry Pi to the FabScan project was a good approach to improve the usability.

“Most of the work was to write new software for the FabScan,” continues Mario. “The software provides a JavaScript-based web-enabled user interface for scanning. The user can call the local FabScan in a browser and the user interface will show up.

“During the software developing process, I scanned a lot of different rubber ducks, other plastic animals, figures made of gypsum (plaster of Paris), and stuff lying around in my workroom.

“After a scan, you will get a one-to-one sized three-dimensional model of the scanned object,” explains Mario. “The current FabScan Pi software can export the model in [the] STL file format that is mostly used by 3D printers.”

Pushing forward with the FabScan project is a challenge, but Mario and René remain unperturbed.
“At the moment, the FabScan project is spread all over the web,” explains Mario. “In the upcoming weeks, I will try to create a website where all corresponding threads run together.

  • AetherMichael

    This is exactly what I was looking for at exactly the right time I was looking for it! I am in the process of building a parts manufacturing CNC Mill controlled by a Raspberry Pi. I want to CNC Mill out my own chess pieces, but first I have to scan them. This might be exactly the solution I need!

    I would like to follow this project very closely and do my best to contribute to its development. Its about time someone stepped up to develop scanning. So far alternatives are Makerbot Scanner which is very small, for $799 and prices go up from there. Until now, scanning hasnt been much of an option.

    Keep up the great work MagPi magazine! You are doing an amazing job with cutting edge technology and very useful articles!

  • Robert Slackware

    would you get better scans using the pi camera as it has better resolution?

  • Mario Lukas

    Yes! The resolution of the pi cam is much better and the pi cam is even faster than an usb webcam.

  • Mario Lukas

    From my own expericence i can say that the Makerbot Digitizer won’t produce better 3D scans, what you can expect for such a price.

  • Marcus Wolschon

    I don’t see a link to the software here.
    Where do I start after getting a Raspberry Pi for my existing FabScan Cube?

  • Anders Jackson

    Cool, im thinking of building something like that myself.

    Do you have anything to share yet?

  • Ryan Bergeron

    @mariolukas:disqus:

    Have there been any developments to the consolidation of this project’s online presence? I am very interested in building a FabScan Pi…

  • David Boccabella

    Definately will be building one 🙂 🙂
    Fortunately I have most of the pieces already (RPi Cam, loads of Arduino’s) Unfortunately I only have the RPi B..
    I’ve only just got into 3D printing and still very much of the sculpt by hand fellow. Being able to bring those into 3D environment for further mods would be fantastic 🙂
    Many many thanks. Looking forward to the HAT as well.

  • Ashish Khandelwal

    Can anyone please provide me the source code for this project.