3

One algorithm that's pretty good for this, but very difficult to implement is to find the Medial Axis of the shape and then have various profiles that are based on the signed distance from the medial axis. You can also use the Straight Skeleton instead of the Medial Axis, but it's also a bit of a pain to calculate. An easier way that's not quite as accurate,...


Only top voted, non community-wiki answers of a minimum length are eligible