An add-on to fit primitive shapes to selected vertices. Current handles Sphere, Plane, and Cylinder.
Cylinder can be fit either to a single selection of vertices or two (added separately in the UI).
Initially developed for Bones and biomechanics, likely useful for other purposes.
Sphere - select verticies that either sit on the surface of a sphere, or define it's volume.
Plane - Will fit a plane through the centre of the selected verticies, aligned with the two major axes.
Cylinder - Will fit a cylinder to a selection of verticies that lie on the side of the cylinder. Note that principle component is uses to orient the cylinder, so if you select verticies across the cylinder, it will be oriented wrong.
2 condyle cylinder - will take two sets of verticies that lie on the cylinder surface and fit a cylinder. Idea for e.g. the distal end of limb bones.
1.1 to conform with Blender extension guidelines.
Also added scaling for the plane, and a default option to randomly sample selected vertices to reduce computation time.
This extension does not require special permissions.