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

📅 2026-07-30
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the limitations of conventional 3D printing pipelines that rely on watertight meshes, which are prone to geometric or topological errors when reconstructed from point clouds, often leading to print failures. To overcome this, the authors propose PrintAnything, the first end-to-end framework capable of directly generating printable G-code from raw point clouds without requiring mesh reconstruction. The method projects 3D points onto slicing planes to produce a 2D representation aligned with layer-by-layer fabrication and introduces a novel G-plan graph encoding occupancy, regional segmentation, and flow-field information to jointly represent geometry and extrusion instructions. This unified representation enables a deep learning model to synthesize toolpaths directly. Experiments demonstrate that the approach accurately produces functional G-code from unprocessed point clouds, effectively bypassing reconstruction-induced defects and establishing a robust, mesh-free 3D printing pipeline.
📝 Abstract
Point clouds are one of the most fundamental and widely used 3D representations, serving as the most basic geometric representation of 3D shapes. Nevertheless, most existing 3D printing pipelines require a watertight mesh as input, preventing the direct use of point clouds for fabrication. A common workaround is to reconstruct meshes from point clouds; however, the resulting meshes often contain geometric artifacts, such as incorrect faces or topological inconsistencies, that are difficult to repair and may lead to printing failures. To overcome these limitations, we propose PrintAnything, a novel framework that learns to produce executable 3D printing G-code directly from 3D point clouds without requiring mesh reconstruction. To enable point clouds to serve as direct input for slice-wise toolpath generation, we introduce a slice-wise point projection strategy that transforms unstructured 3D point clouds into slice-aligned 2D representations consistent with layer-by-layer nature of fused deposition modeling in 3D printing. To eliminate mesh dependency and provide a unified representation that bridges point clouds and G-code, we propose Geometric plan (G-plan) map, a compact 2D representation composed of occupancy, region, and flow maps that encode the geometric and extrusion properties required for toolpath synthesis in 3D printing. As a result, our proposed method accurately generates printable G-code directly from point clouds, enabling a practical and fully mesh-free pipeline for 3D printing. The code is publicly available at \href{https://github.com/Sangminhong/PrintAnything}{https://github.com/Sangminhong/PrintAnything}.
Problem

Research questions and friction points this paper is trying to address.

3D printing
point clouds
mesh reconstruction
G-code generation
geometric artifacts
Innovation

Methods, ideas, or system contributions that make the work stand out.

point cloud
G-code generation
mesh-free 3D printing
G-plan map
slice-wise projection
🔎 Similar Papers
2024-07-04Neural Information Processing SystemsCitations: 0