[Bf-python] what is exactely the address of the scripts folder under linux and mac os ?

Willian Padovani Germano wgermano at ig.com.br
Thu Aug 26 05:48:43 CEST 2004


jmsoler wrote:

> I have a doubt about this point :
> what is exactely the  address of the scripts folder
> under linux and mac os ?

This was a little messy in Blender itself, but I got the path from what 
Blender itself considers its home dir.  So if you use 
Blender.Get('datadir') to construct the scripts dir path as you did for 
you "help menu" function, you should be ok.  Otherwise I'd consider it a 
bug we should fix.

I can talk about linux: home dir is either .blender/ at the same dir 
where the Blender binary is or (if user created it) ~/.blender/ , where 
of course '~' means the user home dir.

Having problems, then?

Also, running in debug mode: 'blender -d' prints info that can tell you 
where Blender found its home dir.  I'll add a Blender.Get('scriptsdir') 
to simplify a little more for 2.35.

-- 
Willian




More information about the Bf-python mailing list