Li, Changjian;
Pan, Hao;
Bousseau, Adrien;
Mitra, Niloy J;
(2022)
Free2CAD: Parsing Freehand Drawings into CAD Commands.
ACM Transactions on Graphics
, 41
(4)
, Article 93. 10.1145/3528223.3530133.
Preview |
Text
Free2CAD_SIG_2022.pdf - Accepted Version Download (63MB) | Preview |
Abstract
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. Code and data are at https://github.com/Enigma-li/Free2CAD.
Type: | Article |
---|---|
Title: | Free2CAD: Parsing Freehand Drawings into CAD Commands |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1145/3528223.3530133 |
Publisher version: | https://doi.org/10.1145/3528223.3530133 |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
Keywords: | sketch, CAD modeling, procedural modeling, Transformer |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10159067 |




Archive Staff Only
![]() |
View Item |