I’ve got models build off of contour data (stacks of circles that make up tubes).
I’d like to turn these models into ‘skeletons’ by drawing a line through the center of the stack of circles. One could do this by finding the center of each circle and creating a point, then connecting each of these points.
Hi mmorehea - here is a quick script that should help- To use the script, extract and save the .rvb file from the attached zip archive, then drag and drop the saved rvb over an open Rhino V4 or v5 window. This will load the script, set it up to load on startup in the future and register the alias
ConnectCenters
that will run the script much like a regular command. An alias can be typed or added to a toolbar button or keyboard shortcut (F-key).
Pascal, would this be feasible in two stages? The mesh gets sectioned/contoured manually. Then run a modified version of ‘connect centers’ that finds the center points of the resulting closed poly curve sections.
Hi CarveCream- yeah- that would certainly be possible if that is the result the user wants. I was looking at the more esoteric definition/illustration of skeletonizing below. I did not see the top image it was scrolled up. Yes, the process you describe should be doable - you’d need some kind of initial guess curve to drive the sectioning though, I would think.
yah was just thinking full manual direction and cutoff of the contours would be necessary. In the case of cat mesh, from the ground up to the start of the body for the legs, then longitudinal direction for the body and head. But the ‘connect centers’ working with non-circles would be nice.