Skip to main content

All Questions

Tagged with
0 votes
0 answers
26 views

How to Export JSON from Blender with Split Normals using Geometry Nodes

I am trying to export a JSON file from Blender and need split normals as data on vertices. I have exported a custom attribute named "norm" using geometry nodes. However, I am struggling to ...
Vishal Soni's user avatar
0 votes
0 answers
20 views

Ray_casting from curve origins doesn't hit any part of the mesh

The terminal prints none, which I guess means the raycast is not hitting anything. To replicate this output. Run the script and navigate to its sidebar in the viewport, select the two nerve curves and ...
Stavros Piliaris's user avatar
0 votes
1 answer
39 views

Trouble debugging this script (loop through non-manifold verts on one mesh and find index of closest edge on a different mesh) - any tips

The eventual purpose of this script will be to try to stitch two halves of two different, sliced-open objects, together. This is to be done by individually moving each of the verts on the open non-...
El Grillo's user avatar
3 votes
1 answer
80 views

How can I pass an object (like a bmesh) to an operator or should I not do that?

I have an operator that creates a certain mesh but I want to keep things modular so I separated each operation into its own operator. Like for example, I have an operator that removes vertices that ...
Megan Love's user avatar
1 vote
0 answers
27 views

Why does a script that runs on a Blender primitive cube not run for an imported stl file of a cube?

I was trying to recreate batFINGER's answer to this question How to get data and edit it on UV map edges? The code looks like this: ...
Ciara's user avatar
  • 11
0 votes
0 answers
42 views

Python exercise to learn - spiral circular shape

I’m trying to use bmesh extrusion and Matrix to do some spiral shape like this : I would like to start from a circle (like it is described on the picture) Here where I’m stuck: ...
Certes's user avatar
  • 61
0 votes
0 answers
60 views

How can I access and modify a boolean attribute in edit mode?

Re Manually setting custom attributes per edge / vertex / etc TLDR : In edit mode, the regular interface to access and edit attributes, ...
Gorgious's user avatar
  • 31.5k
4 votes
1 answer
110 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 ...
AskedSuperior's user avatar
0 votes
1 answer
105 views

How to get bmesh vertex colors in Blender 4.0?

There's several answers on how to get vertex colors here on StackExchange, but something seems to have changed in 4.0 because none of them work. bmesh.loops.layers.color[0] returns index out of range
eobet's user avatar
  • 342
0 votes
0 answers
14 views

Blender Bmesh set custom normal

I'm trying to adjust the normals of selected vertexes on a vector. The code runs without errors but does nothing. Blender version 4.0.2 ...
Anton Vashkevich's user avatar
0 votes
0 answers
29 views

How to update mesh data?

I want to resort the order of vertices of faces in Blender by python. It looks like the resort function works well. But I think the new data does not update to the mesh successfully. How to modify my ...
Bill XU's user avatar
  • 19
0 votes
1 answer
36 views

How to resort vertices' order of faces?

I would like to rearrange the order of vertices for each face, so that I can use the new order for the "FIXED" --- quad_method of the Triangulate Modifier. However, I am unsure whether it is ...
Bill XU's user avatar
  • 19
2 votes
1 answer
64 views

My python code for creating vertex groups and adding existing vertices to them is grouping wrong vertices and creating unwanted faces

I have a existing mesh of a human body and I have created vertex groups that contain groups of vertices that are associated with different parts on the left side of the body mesh. I want to use python ...
app-o-matix's user avatar
0 votes
0 answers
52 views

When looping the selection_history of a bemesh it Crashes With Error: HIPEW initialization failed: Error opening HIP dynamic library

I'm Making a tool for boundary weight paint pinning from selection with bmesh Am i supposed to report this as a Bug ? Edit: the script works with no issues when using selection_history.active instead ...
user avatar
2 votes
1 answer
26 views

How to specify length/direction with a BMesh operator

Using bmesh.ops.extrude_edge_only(bm, edges=[], use_normal_flip=False, use_select_history=False) (https://docs.blender.org/api/current/bmesh.ops.html#bmesh.ops....
Ryan Blanchard's user avatar

15 30 50 per page
1
2 3 4 5
21