summaryrefslogtreecommitdiff
path: root/make.py
diff options
context:
space:
mode:
Diffstat (limited to 'make.py')
-rw-r--r--make.py3
1 files changed, 1 insertions, 2 deletions
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)