示例#1
0
 def split(self, vert=None, fac=0.5):
     bme = BMElemWrapper._unwrap(self)
     bmv = BMElemWrapper._unwrap(vert) or bme.verts[0]
     bme_new, bmv_new = edge_split(bme, bmv, fac)
     return RFEdge(bme_new), RFVert(bmv_new)
示例#2
0
 def split(self, vert=None, fac=0.5):
     bme = BMElemWrapper._unwrap(self)
     bmv = BMElemWrapper._unwrap(vert) or bme.verts[0]
     bme_new, bmv_new = edge_split(bme, bmv, fac)
     return RFEdge(bme_new), RFVert(bmv_new)