Changeset View
Changeset View
Standalone View
Standalone View
mesh_extra_tools/mesh_filletplus.py
| Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | try: | ||||
| list_3[1].select = 1 | list_3[1].select = 1 | ||||
| list_3[-2].select = 1 | list_3[-2].select = 1 | ||||
| bm.edges.get([list_3[0], list_3[1]]).select = 1 | bm.edges.get([list_3[0], list_3[1]]).select = 1 | ||||
| bm.edges.get([list_3[-1], list_3[-2]]).select = 1 | bm.edges.get([list_3[-1], list_3[-2]]).select = 1 | ||||
| bm.verts.index_update() | bm.verts.index_update() | ||||
| bm.edges.index_update() | bm.edges.index_update() | ||||
| bm.faces.index_update() | bm.faces.index_update() | ||||
| me.update(calc_edges=True, calc_tessface=True) | me.update(calc_edges=True, calc_loop_triangles=True) | ||||
| bmesh.ops.recalc_face_normals(bm, faces=bm.faces) | bmesh.ops.recalc_face_normals(bm, faces=bm.faces) | ||||
| except Exception as e: | except Exception as e: | ||||
| print("\n[Function fillets Error]\n{}\n".format(e)) | print("\n[Function fillets Error]\n{}\n".format(e)) | ||||
| return False | return False | ||||
| def do_filletplus(self, pair): | def do_filletplus(self, pair): | ||||
| ▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines | |||||