Hot answers tagged

5 votes

driver not working

TLDR Either: Replace % with fmod for a simple (FAST) expression: ...
user avatar
3 votes

driver not working

Make sure you have this checked: "Auto run python scripts" in your preferences. Note: i assume you want to drive a rotation? be aware that you have to work with radians, not degrees, so ...
user avatar
  • 34.9k
2 votes
Accepted

How do I append a text file?

wm.append is meant for copying data blocks from one blender file to another. It is the implementation of the append menu entry. You can determine how the directory ...
user avatar
  • 29.4k
2 votes

driver not working

To sum up the discussion in the comments of the two existing answers: There are two approaches you can take: You can follow the recommendation in this answer and enable Auto-Run. But that produces a ...
user avatar
  • 29.4k
2 votes
Accepted

GLSL: 2D space transform matrix of Custom Shader

If you draw a rectangle with the built-in shaders, they all use ModelViewProjectionMatrix. The documentation states: "...They all read the uniform mat4 ModelViewProjectionMatrix, which can be ...
user avatar
  • 6,948
1 vote
Accepted

Running a python script with arguments in blender from terminal

You can do something like this. Run an inline python script that will call a string and run it as it's own shell command. ...
user avatar
  • 1,783
1 vote

How to scale several points with one inner point using python script?

Something like this should work. ...
user avatar
  • 1,783
1 vote

CollectionProperty inside another PropertyGroup

Here is all you need to do: ...
user avatar
1 vote
Accepted

How do I make operator properties show up as a dropdown in keymaps?

I think I just figured it out. I needed to use bpy.props.EnumProperty ...
user avatar
  • 194
1 vote

Exposing Variables in addon OR opening file through addon

you can do it like this: ...
user avatar
  • 34.9k
1 vote
Accepted

Need help with script that loops through a collection and bakes objects

to Marty Fouts point, I was not setting the bpy.context.active_object. This was the solution for blender 2.8+ ...
user avatar
  • 183

Only top scored, non community-wiki answers of a minimum length are eligible