From 704d34192551101b548ab859a141ae6818f0871f Mon Sep 17 00:00:00 2001 From: Ilya Portnov Date: Tue, 27 Dec 2022 13:11:57 +0500 Subject: [PATCH] Blend surface: evaluate() method was not implemented. --- utils/surface/algorithms.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/surface/algorithms.py b/utils/surface/algorithms.py index 2660c548b5..89c6930bd1 100644 --- a/utils/surface/algorithms.py +++ b/utils/surface/algorithms.py @@ -1056,6 +1056,9 @@ def get_v_min(self): def get_v_max(self): return self.v_bounds[1] + def evaluate(self, u, v): + return self.evaluate_array(np.array([u]), np.array([v]))[0] + def evaluate_array(self, us, vs): c1_min, c1_max = self.curve1.get_u_bounds() c2_min, c2_max = self.curve2.get_u_bounds()