LLM-powered CAD system generates precise 3D parts from text descriptions using code instead of meshes
This paper introduces a novel approach to generate precise 3D mechanical parts using code-generation LLMs instead of imprecise mesh-based methods. The solution converts CAD files into Python scripts representing Constructive Solid Geometry (CSG), enabling accurate and modifiable 3D geometry generation through natural language.
-----
https://arxiv.org/abs/2411.15279v1
π§ Original Problem:
β Current AI methods for 3D geometry generation use mesh-based approaches, which lack precision and adaptability for mechanical engineering
β Existing solutions can't accurately represent smooth curves and surfaces, making them unsuitable for CAD applications
-----
π οΈ Solution in this Paper:
β The paper creates a pipeline converting Boundary Representation (BREP) geometry into CSG-based Python scripts
β It uses GPT-4 to generate natural language descriptions of 3D parts
β The system fine-tunes a code-generation LLM to complete geometries based on positional input and text descriptions
β The model learns to generate surface-based CSG instead of approximate meshes
-----
π‘ Key Insights:
β CSG representation allows precise control and modification of 3D parts
β Text annotations quality significantly impacts model performance
β Model accuracy decreases with increasing geometric complexity
-----
π Results:
β 96.5% correct syntax and logic in generated geometry
β 82% accuracy in following text instructions for simple geometries
β Performance drops to 19% accuracy for complex structures with 7+ cells










