示例#1
0
 def within_fn(self, existing_point, new_point, current_polygon_vertices):
     fn_args = list(new_point) + list([current_polygon_vertices])
     value = self.value_fn(*fn_args)
     return blender_utils.within_cube(existing_point, new_point, 5)
示例#2
0
 def within_fn(self, existing_point, new_point, current_polygon_vertices):
     # Radius is 1; use 3 for buffer
     return blender_utils.within_cube(existing_point, new_point, 4)