I am writing a script to deform a Plane gradually and save files each time of the deformation. I could do it manually, using edit mode as below.
Then, I wrote code to see how works as below.
import bpy import bmesh context = bpy.context obj = context.edit_object mesh = obj.data # get a bmesh bm = bmesh.from_edit_mesh(mesh) print(bm) for v in bm.verts: if not v.select: continue print(v.co.xyz) v.co.z+= 3
However,as might be expected, it translates the only selected vertex like below.
Since I am a beginner,this might be a fool question but if you know how to do this deformation(like "connected"&"Smooth" deformation in edit mode), please help me out.