The Blender addon has this feature, here’s a video of it in action (in the last minute or so of the video):