I am applying the solidify modifier to a surface I have. The surface represents a terrain with mountains. When I apply solidify in python the input surface appears to be modified, ie where the sharp edges are (think cones with acute angles). It kind of makes sense but I would really like to keep the original surface as it is, even if the thickness is not respected. Is there an option for this?
Here is the python code I use
solidify_modifier = obj.modifiers.new(name="Solidify", type='SOLIDIFY')
solidify_modifier.thickness = thickness # Set the thickness value
solidify_modifier.offset = -1
bpy.ops.object.modifier_apply(modifier=solidify_modifier.name)
Some screenshots:
First picture is after solidifying, second is the actual surface. You can see some protusions on the front, which I assume come from the extension of the relief behind the edge.
The following image is the view with the edges and the normals
I also tried to use the complex algorithm instead but the results were actually worse somehow.


