From 56f17469d6e86b78f68ece3bce41d1a50a58b657 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Fri, 12 Aug 2011 18:50:18 -0400 Subject: speedup Mesh.remove_duplicate_vertices() --- make.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'make.py') diff --git a/make.py b/make.py index 8f07b05..ed02cb1 100644 --- a/make.py +++ b/make.py @@ -55,8 +55,7 @@ def segmented_cylinder(radius, height=2, theta=np.pi/32, n=50): y = np.concatenate(([-height/2.0] * n, np.linspace(-height/2.0, height/2.0, n, endpoint=False), [height/2.0] * (n+1))) - #return x,y - return rotate_extrude(x, y, theta, remove_duplicate_vertices=False) + return rotate_extrude(x, y, theta) def sphere(radius=1, theta=np.pi/32): profile_angles = np.arange(-np.pi/2, np.pi/2+theta, theta) -- cgit