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

RAPID

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, May 18, 2024: Sustainability, Mass Spectrometry, & More

3D Printing Financials: Velo3D Sees Better Q1 2024 After Difficult Last Quarter



Categories

3D Design

3D Printed Art

3D Printed Food

3D Printed Guns


You May Also Like

Printing Money Episode 17: Recent 3D Printing Deals, with Alex Kingsbury

Printing Money is back with Episode 17!  Our host, NewCap Partners‘ Danny Piper, is joined by Alex Kingsbury for this episode, so you can prepare yourself for smart coverage laced...

Featured

Insights from Cantor Fitzgerald on AM’s Q1 2024 Landscape

A recent survey by Cantor Fitzgerald sheds light on the persistent challenges within the additive manufacturing (AM) industry in the first quarter of 2024. Based on responses from 38 industry...

3D Printing Financials: Xometry’s Scaling up and Strong Start to 2024

Xometry (Nasdaq: XMTR) kicked off 2024 with strong results, boosting its marketplace and technology to new heights. Both revenue and gross margin soared, fueled by an expanding global network of...

3D Printing Financials: Desktop Metal Targets Recovery Amid Net Losses and Revenue Downturn

Despite facing a decline in revenue and the persistent challenges of a tight economic climate, Desktop Metal (NYSE: DM) is making strides toward operational efficiency. The first quarter of 2024...