Skip to content

Commit

Permalink
Merge pull request #1 from codeslord/main
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
dylanebert authored Nov 28, 2024
2 parents ad9c6cb + 78e15fa commit e6500f8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,22 @@ Go to the [Latest Release](https://github.com/huggingface/meshgen/releases/lates

# Usage

- Press `N` -> `MeshGen`
- Press `N` -> `MeshGen` (or `View` -> `Sidebar` -> Select the `MeshGen` tab)
- Click `Load Generator` (this will take a while)
- Enter a prompt, for example: `Create a 3D obj file using the following description: a desk`
- Click `Generate Mesh`

# Troubleshooting

- ModuleNotFoundError when loading generator:
- Go to Scripting and give the following command in the Python Interactive Console to get the path to your modules folder
```
>>> bpy.utils.user_resource("SCRIPTS", path="modules")
```
- Install missing modules by specifying target using pip. For example installing PyTorch in Windows with cuda 12.1:
```
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 --target=<path-to-your-modules-folder>
```
- Find errors in the console:
- Windows: In Blender, go to `Window` -> `Toggle System Console`
- Mac/Linux: Launch Blender from the terminal
Expand Down

0 comments on commit e6500f8

Please sign in to comment.