bladesero / bake2vmd

Bake physics to MMD armature animation
GNU General Public License v3.0
22 stars 6 forks source link

CAT's Blender Plugin #1

Open gitspyder opened 5 years ago

gitspyder commented 5 years ago

Hi, great tool, thanks. I switched to CAT's Blender Plugin for my MMD to Blender and back workflow a while back as it includes the latetest version of MMD tools within it as well. However when I try to install this addon, I get an error about MMD tools not being installed.
"Module Not Found Error: No module named 'mmd_tools'

Is there a quick way to get it working with the CAT Blender Plugin?

I only know a little at python and tried looking at the code. It looks like the error root might be with the "import mmd_tools" and "import mmd_tools.core.model as mmd_model".

Looking at the CAT's blender plugin I see that the mmd tools scripts are in "\addons\cats-blender-plugin-master\mmd_tools_local" and there is a model.py file in \mmd_tools_local\core as well as \mmd_tools_local\operators.

I was able to get Blender to accept the checkmark for the addon by changing "import mmd_tools" to "import mmd_tools_local" and the same with "import mmd_tools.core.model as mmd_model" but the bake options don't show with the model. It might be related to my not being able to swap from CAT to regular MMDs, even when unchecking MMD tools, but thought I'd see if you had a better solution or if they could co-exist.

Thanks again for this great plugin. Can't wait to try it out.

bladesero commented 5 years ago

Today I try to work with Cats-plugins,but it seems to be no Rigidbody attach to the MMD model in default. And I can't find any thing like MMD physics in the toolshelf, so if Cats-plugins don't support rigidbody attach to the bone,my plugin may be meaningless working with it. image