How to link a new object to a scene in Blender 2.80 Python API
In Blender 2.79 Python API we can add a new object to a scene with:
1 |
bpy.context.scene.objects.link(new_object) |
If we try to do this in Blender 2.80, it throws an error:
‘bpy_prop_collection’ object has no attribute ‘link’
In Blender 2.80 API new objects mast be linked not to the scene, but to the scene collections:
To link a new object to the active scene collection:
1 |
bpy.context.scene.collection.objects.link(new_object) |
To link a new object to the collection by its name:
1 |
bpy.data.collections['collection_name'].objects.link(new_object) |
Blender add-on: Wire 2
“Wire” is the Blender add-on for the quick and easy creation of wireframe renders.
Blender 2.81 official release
The Blender 2.81 release is enabled for downloading from the official Blender site.
Making a procedural zipper shader
Hans Chiu shared a stream about making a procedural animated zipper material.
Blender add-on: BIS v. 1.8.2.
BIS (Blender Interplanety Storage) updated to v.1.8.2.
- Updated some nodes parameters according to Blender 2.81
How to move the cursor to the active strip start/end position in Blender VSE
To move the cursor to the start position of the active strip in Blender VSE:
1 |
bpy.context.scene.frame_current = bpy.context.scene.sequence_editor.active_strip.frame_start |
To move the cursor to the end position of the active strip:
1 |
bpy.context.scene.frame_current = bpy.context.scene.sequence_editor.active_strip.frame_final_end |
Blender add-on: Parametrizer
“Parametrizer” is the Blender add-on for interactively changing mesh geometry through the customizable parameters.
How to correctly set parameters using mathematical expressions
Blender has a very convenient ability to set the desired values through mathematical expressions. If we don’t know the exact value, instead of manually calculating it, we can simply enter an expression that will calculate the desired value.
How to correctly set parameters using mathematical expressionsRead More »