Using Machine Vision to Automate Nozzle Alignment for Multitool 3D Printers

Share this Article

The term ‘hacking’ essentially means an attempt to exploit a system, computer or otherwise, often for illicit reasons. But, the less nefarious definition refers to a clever technique or tip that can be used to accomplish an annoying, everyday task in a more efficient way. Many people have come up with hacks for their 3D printers, such as enabling better material mixing, improving automatic bed leveling, and even turning a 3D printing pen into a full-blown 3D printer.

A new hack reported in Hackaday uses machine vision to simplify one very specific issue with multitool 3D printers.

“Most folks that have been poking around at multi-tool 3D printing know that lining up nozzles can be a gnarly, but necessary pain point. Existing methods either have us measure offsets with a vernier scale or with a series of pictures taken with an upwards-facing camera. And this step is not to be ignored! Any mismatch between nozzles, and your multicolor prints end up looking like Scotty really screwed up those sliders on that transporter beam console,” Hackaday blogger Joshua Vasquez wrote.

The automated TAMV, which stands for Tool Align Machine Vision, was created by Danal Estes, a member of Hackaday’s 3D printing community who focused on the infrastructure of multitool 3D printing. Sadly, Estes passed away recently, and I hope by sharing about his design we can perpetuate his memory.

Lining up different nozzles on a multitool 3D printer can be difficult, and it’s most commonly solved through manual means. But Estes turned to machine vision to offer an automated, thereby easier, fix for the problem, publishing everything on Github. Here, he explains that the TAMV is “for Duet based tool changing 3D printers,” and that it requires a “network connection to DUET RepRap V2 or V3 based printer” and a Raspberry Pi with the programming functions library OpenCV installed.

Next to his 3D printer’s motion controller, he added his Raspberry Pi and an upward-facing camera. Then he got down into the nitty gritty technicalities of the fix.

“A few lines of code (and a few hours of compiling OpenCV) later, and he had himself a circle-detecting script that automatically cycles through each tool, detects the nozzle center, and calculates an offset for each tool that’s stored into the machine’s configuration file,” Vasquez wrote.

According to his detailed instructions, the TAMV process Estes developed uses a camera to calculate the ‘G10 Xnnn Ynnn’ commands that “go in your config.g” in order to set the X-Y alignment, so that the nozzles align correctly during multitool 3D printing. He made everything open source, and included an installation script for compiling OpenCV in addition to his instructions. Vasquez stated that this solution is “leaps and bounds ahead of what we know and it’s a great application of machine vision built on top of a stack of recognizable hardware and software.”

Before you rush right out to set up your own TAMV fix, it’s important to note that Estes created this project specifically for a tool-changing Jubilee printer that runs a Duet3 controller with a Raspberry Pi that’s connected in single-board computer mode. However, if you’re up to the challenge, the main features of TAMV can be adapted for use with other multitool 3D printers that feature a similar control board stack. You could even expand it to a standalone script that can be run locally on a PC, which allows you to print the tool offsets separately.

Vasquez concluded, “Alongside TAMV, it’s refreshing that even a decade after 3D printers have been with us, we’re still finding ways to make these machines more capable.”

Discuss this story and other 3D printing topics at 3DPrintBoard.com or share your thoughts in the Facebook comments below.

(Source: Hackaday)

Share this Article


Recent News

J&J’s Ethicon and FluidForm to Collaborate on Engineered Human Tissue with FRESH Bioprinting

3DPOD Episode 67: Remote Print Monitoring with The Spaghetti Detective’s Kenneth Jiang



Categories

3D Design

3D Printed Art

3D Printed Guns

3D Printer Reviews


You May Also Like

3DPOD Episode 66: Olaf Diegel, University of Auckland

Olaf Diegel is a professor at the University of Auckland who specializes in all aspects of design for additive manufacturing (DfAM). He also 3D prints guitars, other instruments, and eyeballs...

3DPOD Episode 65: 3D Scanning at the U.S. Space Force with Major Travis Tubbs

This time on the 3DPOD, we get to chat with Major Travis Tubbs of the U.S. Space Force. Surprisingly, a lot of the conversation was about plants, but we also...

3DPOD Episode 64: 3D Print Services with Clement Moreau, Sculpteo Founder

Clement Moreau founded Sculpteo and led the 3D print service for ten years before selling it to BASF. In this episode, we follow his journey, discuss what made Sculpteo successful,...

3DPOD Episode 63: Manufacturing in Space with Douglas Hofmann, Principal Scientist, NASA JPL

In this episode, Max and I fall all over ourselves to ask questions of Douglas Hofmann, Principal Scientist at NASA Jet Propulsion Laboratory (JPL). We also listen intently as Doug...


Shop

View our broad assortment of in house and third party products.