11 questions linked to/from Python: vertex normal according to World
3k views

### Efficient way to delete all points below z = 0 on grid via Python script

I am trying to create a bowl in Blender by using the Python scipt. My method is as follows: Clear cube in new file Create UV sphere via Add --> Mesh --> UV Sphere Tab (enter edit mode) a' (unselect ...
• 875
910 views

### Face location, rotation world matrix with x, y, z and bmesh

I'm trying to adapt the excellent information in this post https://blender.stackexchange.com/a/119342/18323 to also include x,y rotations of faces and for a case where any modifiers are taken into ...
• 951
2k views

### How to get distance of vertices from an arbitrary plane in Python?

I have an arbitrary oriented plane and an object "above" it. I would like to calculate the distance from the plane for each vertex in that object. Hopefully this screenshot illustrates the idea (the ...
• 911
2k views

### How can I align the 3D cursor to a face / polygon with python

I'm currently trying to align the 3D Cursor to a face / polygon with python on Blender 2.8, to snap one object on the surface, but I don't know how can I achieve that, currently I'm using this as a ...
• 25
1 vote
1k views

### How can I select only the front facing polygons of an object?

I want to select the front face, but I don’t want to select the back face ...
• 369
396 views

### Selecting all coplanar vertices from another mesh

Let's say you have this cube here, with points A, B, C, and D, which are all on the same plane. Then, let's say you have a plane that is perfectly co-planar with points A, B, C and D. It is a ...
1 vote
260 views

### How to translate vertices in line with bone rotation?

I'm trying to create a script that will place two vertices onto a bone, one at the head and one at the tail, and then translate them above the bone so that they are in line with rotation of the bone's ...
• 312
385 views

### How can I access the values set via normals_split_custom_set()?

I use a variety, of, methods to set the loop normals but want to read them to do some raycasting. I thought I had to call calc_normals_split() then match up ...
• 91
1 vote
367 views

### How to get "true" face normal in scaled object?

I work on addon for UV box mapping. In my addon I need to check face normal to sort X,Y or Z oriented faces. By following this topic I found how to compensate object rotation by multiplying object ...
• 97