Skip to main content

All Questions

Tagged with
1 vote
0 answers
20 views

Subtracting overlapping 2D mesh with Python using Blender API

Supposing I have two 2D mesh objects, A and B. I would like to programmatically subtract the overlapping portion of one from ...
SKNB's user avatar
  • 121
1 vote
1 answer
20 views

bpy.Mesh.from_pydata create bad faces

I am new to blender scripting so this might be a stupid question. I used scipy to create a spherical voronoi and I want to turn it into a mesh with ...
John Cheung's user avatar
1 vote
1 answer
30 views

Separate mesh by bodies, not by faces

Say I have a lot of objects in the same mesh, one inside the other: And with face orientation view: I would like to separate the bodies in the mesh. I know I could go to edit mode, select all and ...
man-teiv's user avatar
  • 220
0 votes
0 answers
15 views

Body obj always take on the color of lower garment (Python API)

So, basically I have a SMPL body mesh(without texture cordinates), a shirt garment mesh(with texture cordinates) and a pant garment mesh(with texture cordinates). Using blender I load the load first ...
Zen's user avatar
  • 1
1 vote
1 answer
34 views

create an object from scratch by using numpy

I'm trying to create one object from scratch using numpy (in the example, in order to make it very simple, only two vertices and one edge). The code below works (Hurray!) but ... Could anyone give me ...
Certes's user avatar
  • 61
3 votes
3 answers
288 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
210 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
0 votes
0 answers
24 views

When combining obj files, one of them gets weirdly distorted

I am trying to convert two obj files: a generic head without a face and a rudimentary face. When I display the face by itself (in its own file), its fine. Same for head. But when I combined the 2, the ...
Sammy Medawar's user avatar
0 votes
0 answers
12 views

Question about bpy's matrix_world to torch3d coordinate system conversion

From the visualization results, it appears that the camera pose I converted is not accurate. It has moved backwards. Is there have any suggestions ?QAQ 1.difference of cameras space 2 some discussion
Haitao Xiao's user avatar
0 votes
0 answers
27 views

Overridden delete operator does not work if object has been assigned to a variable

When I override the delete operator and then delete an object that has been assigned to a variable Blender does not use the overriding function. If I do not assign it, my function is being used. Here ...
SimonCan's user avatar
2 votes
1 answer
101 views

Generate Rig from vertecies

I am looking for a way to automate this setup: Basically, i want to generate a armature with bones for every vertex of a selected mesh. Ideally, the bones should point in the vertex's normal ...
Julez Chilluminati's user avatar
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
1 vote
1 answer
58 views

How to rotate and set origin by using command line

I tried to perform a batch operation by using blender CLI. I want to rotate a mesh by X axis with -90d, and then place the mesh to world origin, the operation I performed in the GUI is: press keys: R,...
lei wei's user avatar
  • 13
0 votes
0 answers
30 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
37 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

15 30 50 per page
1
2 3 4 5
42