Hi all,
I’ve been searching for a way to split mesh edges into each individual edge. I tried so many ways, but failed.
If I were to manually do it:
- Select a mesh
- Go to Edit mode.
- Delete all faces, but Face Only.
- I left with edges.
- I manually select edge and press Y, this is exactly what I am trying to do. But I want it to repeat continuosly until all edges are separate individual edge.
The closest script to what I am trying to do is this:
########
import bpy
obj = bpy.context.active_object
bpy.ops.object.mode_set(mode=‘OBJECT’)
for i in obj.data.edges:
if i.crease > 0.0:
i.select = True
bpy.ops.object.mode_set(mode=‘EDIT’)
########
But in that case, it only select edges with Crease bigger than 0.
I tried to plug this somewhere, but does not seem to work:
bpy.ops.mesh.split()
I am not programmer per se, so really need help for this. Thank you.