This is the first time I have used blender to make a game map (for a quake mod), and I need to export the map to ASE. How does one access the script from blender? If I place the .py in the scripts dirctry, within the blender app package, blender does not see it I assume that the âBpymenusâ doc needs to be changed⌠am I right? If so how?
This may have been fisked in the latest release, but to add scripts manually:
Download your script. Make sure that the file has the extension .py at the end. If it doesnt, change it please.
Open up your blender folder. Right click on the blender app and select âshow package contents.â For those of you who dont know, most apps in mac os are really just directories, and the actual binary is somewhere inside that. This puts most of the necessary files in one place, and allows for those âdrag and dropâ installs we know and love.
Then, without closing that, search (within that âpackageâ) for .blender. Inside this subfolder should be two files: a document called bpymenus, and a folder called scripts.
Go ahead and make an alias of that .blender folder and place it wherever you want, so you can get to it easy.
If you have an app like tinkertool, macpilot, or mainmenu, you can just âshow invisibles/hiddenâ to see this.
Double click on your downloaded python script. There will probably be a header like this at the top:
Name: âASCII Scene (.ase) v0.6.2â
Blender: 240
Group: âExportâ
Tooltip: âASCII Scene Export (*.ase)â
remember that number- in this case 240.
Now open up that bpymenus file in textedit. Scroll down to the group your script should be in- in my case it would be âExport.â Make a new line (hit return).
Type your infos like all the other lines, but replace the. It should look just like this:
â3D Studio (.ase)âŚâ 240 goofosASE.py 0 âExport to 3DS file format (.ase).â
The first bit before the elipsis is the name that appears, the part that says (in mine) goofoseASE.py is the name of the file (copy directly from the file on the desktop, or wherever your script is), and last bit is the description. Change yourse as necessary. The number (240 in mine) is the number from before. Save the list.
Move the python script to the scripts folder.
Open up blender, and use it!
Edit: Btw, try adding your script to the .blender > scripts folder and then updating first, before you do this. If built in method works, then you will save yourself alot of time. For some reason it didnât work for me (it did work on my Windoze copy though).