Saved in:
Bibliographic Details
Main Authors: Yin, Xiaolong, Lu, Xingyu, Shen, Jiahang, Ni, Jingzhe, Li, Hailong, Tong, Ruofeng, Tang, Min, Du, Peng
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.18549
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911308849348608
author Yin, Xiaolong
Lu, Xingyu
Shen, Jiahang
Ni, Jingzhe
Li, Hailong
Tong, Ruofeng
Tang, Min
Du, Peng
author_facet Yin, Xiaolong
Lu, Xingyu
Shen, Jiahang
Ni, Jingzhe
Li, Hailong
Tong, Ruofeng
Tang, Min
Du, Peng
contents A CAD command sequence is a typical parametric design paradigm in 3D CAD systems where a model is constructed by overlaying 2D sketches with operations such as extrusion, revolution, and Boolean operations. Although there is growing academic interest in the automatic generation of command sequences, existing methods and datasets only support operations such as 2D sketching, extrusion,and Boolean operations. This limitation makes it challenging to represent more complex geometries. In this paper, we present a reinforcement learning (RL) training environment (gym) built on a CAD geometric engine. Given an input boundary representation (B-Rep) geometry, the policy network in the RL algorithm generates an action. This action, along with previously generated actions, is processed within the gym to produce the corresponding CAD geometry, which is then fed back into the policy network. The rewards, determined by the difference between the generated and target geometries within the gym, are used to update the RL network. Our method supports operations beyond sketches, Boolean, and extrusion, including revolution operations. With this training gym, we achieve state-of-the-art (SOTA) quality in generating command sequences from B-Rep geometries.
format Preprint
id arxiv_https___arxiv_org_abs_2503_18549
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RLCAD: Reinforcement Learning Training Gym for Revolution Involved CAD Command Sequence Generation
Yin, Xiaolong
Lu, Xingyu
Shen, Jiahang
Ni, Jingzhe
Li, Hailong
Tong, Ruofeng
Tang, Min
Du, Peng
Machine Learning
Artificial Intelligence
A CAD command sequence is a typical parametric design paradigm in 3D CAD systems where a model is constructed by overlaying 2D sketches with operations such as extrusion, revolution, and Boolean operations. Although there is growing academic interest in the automatic generation of command sequences, existing methods and datasets only support operations such as 2D sketching, extrusion,and Boolean operations. This limitation makes it challenging to represent more complex geometries. In this paper, we present a reinforcement learning (RL) training environment (gym) built on a CAD geometric engine. Given an input boundary representation (B-Rep) geometry, the policy network in the RL algorithm generates an action. This action, along with previously generated actions, is processed within the gym to produce the corresponding CAD geometry, which is then fed back into the policy network. The rewards, determined by the difference between the generated and target geometries within the gym, are used to update the RL network. Our method supports operations beyond sketches, Boolean, and extrusion, including revolution operations. With this training gym, we achieve state-of-the-art (SOTA) quality in generating command sequences from B-Rep geometries.
title RLCAD: Reinforcement Learning Training Gym for Revolution Involved CAD Command Sequence Generation
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2503.18549