← Latest papers
💻 computer science

PrintAnything: Learning an Intermediate Representation for 3D printing G-code Generation

PrintAnything is a novel framework that enables direct 3D printing G-code generation from unstructured point clouds by introducing a slice-wise projection strategy and a unified Geometric plan (G-plan) map, thereby eliminating the need for error-prone mesh reconstruction.

Original authors: Sangmin Hong, Daniel Sungho Jung, Heewon Kim, Kyoung Mu Lee

Published 2026-07-31
📖 4 min read☕ Coffee break read

Original authors: Sangmin Hong, Daniel Sungho Jung, Heewon Kim, Kyoung Mu Lee

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a magical camera that can capture the shape of any object in the world, not as a solid block, but as a cloud of billions of tiny, floating dust motes. In the world of 3D science, this is called a point cloud. It's the raw, messy data that comes out of laser scanners and special cameras, showing you exactly where every surface point is located. Now, imagine you want to take that digital cloud and turn it into a real, physical object using a 3D printer. The problem is, 3D printers are like very literal chefs; they don't know how to cook with "dust motes." They only know how to work with a smooth, solid, watertight "mesh"—think of it as a digital balloon skin that completely encloses the shape.

For a long time, if you wanted to print a point cloud, you had to hire a digital sculptor (a computer algorithm) to stretch that balloon skin over your dust motes. But this is risky. If the sculptor makes a tiny hole or a weird wrinkle in the balloon skin, the printer gets confused, the object breaks, or the printing fails entirely. It's like trying to bake a cake using a recipe that has a missing page; the result is a disaster. The big question scientists have been asking is: Can we teach the printer to understand the raw dust motes directly, skipping the risky step of trying to stretch a balloon skin over them?

Enter PrintAnything, a new framework that says, "Yes, we can!" Instead of forcing the messy point cloud into a perfect mesh first, this system learns to look at the floating points and immediately figure out how to print them layer by layer. It acts like a super-smart translator that speaks two languages: the language of "floating dots" and the language of "printer instructions."

Here is how it works, using a simple analogy. Imagine you are building a sandcastle, but instead of looking at the whole castle at once, you only look at it one horizontal slice at a time, like cutting a loaf of bread. PrintAnything takes the 3D cloud of points and projects them onto these 2D slices. But it doesn't just see "sand" or "no sand." It creates a special map for each slice called a G-plan map. Think of this map as a three-layered instruction sheet for the printer:

  1. The Occupancy Map: This is the "Where?" layer. It tells the printer exactly which spots on the slice need sand (material) and which are empty air.
  2. The Region Map: This is the "What?" layer. It distinguishes between the outer walls of the castle (which need to be strong and smooth) and the inside filling (which can be a pattern).
  3. The Flow Map: This is the "How much?" layer. It tells the printer how fast to squeeze out the sand (or plastic) as it moves, ensuring the lines are thick enough to hold together but not too thick to melt.

By creating these maps directly from the raw points, PrintAnything skips the "balloon skin" step entirely. It then uses a smart helper to decide the best pattern to fill the inside of the object, balancing strength with how much plastic is used. Finally, it turns these maps into G-code, which is the actual list of moves the printer's nozzle must make to build the object.

The researchers tested this on a massive dataset of 3D shapes and found that their method was much better than the old way. When they compared it to the traditional method of turning points into a mesh first, the old way often made mistakes, like smoothing out thin details or creating holes that caused the print to fail. PrintAnything, however, produced shapes that were much closer to the original design, with a "Chamfer Distance" (a measure of how close the shape is to the target) of just 0.047, compared to 0.088 for the next best method.

Even more impressively, the system is tough. The researchers tested it with "broken" point clouds that had missing pieces (like a cloud with a chunk of dust blown away) or "noisy" clouds (where the points were jiggled around randomly). Even with these imperfections, PrintAnything managed to figure out the missing parts and print a complete, stable object. They even took the instructions generated by the computer and printed them on a real machine, a Bambu Lab X1-Carbon. The resulting objects, including complex gears and delicate structures, held together and looked great, proving that you can go from a messy cloud of points straight to a solid, working object without ever needing to build a perfect mesh in between.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →