Skip to main content

All Questions

1 vote
1 answer
27 views

How to select one vertex or edge and make it active? [duplicate]

I want to make a function that sets a vertex, or edge, or face selected and active. But I'm only able to select it but not make it the active vertex, edge, or face. I noticed there is only ...
Megan Love's user avatar
0 votes
0 answers
18 views

Why Can’t I Assign Vertices to a Vertex Group in Edit Mode via Python?

When manually assigning vertices to a Vertex Group, I must be in Edit Mode. However, when attempting to automate this or do the same operation via Python, Blender throws an error unless I switch to ...
Megan Love's user avatar
1 vote
1 answer
32 views

Selecting vertices with Python only works sometimes

When I use Blender Python to loop through all vertices to select only vertices with a Z coordinate <= 0, the script seems to randomly do one of the following: Select all vertices Select the ...
ansonl's user avatar
  • 125
0 votes
1 answer
73 views

How to Automatically Stitch UVs via a Script After Merging Vertices in Blender?

I'm working on a mesh in Blender where I've intentionally merged some vertices in Edit Mode—the geometry is exactly how I want it. However, after merging these vertices, the UV map hasn't updated ...
Ahab Dev's user avatar
0 votes
0 answers
29 views

Get vertices in a chunk like manner instead of strip (indices count)

I need some help rewriting a piece of code that takes a mesh and iterates over its indices to store indicies in arrays for later use while limiting itself to under 2**16 vertices and keeping faces ...
Slluxx's user avatar
  • 1
0 votes
2 answers
171 views

Set Origin to a specific vertex

I need some help with my script. The main task is to move the origin to the position of a certain vertex. In theory this works quite well, but unfortunately the meshes are always moved after i run the ...
Knudsen's user avatar
  • 37
3 votes
3 answers
317 views

How can I select all edges that form part of a square without a face via python?

I have empty squares (those with exactly 4 edges only) in my 2D mesh and I need to fill them with faces via python but I don't know how to automatically select these edges. Is it possible to select ...
Megan Love's user avatar
3 votes
2 answers
228 views

How can I remove a point of junction and reconnect 2 meshes via python?

I have a set of problematic meshes that have junction vertices (those with 4 edges). And I have to remove these via python and connect those vertices marked in green. Is this possible? Basically I ...
Megan Love's user avatar
1 vote
1 answer
51 views

How can I select and remove excess loops from an edge outline using python?

How can I select these vertices in this weird loops encircled in red using python? In this example I only have 5 vertices excess but it's possible for more or lesser vertices to be junctioned like ...
Megan Love's user avatar
5 votes
1 answer
158 views

How can I do some sort of limited dissolve of useless vertices at the edges?

Is there a way to do some limited dissolve either through the built-in Blender tools or perhaps through scripting (if not possible through Blender tools) to remove these types of vertices? Or do I ...
Harry McKenzie's user avatar
0 votes
0 answers
28 views

Delete vertices one by one, when using the 'Add Mesh: Extra Objects' addon to plot points

I am using the 'Add Mesh: Extra Objects' addon in Blender to plot points at specified coordinates. Each point is added to a mesh of points instead of being a separate object. My goal is to implement a ...
crisplettuce's user avatar
0 votes
0 answers
20 views

Learning Scripting with Python and Blender Edge or vertices question

I'm learning to write script in Blender (along my path of coding education and practical usage) and I'm to a point where i'm wanting to adjust certain vertices and certain edges. Can I create vertex ...
Rplogix88's user avatar
1 vote
1 answer
79 views

Uv coordinates values seem to be placed on the wrong vertices

Let's say I have a simple plane in which I have created a UV with the "Smart UV Project": I've then created this simple script to put the UV coordinates (x and y position) on each vertex: <...
Goncalo's user avatar
  • 11
4 votes
1 answer
15k views

How can I convert a complex point cloud to mesh?

I come from this question where I have generated a Point Cloud from a simple script which I want to convert into a mesh. I see there is this question and this question, which was unfortunately marked ...
Harry McKenzie's user avatar
0 votes
1 answer
162 views

Saving selected vertices as a text file

As part of a larger add on, I need to save selected vertices as a text file in this format: [ x y z; x y z; x y z ] Where x y and z are the ...
Ashlyn McCann's user avatar

15 30 50 per page
1
2 3 4 5 6