On 4/23/2021 4:17 PM, Jordan Brown wrote:
On 4/23/2021 4:03 PM, Sayandeep Khan wrote:
How can we extract such faces from a shell given some conditions?
I'd be happy to cook up a demonstration, but I don't have time right now.
Here's the basic theory...
Have you looked at how you build a polyhedron? You define a bunch of
points, and then you connect groups of those points into faces that
all add up to being the polyhedron.
The idea here is that you're going to build a polyhedron that mostly
looks like a cylinder a bit bigger than the cylinder that you're going
to cut, except that the top of this polyhedron is wavy, using your
[ And on autopilot I hit Ctrl+Enter and sent the message when I wasn't
ready to... ]
If you have N points in your Bezier curve, you're probably going to have
3N, or maybe 2N+1 faces:
Doing this is a bit intricate, but isn't all that hard once you get
the pattern down. Mostly it's a bunch of list comprehensions, and some
light trigonometry to walk around the circumference of the cylinder-like
polyhedron that you're constructing.