English

BrepCoder: A Unified Multimodal Large Language Model for Multi-task B-rep Reasoning

Machine Learning 2026-03-03 v2

Abstract

Recent advancements in deep learning have actively addressed complex challenges within the Computer-Aided Design (CAD) domain.However, most existing approaches rely on task-specifi c models requiring structural modifi cations for new tasks, and they predominantly focus on point clouds or images rather than the industry-standard Boundary Representation (B-rep) format. To address these limitations, we propose BrepCoder, a unifi ed Multimodal Large Language Model (MLLM) that performs diverse CAD tasks from B-rep inputs. By leveraging the code generation capabilities of Large Language Models (LLMs), we convert CAD modeling sequences into Python-like code and align them with B-rep. We then adopt a two-stage training strategy: First, pre-training on reverse engineering to learn geometric features and design logic. Second, eff ectively extending the model to various downstream tasks such as completion, error correction, and CAD-QA. Consequently, by interpreting B-rep as structural code, BrepCoder achieves superior generalization across diverse tasks, demonstrating its potential as a general-purpose CAD agent.

Keywords

Cite

@article{arxiv.2602.22284,
  title  = {BrepCoder: A Unified Multimodal Large Language Model for Multi-task B-rep Reasoning},
  author = {Mingi Kim and Yongjun Kim and Jungwoo Kang and Hyungki Kim},
  journal= {arXiv preprint arXiv:2602.22284},
  year   = {2026}
}
R2 v1 2026-07-01T10:52:43.679Z