DrawingsDreamer: A Unified Multi-View Engineering Drawings Generation Model

Shurui Liu, Weide Chen, Changwang Yi, Ancong WuNeurIPS 2026

TL;DR

Generative AI is great at painting impressionist cats, but ask it to draft a geometrically precise engineering blueprint and the lines literally won't add up. DrawingsDreamer solves this by ditching image encoders entirely and teaching a standard Large Language Model (LLM) to read and write multi-view vector CAD drawings as pure text sequences. The result is a single, unified model that can imagine new 3D mechanical parts in 2D views, translate isometric sketches into flat projections, and fill in missing schematics with industrial-grade precision.

Figure 1: DrawingsDreamer handles a full spectrum of multi-view modeling tasks. The orange gradients denote the outputs, while the blue gradients represent the inputs. In each example, the multi-view layout arranges the Top, Front, and Right orthographic views at the top-left, bottom-left, and bottom-right, respectively, with the Isometric view situated at the top-right.

What Problem Does This Paper Address?

Every physical object manufactured today begins life as a Computer-Aided Design (CAD) engineering drawing—typically represented as Scalable Vector Graphics (SVGs) showing an object from the Front, Top, Right (orthographic views), and an angled 3D-like perspective (isometric view). Unlike artistic illustrations, engineering blueprints are unforgiving: if a hole is five millimeters from the edge in the top view, it must line up to the exact fraction of a millimeter in the front view.

Existing vector-generation models struggle here. Optimization-based methods are painfully slow and spit out messy, uneditable tangles of anchor points. Meanwhile, recent LLM-based SVG generators are trained on icons and clip art, relying on visual encoders tuned for natural photos. Meanwhile, the 3D CAD community has focused on reconstructing 3D shapes from 2D drawings, leaving the direct, automated generation of the 2D blueprints themselves completely unexplored.

Methods

DrawingsDreamer frames blueprint synthesis as pure next-token prediction, fine-tuning a LLaMA-3.2-3B base model using standard Low-Rank Adaptation (LoRA). What’s novel is how they translate geometry into words, and how they school the model:

  1. Streamlined Postfix Representation (No Vision Encoders!): Instead of feeding pixel renderings into a vision encoder, the authors quantize continuous 2D coordinates into discrete integer tokens. Crucially, while standard SVG code uses prefix notation (declaring "draw a curve", then listing coordinates), DrawingsDreamer introduces hierarchical postfix tokenization: it outputs the coordinates first, then caps them with a semantic tag like <end_line> or <end_curve>, grouping those into closed <end_path> loops and <end_view> blocks. (They also ditch the standard SVG "close-path" Z command, explicitly drawing the final closing line to shrink the vocabulary).
  2. Microscopic-to-Macroscopic Curriculum: Jumping straight into generating four aligned views from scratch causes LLMs to hallucinate impossible geometries. While keeping Unconditional Generation active as a steady background anchor, the authors smoothly shift conditional training across three stages:
  3. Stage I (Local Syntax): Path-Level Semantic Masking—hiding single lines or loops so the model learns basic coordinate grammar.
  4. Stage II (Partial Alignment): Partial View Completion—giving the isometric view plus one flat view, asking for the remaining two.
  5. Stage III (Global Translation): Full Iso-to-Ortho and Ortho-to-Iso spatial reasoning from compressed contexts.

Datasets

Because no large-scale multi-view vector blueprint dataset existed, the authors built a pipeline to project 3D CAD models from the existing DeepCAD dataset into canonical 2D views (Front, Right, Top, and Isometric). This yielded 178,238 valid multi-view aligned SVG drawings, split 90%/5%/5% into 160,414 training, 8,912 validation, and 8,912 test models.

Key Insights and Ideas

  • Coordinates before labels: Why does postfix beat standard prefix SVG formatting? Causal LLMs only attend to past tokens. Forcing the model to commit to exact spatial coordinates before naming the geometric primitive acts as a spatial anchor, noticeably boosting parameter accuracy over prefix baselines.
  • Pixels blur precision: Skipping raster image encoders isn't just computationally cheaper—it’s more accurate. Vision encoders pre-trained on natural scenes lose the razor-sharp topological alignments that discrete coordinate tokens preserve effortlessly.
  • Generalists beat specialists: You might expect a model trained only to translate isometric views into flat views to beat a multi-task model. Yet DrawingsDreamer's unified training outperforms isolated, single-task models—proving that local path-repair and reverse projections actively teach the LLM better 3D spatial intuition.

Key Results

Benchmarked against 5-shot GPT-4o, OmniSVG, and Zero123, DrawingsDreamer dominates across syntactic, visual, and geometric metrics:

  • Isometric $\rightarrow$ Orthographic: Achieves 89.77% command accuracy and 80.82% coordinate parameter accuracy (nearly doubling GPT-4o's 46.44% and 35.54%). Visually, it hits 50.16 dB PSNR (vs. 33.53 for GPT-4o and 20.01 for OmniSVG) and drops 3D cross-view Chamfer Distance (CD) error from 0.34 down to 0.02.
  • Orthographic $\rightarrow$ Isometric: Hits 73.53% command accuracy (vs. GPT-4o's 11.33%) and 32.03 PSNR.
  • Partial View Completion & Unconditional: Reaches 92.82% command accuracy on view completion, and doubles distributional Coverage (66.24% vs. GPT-4o's 33.12%) when dreaming up new CAD drawings from scratch.

Limitations and Future Work

Currently, DrawingsDreamer's geometric vocabulary is streamlined down to the essentials: moves, straight lines, and cubic Bézier curves. Real-world industrial blueprints, however, are packed with explicit parametric constraints, dimension annotations, tolerances, and specialized symbols. The authors note that expanding this vocabulary to capture complex parametric rules is the next frontier for bringing sequence-modeling LLMs into everyday mechanical engineering workflows.

Summary updated

Abstract

Scalable Vector Graphics (SVG) are essential for modern industrial Computer-Aided Design (CAD). However, existing autoregressive SVG generation models are predominantly tailored for artistic creation and struggle to maintain the rigorous geometric fidelity and cross-view spatial alignment required for engineering drawings. To bridge this gap, we introduce $\textbf{DrawingsDreamer}$, a unified Large Language Model (LLM)-driven framework for multi-view vector-based engineering drawings generation. By formulating the generation of multi-view engineering drawings purely as a sequence modeling task, we eliminate the need of raster image encoders. We propose a Streamlined Representation utilizing hierarchical postfix tokenization, which guides the model to establish local geometric coordinates before assigning semantic boundaries. Optimized via a progressive task-aware curriculum schedule, $\textbf{DrawingsDreamer}$ effectively transitions from localized structural repair to macroscopic generation in a unified model. Extensive experiments demonstrate that our unified model achieves strong performance in both geometric fidelity and syntactic accuracy across diverse conditional and unconditional generation tasks.
BibTeX
@inproceedings{liu2026drawingsdreamer,
  author = {Shurui Liu and Weide Chen and Changwang Yi and Ancong Wu},
  title = {{DrawingsDreamer: A Unified Multi-View Engineering Drawings Generation Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=tVuUbFXl73},
}
Figure