Our system has detected that this message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. Please visit 550-5.7.1 https://support.google.com/mail/?p=UnsolicitedMessageError 550 5.7.1 for more information.
というログが出ている。import bpy import bmesh import math mesh = bpy.context.active_object.data bm = bmesh.new() bm.from_mesh(mesh) edges = bm.edges for i in range(len(edges)): bm.edges.ensure_lookup_table() edge = edges[i]; edge_length = edge.calc_length() divide_count = math.floor(edge_length / 10) - 1; if divide_count > 0: bmesh.ops.subdivide_edges(bm,edges=[edge],cuts=divide_count,use_grid_fill=True,) bm.to_mesh(mesh) mesh.update()