Free2CAD: Parsing Freehand Drawings into CAD Commands - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles ACM Transactions on Graphics Year : 2022

Free2CAD: Parsing Freehand Drawings into CAD Commands


CAD modeling, despite being the industry-standard, remains restricted to usage by skilled practitioners due to two key barriers. First, the user must be able to mentally parse a final shape into a valid sequence of supported CAD commands; and second, the user must be sufficiently conversant with CAD software packages to be able to execute the corresponding CAD commands. As a step towards addressing both these challenges, we present Free2CAD wherein the user can simply sketch the final shape and our system parses the input strokes into a sequence of commands expressed in a simplified CAD language. When executed, these commands reproduce the sketched object. Technically, we cast sketch-based CAD modeling as a sequence-to-sequence translation problem, for which we leverage the powerful Transformers neural network architecture. Given the sequence of pen strokes as input, we introduce the new task of grouping strokes that correspond to individual CAD operations. We combine stroke grouping with geometric fitting of the operation parameters, such that intermediate groups are geometrically corrected before being reused, as context, for subsequent steps in the sequence inference. Although trained on synthetically-generated data, we demonstrate that Free2CAD generalizes to sketches created from real-world CAD models as well as to sketches drawn by novice users.
Fichier principal
Vignette du fichier
Free2CAD_SIG_2022.pdf (60.7 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03683482 , version 1 (31-05-2022)



Changjian Li, Hao Pan, Adrien Bousseau, Niloy J. Mitra. Free2CAD: Parsing Freehand Drawings into CAD Commands. ACM Transactions on Graphics, 2022, ⟨10.1145/3528223.3530133⟩. ⟨hal-03683482⟩
179 View
30 Download



Gmail Facebook Twitter LinkedIn More