Can someone please tell me why the geometry isn’t closing properly? I just spent over an hour on what was supposed to be “aesthetic”. My brain has officially stopped functioning. (I’m out, touching some asphalt)
I’ve isolated the extrudeDisc function in this jsFiddle.
Thanks in advance.(Yes, Pavel, I know… but couldn’t resist! )
A bit late to the party, as usual
Bumped into the same issue, building a gear, with gear’s inner hole.
The Gear itself:
The solution was exaclty what @PavelBoytchev said - not to close the path.
In my case, I simply built a set of points in circular formation, missing the step, where angle is exactly Math.PI * 2.