Questions tagged [path]

Use this tag for question regarding "data paths" and "file paths" in blender.

Filter by
Sorted by
Tagged with
7
votes
2answers
2k views

How to automatically get a Add-on folder's path regardless of OS?

In Blender, is there a command to query what's the current path to the Add-on folder - regardless of what system I'm using?
9
votes
2answers
2k views

Where is the default text object font (Bfont)?

I've found bmonofont-i18n.ttf.gz and droidsans.ttf.gz in the datafiles/fonts directory, but ...
4
votes
1answer
2k views

Get path to Blender executable

How to get Blender executable's file path in a Python script? __file__ gives me my addon's path, but I cannot be sure Blender is in the same folder tree, I guess.
7
votes
1answer
2k views

Problem enabling siding generator addon

I created this siding generator and I have been adding some new features and I have encountered some problems that I just can't seem to get around. Currently it is not installing into Blender 2.72 ...
2
votes
1answer
694 views

Creating a driver on a constraint with python?

I have the following code and want to add a driver to the rest length of the stretch to constraint (bone constraint), but the console says that the property path is invalid. What am I doing wrong? <...
3
votes
1answer
1k views

How to get full file path to rendered image?

I need to get full, absolute path to the image that has been rendered. Unfortunately bpy.path.abspath() returns only the folder path and not the disk. Same with all ...
3
votes
2answers
3k views

Get path of my script file

How to find out the file path I dropped my Python script from? I want to call an external application for image post-processing from a Python script and I want the application to be in the same folder ...
1
vote
0answers
70 views

How do I get absolute path of a file? [duplicate]

I did the following to achieve an UI for taking in path file ...
7
votes
1answer
5k views

Is it safe to delete the cache?

Does deleting the cache files in the USER directory hurt anything? The user directory where the cache in question is: ...
4
votes
1answer
2k views

set a property via its data path stored in a string

I have a property called A I have another property called ADP that stores the data path of A as a string How can I use the string data path to set property A? I could add "= myvar" to the end of ...
10
votes
2answers
658 views

Path for camera from motion equation

Is there any option in blender to define path as equation? I need to move camera by specific equation of motion. This equation is described as follows: ...
6
votes
1answer
930 views

How does one obtain the file path of the current .blend in the bge?

Specifically, how does one obtain the path to the current .blend when the blender game engine is running?
8
votes
1answer
2k views

How do I get the path my script is running in?

I am writing a Quake 1 .BSP import script with python and I want to extract the textures from the .BSP so that the mesh can be ...

1
3 4 5 6
7