From 71aead5625bfde0574749a2ac63c61de8dfce14a Mon Sep 17 00:00:00 2001 From: Rohith Raghunathan Nair Date: Wed, 27 Nov 2024 22:43:00 +0000 Subject: [PATCH 1/2] Update README.md Updated readme in case the shortcut N is not working! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dbd22ca..f2b107d9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ 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` From 78e15fa83776c423adcb4376877c62cd3ecd3989 Mon Sep 17 00:00:00 2001 From: Rohith Raghunathan Nair Date: Wed, 27 Nov 2024 23:00:34 +0000 Subject: [PATCH 2/2] Update README.md Troubleshooting ModuleNotFoundError when loading the generator --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2b107d9..04b27add 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,22 @@ Go to the [Latest Release](https://github.com/huggingface/meshgen/releases/lates # Usage -- Press `N` -> `MeshGen` (or View -> Sidebar -> Select the MeshGen tab) +- 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= + ``` - Find errors in the console: - Windows: In Blender, go to `Window` -> `Toggle System Console` - Mac/Linux: Launch Blender from the terminal