Results 1 to 2 of 2

Thread: How can I set MESH_OT_vertices_smooth.factor through Python?

  1. #1

    How can I set MESH_OT_vertices_smooth.factor through Python?

    How can I set the "Smooth Vertex" smoothing factor MESH_OT_vertices_smooth.factor
    through Python?

    It can be set in the GUI, after running "Smooth vertex" on an edited object/selected vertices. But I 'd like to do it from Python. (doing the whole smoothing from Python).
    Last edited by chrissie; 17-May-17 at 04:37.



  2. #2
    Member Secrop's Avatar
    Join Date
    Dec 2011
    Location
    Berlin
    Posts
    1,839
    bpy.ops.mesh.vertices_smooth(factor=0.5, repeat=1, xaxis=True, yaxis=True, zaxis=True)



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •