summaryrefslogtreecommitdiff
path: root/make.py
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-08-12 20:21:54 -0400
committerStan Seibert <stan@mtrr.org>2011-08-12 20:21:54 -0400
commit47738282858a7f30acef633ed0de2a6e933e9c7f (patch)
tree2e0f8ac477d590f82d2c924fd9207c06c4a37d2e /make.py
parent955bebbc1d6121823f4376115a070112ede7bcbe (diff)
parent8328b6e53f51974afb4b22c8a84e4d0a99cf162b (diff)
downloadchroma-47738282858a7f30acef633ed0de2a6e933e9c7f.tar.gz
chroma-47738282858a7f30acef633ed0de2a6e933e9c7f.tar.bz2
chroma-47738282858a7f30acef633ed0de2a6e933e9c7f.zip
Merge
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)