Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neka-nat/cad3dify
2D to 3D CAD Conversion Using GPT-4o
https://github.com/neka-nat/cad3dify
3d cad gpt-4o
Last synced: 3 months ago
JSON representation
2D to 3D CAD Conversion Using GPT-4o
- Host: GitHub
- URL: https://github.com/neka-nat/cad3dify
- Owner: neka-nat
- Created: 2022-09-18T10:42:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T23:46:10.000Z (6 months ago)
- Last Synced: 2024-08-20T03:52:06.483Z (6 months ago)
- Topics: 3d, cad, gpt-4o
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cad3dify
Using GPT-4o (or Llama 3.2 on Vertex AI), generate a 3D CAD model (STEP file) from a 2D CAD image.
## Getting started
Installation.
```bash
git clone [email protected]:neka-nat/cad3dify.git
cd cad3dify
poetry install
```Run script.
A STEP`file ("output.step") will be generated.```bash
cd scripts
export OPENAI_API_KEY=
python cli.py <2D CAD Image File>
```Or run streamlit spp
```bash
streamlit run scripts/app.py
```## Demo
We will use the sample file [here](http://cad.wp.xdomain.jp/).
### Input image
![input](sample_data/g1-3.jpg)
### Generated 3D CAD model
![output](sample_data/gen_result1.png)