All Questions
242 questions
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 ...
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 ...
0
votes
0
answers
30
views
I purchased a 3D model online, need to get rid of duplicate geometry and replace with instances?
I recently purchased a 3D model online and there are A LOT of duplicate meshes. They are exactly the same, but are duplicates and not instances, this resulted in enormous file sizes and lag. I was ...
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 ...
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 ...
4
votes
1
answer
123
views
How to get updated mesh locations after object collisions?
I am very new to blender. I have a scene like this,
The top plane is a cloth, the two cylinders and rectangle are collision objects. I click play on the timeline and get this after a few seconds,
I ...
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 ...
2
votes
1
answer
573
views
How to use Python API to create an interactive parametric mesh?
I want to add my custom mesh to Blender. I already know about vertices, edges, faces, bpy.data.meshes, etc, but I can't figure out how to create an interactive ...
0
votes
0
answers
45
views
Create "root like" mesh using graph data Blender Python API on Blender 3.4.1
I would like to create a "root-like mesh system" using only the Python API of Blender as I can use it in different projects and generate a large number of meshes without opening Blender.
...
0
votes
0
answers
65
views
Persistent holes in mesh
I have an object, like a cube. I will move other meshes through it, or fire particles at it. I want theses things to pass through the object, leaving a hole where they went through without needing a ...
0
votes
1
answer
400
views
How to export multiple groups with meshes
I have a kitbash file and I want to export each one of the assets to a seprate fbx file for easy viewing and to ease on my pc since the whole .blend file contains around 15 mil polys.
I was wondering ...
3
votes
1
answer
2k
views
Getting and using the selected Color Attribute
Fairly new to blender python, though have some experience with python outside of blender, I'm trying to work out why this bit of code is only ever working on the first color attribute and not the ...
1
vote
1
answer
209
views
I'm trying to create a Mandelbulb in Blender 3.3.1 using the scripter. Zero errors but nothing happens when I run the code
Below is my current code. I get no errors, but when I run the code nothing happens. I'm not even sure everything is right, or when it works will it work how I want. Any feedback or suggestions are ...
0
votes
1
answer
155
views
How do I scale a specific set of vertices via the api
I'm trying to programatically apply a partial scaling to a mesh. For this specific scaling, I'm trying to replicate what happens when you've selected a number of vertices of a mesh in Edit Mode and ...
2
votes
1
answer
564
views
Python script to select the vertex with minimum z-coordinate from a selection of vertices in a mesh
I've put together a python script to select only the vertex with the minimum z-coordinate from a vertex selection in a mesh. The problem is that it works randomly, resulting in the correct selection ...