• Login
    View Item 
    •   DSpace Home
    • ASME
    • Journal of Mechanical Design
    • View Item
    •   DSpace Home
    • ASME
    • Journal of Mechanical Design
    • View Item
    JavaScript is disabled for your browser. Some features of this site may not work without it.

    CAD-Coder: An Open-Source Vision-Language Model for Computer-Aided Design Code Generation

    Thumbnail
    View/Open
    md-25-1707.pdf (1.378Mb)
    Date
    2026
    Author
    Doris, Anna C.
    Alam, Ferdous
    Heyrani Nobari, Amin
    Ahmed, Faez
    Metadata
    Show full item record
    Abstract
    Abstract. Efficient creation of accurate and editable 3D CAD models is critical in engineering design, significantly impacting cost and time to market in product innovation. Current manual workflows remain highly time consuming and demand extensive user expertise. While recent developments in AI-driven CAD generation show promise, existing approaches are often constrained by limited CAD representations, inability to generalize to real-world images, or low output accuracy due to a lack of domain-specific knowledge. To address these challenges, this article introduces CAD-Coder, an open-source vision-language model (VLM) explicitly fine-tuned to generate editable CAD code (CadQuery Python) directly from visual input. Leveraging a large-scale dataset that we constructed—GenCAD-Code, consisting of over 163k CAD model image and code pairs—CAD-Coder outperforms VLM baselines such as GPT-4.5 and Qwen2.5-VL-72B on image-conditioned CAD code generation, achieving a 100% valid syntax rate and the highest accuracy in 3D solid similarity. Notably, our VLM exhibits initial signs of generalizability, generating CAD code from real-world images and utilizing a CAD operation not explicitly seen during fine-tuning. The performance and adaptability of CAD-Coder highlight the potential of VLMs fine-tuned on code to streamline CAD workflows for engineers and designers. CAD-Coder is publicly available.
    URI
    http://yetl.yabesh.ir/yetl1/handle/yetl/4314947
    Collections
    • Journal of Mechanical Design

    DSpace software copyright © 2002-2015  DuraSpace
    Contact Us | Send Feedback
    Theme by 
    @mire NV
     

     

    Browse

    All of DSpaceCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

    My Account

    LoginRegister

    Statistics

    View Usage Statistics

    DSpace software copyright © 2002-2015  DuraSpace
    Contact Us | Send Feedback
    Theme by 
    @mire NV