Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have been working with 3D primitives in Three.js, but now I want to import some models. I plan on using Blender, which I have just downloaded with:

sudo apt-get install blender

However, I was instructed to put the import/export scripts in the .blender/2.62/scripts/addons folder, but it does not exist! .blender/2.62 does exist, but it only has a config folder.

The next thing I did is manually changed the script search path in Blender's preferences from // to my homefolder/scripts, which contained the required io_mesh_threejs folder (which, in turn had the .py scripts inside).

I saved the changes, restarted Blender, but still nothing: in the menu there is no mention of Three.js at all!

What do I do? It would be great if I knew the installation path for Blender, because maybe I could put those scripts there manually. Where should it be installed?

EDIT: these are the scripts I'm talking about, along with the instructions: https://github.com/mrdoob/three.js/tree/master/utils/exporters/blender.

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

The scripts should go in /usr/lib/blender/scripts/addons/.

share|improve this answer
add comment

You may need to give the scripts execute rights. Enter this in the folder of the addons:

chmod -R +x /usr/lib/blender/scripts/addons/io_mesh_threejs

There may be errors otherwise.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.