Skip to main content

All Questions

0 votes
0 answers
40 views

Decimate A Mesh To An Explicit Number of Vertices and Faces

I am building a machine learning dataset from a collection of 3D models. Training the models requires that the mesh have the same number of faces and vertices for every model in the dataset, which ...
Jack Rolph's user avatar
0 votes
1 answer
31 views

Object dimensions not changing with subsurf modifier

I'm writing an addon that checks anytime the active objects dimensions change and updates some properties, I'm doing this with depsgraph_update_pre and ...
Psyonic's user avatar
  • 2,339
0 votes
1 answer
197 views

How to select the surface and import png image to it?

I have the multiple png images that I want to apply them to a predefined 3d object template. This can easily be done by choosing the option shown in the image attached and then select the .png file to ...
ujjwalkpatel's user avatar
1 vote
1 answer
76 views

How to apply subdivision surface modifier to this cube without artifacts?

I'm trying to make a simple ramp shape with a cube. I applied a bevel modifier to a single edge, then another bevel to all edges, and finally a subsurf modifier to make it smooth. However, the subsurf ...
n0ah's user avatar
  • 517
0 votes
1 answer
141 views

How to make vertex a "corner" for subd modifier

I would like to "mark"/"tag" some of the surface vertices as corners for the subdivision modifier. How is this possible? If it is not possible with the GUI is there at least a ...
user299831's user avatar
1 vote
1 answer
442 views

Subdivide and add a Shrink Wrap modifier to an object using python [duplicate]

I am trying to subdivide and finally add a Shrink Wrap modifier to an object using python. Below is the object SUBDIVIDE code. ...
3vanse's user avatar
  • 95
0 votes
0 answers
218 views

How to remove sharp edges when using subdivision surface modifier?

I'm having trouble with a subdivision surface modifier. I'm making all with a python script I want to get rid of sharp edges on the sides of the different levels this is the modifier and it's applied ...
Sam's user avatar
  • 1
4 votes
3 answers
2k views

How do I create a heightmap from a python array of numbers?

I have a python numpy array similar to the following: Array = ([[1, 2, 1, -1, -1, -3], [3, 4, 2, 1, -2, -2], [3, 4, 1, -1, -2, -2]]) I want to ...
Bob's user avatar
  • 51
1 vote
2 answers
381 views

Subdivision/decimation is not working as expected

I am trying to subdivide the following mesh which is split in 3 objects and each object is structured from quads: I tried both the following two functions: ...
ttsesm's user avatar
  • 409
1 vote
1 answer
533 views

Subdivide object faces by area in python script

I have the following scene with multiple objects: It is mainly a cad model so as you can see some of the faces on some of the objects are different larger in comparison to some others. What I would ...
ttsesm's user avatar
  • 409
1 vote
1 answer
398 views

Subdivide in GUI vs Subdivide in Python

When I subdivide edges of selected faces using the GUI, it ends up looking like this: On the other hand, using python, it looks like this, only generating vertices and not faces: Here is the code - ...
user89359's user avatar
2 votes
0 answers
183 views

Vertex coordinates of shape key with subsurf modifier

For mesh objects with shape keys, you can access the vertex coordinates of the shape key using: ...
pschill's user avatar
  • 151
0 votes
2 answers
2k views

Using python to change the settings of all subdivision surface modifiers

I found this python script to add a subdivision surface modifier to all objects ...
user55497's user avatar
1 vote
2 answers
743 views

When I subdivide a face, how do I get each face from the result in Python?

For example, if I subdivided a square face so there were now 4 faces, how I do iterate through those 4 faces in a Blender add-on?
Maria's user avatar
  • 13