3
votes
Connect multiple vertex pairs
An operator that can handle this kind of cases:
The code checks:
if we have an even number of vertices selected
if they share one face
If one of these conditions is not respected, it will do ...
2
votes
Accepted
How to get what a node group's name is inside a material?
Gorgious has just posted an answer that will simplify your life, here.
As you can:
dict_of_group_to_users = bpy.data.user_map(subset=bpy.data.node_groups)
But for ...
1
vote
Where is my script?
If you don't save it in a separate file, try searching in the datablock selector:
1
vote
How to display progress notifications from an Operator?
Here's a minimal working example that displays a progress bar filling in the UI. I used a modal operator and a timer but it can be driven by any property. You'll need Version 4.0 and bpy.types....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
scripting × 6252python × 4660
add-on × 650
mesh × 326
animation × 322
interface × 321
rendering × 243
objects × 243
game-engine × 199
materials × 192
node-editor × 186
operator × 185
properties × 175
modeling × 161
modifiers × 161
transforms × 144
export × 140
import × 130
bmesh × 127
drivers × 120
3d-view × 115
uv × 106
armature × 102
camera × 101
command-line × 101