Skip to content
项目

关于

2D to 3D CAD Conversion Using VLM

科学与工程

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+2
1个月
+5

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

cad3dify

Using GPT-5 (or Claude 4.5 opus, Gemini 3 pro, Llama 3.2 on Vertex AI), generate a 3D CAD model (STEP file) from a 2D CAD image.

[!NOTE] We developed an agent-based version of this project called agent3dify. You can use it instead of this project.

Getting started

Installation.

git clone [email protected]:neka-nat/cad3dify.git
cd cad3dify
poetry install

Run script. A STEP`file ("output.step") will be generated.

cd scripts
export OPENAI_API_KEY=<YOUR API KEY>
python cli.py <2D CAD Image File>

Or run streamlit spp

streamlit run scripts/app.py
streamlit run scripts/app.py -- --model_type claude  # Use Claude 4.5 sonnet
streamlit run scripts/app.py -- --model_type gemini  # Use Gemini 3.0 pro preview
streamlit run scripts/app.py -- --model_type llama  # Use Llama 3.2 on Vertex AI

Architecture

graph TD
    Input((Input Image)) --> CodeGenerator(CAD Code Generator AI Agent)
    CodeGenerator --> PythonDebugger(Python Execution and Debugging AI Agent)
    PythonDebugger --> StepFile((STEP File))
    StepFile --> Rendering(Rendering 3D CAD Model Image from STEP File)
    Rendering --> Refiner(CAD Code Refiner AI Agent)
    Refiner --> PythonDebugger

Demo

We will use the sample file here.

Input image

input

Generated 3D CAD model

output

探索相关项目

加载中…