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

3D Printing News Briefs, October 24, 2020: nTopology & Etteplan, DSM, CAR3D Project, MELD Manufacturing

NAMIC Global AM Summit 2020: Sustainability, Food 3D Printing, and More



Categories

3D Design

3D Printed Art

3D Printed Food

3D Printed Guns


You May Also Like

GE Additive, Siemens and 10 More Join Sustainable 3D Printing Trade Group

Securing environmentally friendly manufacturing industries is ideal to reduce cost and waste, support cleaner and greener technologies, and lower the negative impacts of production on society and the environment. Additive...

Featured

Registration Rates Go Up This Week for Additive Manufacturing Strategies 2021

Additive Manufacturing Strategies 2021, the annual summit on business intelligence for the additive manufacturing industry held by SmarTech Analysis and 3DPrint.com, is coming to a computer screen near you February 9-12, 2021,...

3D Printing Webinar and Virtual Event Roundup, October 17, 2020

This week is packed full of interesting webinars and virtual events covering a wide variety of topics, from EBM technology and medical devices to software and design for additive manufacturing....

Featured

Early Bird Rates for Additive Manufacturing Strategies 2021 End October 21st

This winter, Additive Manufacturing Strategies, the annual business intelligence for AM summit held by SmarTech Analysis and 3DPrint.com, will be moving to an online format. AMS 2021, “The Business of 3D Printing,”...


Shop

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