Skip to main content

All Questions

Tagged with
1 vote
1 answer
2k views

How to select objects by collection from selected objects in the scene with Python?

I just started using python and got stuck. I found this script which is used to take the selected objects from the scene and add them to a list based on the name of the material. I should do almost ...
daniele's user avatar
  • 81
3 votes
1 answer
560 views

How to select vertices on the left side of a plane using python?

I would like to select only the vertices on the left side of my plane using Python (like on the screeenshot), does anybody have an idea how to do it ? I try the following to get all vertices but i'm ...
Nicolas Southside's user avatar
5 votes
3 answers
2k views

can I get number of edges connected to a vertex

I essentially want to put a fence up around the edge of my object, is there a way I can select all vertices with 3 edges connected to it? ...
TheIrishPizzaGuy's user avatar
0 votes
0 answers
150 views

Why is deselecting vertices with bmesh not working?

I want to make use of the bmesh module to update mesh selection. To select vertices works as expected, but to unselect vertices does not work for me... Am I ...
f.bra's user avatar
  • 142
1 vote
1 answer
350 views

Recursive search for selected vertices

i am working on a tool and need to get selection islands in the mesh. I want to keep only the biggest connected vertex selection in the mesh. I wrote a function that recursively searches a ...
f.bra's user avatar
  • 142
0 votes
0 answers
125 views

INVOKE_DEFAULT cancels selection while EXEC_DEFAULT doesn't

I'm writing a script for exporting convex shapes in a proprietary format. I have an option for V-HACD auto-generating and also an option for manual tweaking of V-HACD settings before exporting. The ...
kreny's user avatar
  • 9
0 votes
1 answer
4k views

How can I select a bone by name using python in blender 2.8

I'm new to scripting in blender and am trying to select a bone by name using python. Eventually I would like to loop through all the bones of an armature and translate them to a new location in edit ...
jnse's user avatar
  • 33
2 votes
2 answers
3k views

Is it possible to deselect vertices in Python?

I have an existing selection which I'd like to further isolate using Python scripting. In this instance the math is simply that if the X coordinate is greater than zero, it should be deselected. I ...
Aaron Franke's user avatar

15 30 50 per page
1
2