Skip to main content

All Questions

47 votes
3 answers
28k views

Control Cycles/Eevee material nodes and material properties using python?

How can I define the different properties of an Cycles/Eevee material? Such things as glossy, glass, diffuse, RGB-color, emissive via python scripting?
binaryBigInt's user avatar
  • 1,047
41 votes
1 answer
51k views

How to assign a new material to an object in the scene from Python?

How can I assign a new material to an object in the scene via Python?
binaryBigInt's user avatar
  • 1,047
2 votes
2 answers
397 views

Same Video on each face, but with different time delay?

iam looking for a way to - like the title says - i want to put the same video on each face, but with different time delay. In other words, i want to create a kind of videowall. i found THIS: ...
froggyman's user avatar
  • 503
0 votes
1 answer
3k views

How to add/remove links to existing or new nodes using Python?

I have lots of objects consisting of many different meshes. Some of these meshes come with transparent materials applied to them. My goal is to modify the nodes list, add new nodes and change the ...
Amir's user avatar
  • 3,062
15 votes
2 answers
3k views

PyNodes, the bare basics

I know it's a very new thing (post 2.4 era anyways) but there seems to be very little documentation and examples for PyNodes in general, and the little there is doesn't seem to work in latest SVN (...
Greg Zaal's user avatar
  • 10.8k
3 votes
3 answers
1k views

Any way of serializing Blender cycles materials data?

I am searching of ways to serialize Blender Cycles materials to files using Python. But as of now I've found no such ways. Maybe by writing the data of the materials to files but how can I do that? ...
Farhan Anam's user avatar
1 vote
1 answer
434 views

How to select meshes with transparent materials applied to them only?

I want to select all meshes which a transparent material (e.g. glass) has been applied, when using Cycles (if it matters at all)? I just know how to select meshes with any kind of material applied to ...
Amir's user avatar
  • 3,062
7 votes
1 answer
4k views

How to set a background using the cycles render engine with the API

I'm just getting started with the Blender API, and I'm trying to set the background texture using the API. In the GUI, I do the following: Choose the Cycles render engine ...
Ajay T's user avatar
  • 115
3 votes
1 answer
388 views

copy linked materials nodes to local material

DISCLAIMER: I rewrite my post upon the latest success to not flood my own post with already solved parts so I left only the part that really is still not working... PROBLEM: I need to replace all ...
bublible's user avatar
  • 111
2 votes
1 answer
262 views

Python to Replace Skechup Material to Cycles Material

I'm using the Blender to make all my works university (architecture), but in my job the people use Sketchup for modeling and V-Ray for rendering. I want use Blender, cause liked more then others, the ...
Asaph Coimbra Fagundes's user avatar
2 votes
1 answer
403 views

Extracting a text string info (character's indices) to use it as a material mask

I think an image can say more than words sometimes... :) The idea is to use a different color from the color ramp for each character in the string. It's related to this question
Bithur's user avatar
  • 8,284
2 votes
2 answers
2k views

Getting the image of a texture node that feeds into a node group

I have a Cycles material node group like this: I can access the user-specified color (red) like this: ...
jdurrant's user avatar