Three.JS plugin for Blender not working

末鹿安然 提交于 2019-12-13 06:12:28

问题


I cannot install the Three.js plugin for Blender. I have a Fedora with Blender 2.69, I created the directory io_mesh_threejs in /usr/share/Blender ... /addon and copied the 3 .py files into but the plugin doesn't appear in the user preference.

I also tried with a downloaded 2.65 version of Blender with no success.

I did it for another library (Babylon.js) and it worked fine so I guess it comes from the python files ?


回答1:


Here is what I did to get it to work with Win 7 - may work for you also.

  1. Make sure you copy the text from the Raw File format instead of just right clicking and downloading the python files. If you right click and download you might get some additional html code that will break it. Someone else here made that suggestion previously.

  2. Put the import and export files in the io_mesh_threejs folder. Put the init file in the root of the addons directory.

That did the trick for me anyway.




回答2:


hopefully this adds to the conversation stream ... I've spent two hours finding this answer myself for IFC file imports for Blender ... I've just now got there ... I'm on a Mac with OSX and my Blender 2.71 is positioned in /Users/username/Documents/Blender ... I tried the User Preferences to no avail ... even followed the PATH to /Users/username/Library/Application Support/Blender/2.71/scripts/addons and manually copied the files in using shell ... still nothing ... then I found that the actual place they should go is

/Users/username/Documents/Blender/blender.app/contents/MacOS/2.71/scripts/addons

In my case for IFCBlender I then made a directory called

bash$ mkdir io_scene_ifc

Then I copied in the all the downloaded files ... Hooray this now appeared in my User Preferences ...



来源:https://stackoverflow.com/questions/20731646/three-js-plugin-for-blender-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!