def do(self): for _ in range(10): point = GeoMath.getRandomPointInEdge(self.edge, 0.06) if (GeoMath.pointInVolume(self.volume, point)): self.value = point break
def do(self): for _ in range(10): point = GeoMath.getRandomPointInEdge(self.edge, 0.06) if GeoMath.pointInVolume(self.volume, point): self.value = point break