Using the script below I encounter the same non-orthogonal corners as already asked here, but my bmesh is three dimensional, not flat.


Is my current skin modifier approach even the best solution or is there another which doesn't even raise the corner problem at all?

import bpy
faces = []

name = "my_bmesh"
mesh = bpy.data.meshes.new(name)
obj = bpy.data.objects.new(name, mesh)

coll = bpy.data.collections.get("Collection")
bpy.context.view_layer.objects.active = obj
mesh.from_pydata(vertices, edges, faces)

# Add skin modifier
mod_skin = obj.modifiers.new('Skin', 'SKIN')
# Add radius
dim = (0.3, 0.3)

for v in obj.data.skin_vertices[0].data:
    v.radius = dim
  • 2
    $\begingroup$ I think the skin modifier is not the way to go here, they tend to generate non-reliable results at intersections. Maybe a Geometry nodes approach would better suit you ? Try this blender.stackexchange.com/a/260294/86891 + yay, that's my answer you linked ^^ $\endgroup$
    – Gorgious
    Dec 7, 2022 at 13:47
  • $\begingroup$ @Gorgious That's the answer. Thank you $\endgroup$
    – jjk
    Jul 29, 2023 at 10:33


You must log in to answer this question.

Browse other questions tagged .