Introductions Hello, I'm a brand new blender newbieuser... For my tinyI'm working on a little project, I'm now learning how to construct 3d things using solely that's entirely made up of Python scripts. But I'm having trouble turning an octagon into a circle right now ( I do know that adding vertices would make it better, but is there wasanother way, perhaps something like a problemcode that resembles a subdivision modifier?)... Please assisthelp me with my queryproblem...
My Question I'd likeIs scripting subdivision modifier applicable? Can you show me how to turndo it with my octagon into a circle using solely "Python scripts"... (Does subdivision apply here, andcode if so, howit is possible?)
Here is my code
import bpy
verts = [(0,1,0), (0.29,1.70,0), (1,2,0), (1.70,1.70,0), (2,1,0), (1.70,0.29,0), (1,0,0), (0.29,0.29,0)]
faces = [(0,1,2,3,4,5,6,7)]
mesh = bpy.data.meshes.new("octagon")
object = bpy.data.objects.new("octagon", mesh)
bpy.context.collection.objects.link(object)
mesh.from_pydata(verts,[],faces)