We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdd1062 commit 7bbbe1cCopy full SHA for 7bbbe1c
vpython/shapespaths.py
@@ -70,7 +70,7 @@ def roundc(cps, roundness=0.1, invert=False, nseg=16):
70
v = p1 - center
71
dtheta = -dtheta
72
73
- for j in range(nseg):
+ for j in range(1,nseg): # don't repeat the starting point of this arc
74
v1 = center + v.rotate(j*dtheta)
75
ncp.append([v1.x, v1.y])
76
0 commit comments