SketchGen: Generating Constrained CAD Sketches

06/04/2021
by   Wamiq Reyaz Para, et al.
7

Computer-aided design (CAD) is the most widely used modeling approach for technical design. The typical starting point in these designs is 2D sketches which can later be extruded and combined to obtain complex three-dimensional assemblies. Such sketches are typically composed of parametric primitives, such as points, lines, and circular arcs, augmented with geometric constraints linking the primitives, such as coincidence, parallelism, or orthogonality. Sketches can be represented as graphs, with the primitives as nodes and the constraints as edges. Training a model to automatically generate CAD sketches can enable several novel workflows, but is challenging due to the complexity of the graphs and the heterogeneity of the primitives and constraints. In particular, each type of primitive and constraint may require a record of different size and parameter types. We propose SketchGen as a generative model based on a transformer architecture to address the heterogeneity problem by carefully designing a sequential language for the primitives and constraints that allows distinguishing between different primitive or constraint types and their parameters, while encouraging our model to re-use information across related parameters, encoding shared structure. A particular highlight of our work is the ability to produce primitives linked via constraints that enables the final output to be further regularized via a constraint solver. We evaluate our model by demonstrating constraint prediction for given sets of primitives and full sketch generation from scratch, showing that our approach significantly out performs the state-of-the-art in CAD sketch generation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/16/2020

SketchGraphs: A Large-Scale Dataset for Modeling Relational Geometry in Computer-Aided Design

Parametric computer-aided design (CAD) is the dominant paradigm in mecha...
research
09/29/2021

Vitruvion: A Generative Model of Parametric CAD Sketches

Parametric computer-aided design (CAD) tools are the predominant way tha...
research
03/11/2020

Deep Vectorization of Technical Drawings

We present a new method for vectorization of technical line drawings, su...
research
09/22/2021

HybridSDF: Combining Free Form Shapes and Geometric Primitives for effective Shape Manipulation

CAD modeling typically involves the use of simple geometric primitives w...
research
03/30/2021

Inferring CAD Modeling Sequences Using Zone Graphs

In computer-aided design (CAD), the ability to "reverse engineer" the mo...
research
05/06/2021

Computer-Aided Design as Language

Computer-Aided Design (CAD) applications are used in manufacturing to mo...
research
02/28/2022

A review on geometric constraint solving

This paper presents a comprehensive review of geometric constraint solvi...

Please sign up or login with your details

Forgot password? Click here to reset