Software Automatically Generates Knitting Instructions for 3-D Shapes CMU Researchers Foresee Machines Capable of On-Demand Knitting

Byron SpiceThursday, March 29, 2018

CMU researchers have developed a system that translates 3-D shapes into stitch-by-stitch instructions for a computer-controlled knitting machine.

Carnegie Mellon University computer scientists have developed a system that can translate a wide variety of 3-D shapes into stitch-by-stitch instructions that enable a computer-controlled knitting machine to automatically produce those shapes.

Researchers in the Carnegie Mellon Textiles Lab have used the system to produce a variety of plush toys and garments. What's more, this ability to generate knitting instructions without need of human expertise could make on-demand machine knitting possible, according to James McCann, assistant professor in the Robotics Institute and leader of the lab.

McCann's vision is to use the same machines that routinely crank out thousands of knitted hats, gloves and other apparel to produce customized pieces one at a time or in small quantities. Gloves, for instance, might be designed to precisely fit a customer's hands. Athletic shoe uppers, sweaters and hats might have unique color patterns or ornamentation.

"Knitting machines could become as easy to use as 3-D printers," McCann said.

That's in stark contrast to the world of knitting today.

A 3-D bunny printed on a machine using modeling tools the team created.

"Now, if you run a floor of knitting machines, you also have a department of engineers," said McCann, who noted that garment designers rarely have the specialized expertise necessary to program the machines. "It's not a sustainable way of doing one-off customized pieces.

In their latest work, which will be presented at the Conference on Computer Graphics and Interactive Techniques (SIGGRAPH 2018 ) this summer in Vancouver, British Columbia, McCann and his colleagues developed a method for transforming 3-D meshes — a common method for modeling 3-D shapes — into instructions for V-bed knitting machines.

These widely used machines manipulate loops of yarn with hook-shaped needles, which lie in parallel needle beds angled toward each other in an inverted V shape. The machines are highly capable, but are limited when compared with hand knitting, said Vidya Narayanan, a Ph.D. student in computer science. The CMU algorithm takes these constraints into account, she said, producing instructions for patterns that work within the limits of the machine and reduce the risk of yarn breaks or jams.

A front-end design system such as this is common in 3-D printing and in computer-driven machine shops, but not in the knitting world, McCann said. Likewise, 3-D printing and machine shops use common languages and file formats to run their equipment, while knitting machines use a variety of languages and tools that are specific to particular brands of knitting machines. McCann led an earlier effort to create a common knitting format, called Knitout, which can be implemented with any brand of knitting machine.

Further work is needed to make on-demand knitting a reality. For instance, the system now only produces smooth knitted cloth, without the patterned stitching that can make knitted garments distinctive. The knitting ecosystem also needs to be expanded, with design tools that will work with any machine. But progress could be rapid at this point, McCann said.

"The knitting hardware is already really good," he explained. "It's the software that needs a little push. And software can improve rapidly because we can iterate so much faster."

In addition to McCann and Narayanan, the research team included Jessica Hodgins, professor of computer science and robotics; Lea Albaugh, a Ph.D. student in the Human-Computer Interaction Institute; and Stelian Coros, a faculty member at ETH Zurich and an adjunct professor of robotics at CMU.

For More Information

Byron Spice | 412-268-9068 | bspice@cs.cmu.edu