I’ve been trying to write a small add-on, (which was my first mistake :D) and this add-on is supposed to add in a single vert to start of retopology, but I keep getting the famous error “Python script fail, look in the console for now…” it adds an object, but the object does not have geometry in it.
I published it as an add-on, which installs, but does not run:
But anyway, below is the code I used:
import bpy verts = [(1.0,1.0,1.0)] me = bpy.data.meshes.new("Vert") ob = bpy.data.objects.new("Vert", me) ob.location = bpy.context.scene.cursor_location bpy.context.scene.objects.link(ob) me.from_pydata(verts,,) me.update(calc_edges=True)
Thanks in advance!