New answers tagged

1 vote
Accepted

Print center of faces for all objects

While the cube is the object, it's mesh data is stored in cube.data. Don't forget to free the allocated memory from the bmesh to ...
user avatar
0 votes

Bmesh code from 3D object

I found something good enough from here: https://b3d.interplanety.org/en/how-to-save-mesh-data-to-text/ It takes the active object and spits out the verticies and faces that can then be used with <...
user avatar
  • 1,441
0 votes

Copying and rotating object via Blender Python API

Staying away from ops is a good idea, since they are context-dependent. However, if everything is working, it's ok to use them. In your case, you have to make sure your ob is active and selected ...
user avatar
-1 votes

How to get "bpy.ops.mesh.select_more()" working for a bmesh?

You may need to put the selected mesh to edit mode, ...
user avatar
  • 11

Top 50 recent answers are included