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

IMTS

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

World’s Largest Polymer 3D Printer Unveiled by UMaine: Houses, Tools, Boats to Come

Changing the Landscape: 1Print Co-Founder Adam Friedman on His Unique Approach to 3D Printed Construction



Categories

3D Design

3D Printed Art

3D Printed Food

3D Printed Guns


You May Also Like

Featured

Profiling a Construction 3D Printing Pioneer: US Army Corps of Engineers’ Megan Kreiger

The world of construction 3D printing is still so new that the true experts can probably be counted on two hands. Among them is Megan Kreiger, Portfolio Manager of Additive...

Featured

US Army Corps of Engineers Taps Lincoln Electric & Eaton for Largest 3D Printed US Civil Works Part

The Soo Locks sit on the US-Canadian border, enabling maritime travel between Lake Superior and Lake Huron, from which ships can reach the rest of the Great Lakes. Crafts carrying...

Construction 3D Printing CEO Reflects on Being Female in Construction

Natalie Wadley, CEO of ChangeMaker3D, could hear the words of her daughter sitting next to her resounding in her head. “Mum, MUM, you’ve won!” Wadley had just won the prestigious...

1Print to Commercialize 3D Printed Coastal Resilience Solutions

1Print, a company that specializes in deploying additive construction (AC) for infrastructure projects, has entered an agreement with the University of Miami (UM) to accelerate commercialization of the SEAHIVE shoreline...