Exemple #1
0
 def split(self, vert_a, vert_b, coords=[]):
     bmf = BMElemWrapper._unwrap(self)
     bmva = BMElemWrapper._unwrap(vert_a)
     bmvb = BMElemWrapper._unwrap(vert_b)
     coords = [BMElemWrapper.w2l_point(c) for c in coords]
     bmf_new, bml_new = face_split(bmf, bmva, bmvb, coords=coords)
     return RFFace(bmf_new)
Exemple #2
0
 def split(self, vert_a, vert_b):
     bmf = BMElemWrapper._unwrap(self)
     bmva = BMElemWrapper._unwrap(vert_a)
     bmvb = BMElemWrapper._unwrap(vert_b)
     bmf_new, bml_new = face_split(bmf, bmva, bmvb)
     return RFFace(bmf_new)
 def split(self, vert_a, vert_b):
     bmf = BMElemWrapper._unwrap(self)
     bmva = BMElemWrapper._unwrap(vert_a)
     bmvb = BMElemWrapper._unwrap(vert_b)
     bmf_new, bml_new = face_split(bmf, bmva, bmvb)
     return RFFace(bmf_new)