Hello,
I’m rebuilding a Coordinate Measuring Machine (CMM) and trying to figure out a reasonable way to get from discrete coordinates from the machine to a model in Rhino. My naive approach was to draw a sphere at each coordinate received from the machine that matches the diameter of the probe tip and draw surfaces tangent to the spheres. I almost have planes working, but I’ve only managed to get Rhino to draw them through the center of the sphere rather than tangent to it, it can probably be fixed by offsetting the plane by the radius of the sphere.
Does anyone have suggestions for cylindrical features? And/or a cleaner process in general?
Thanks!
-Paul
Thanks Julie!
I couldn’t find FitCylinder, but calling Cylinder has a FitPoints option which works perfectly. Do you know what algorithm it uses? From your Least Squares suggestion I found the PlaneThroughPt command which should cover most of what I’m trying to do. Is there a nice way to offset a plane? All I could find was Move and it has the quirk of requiring two planes. It won’t let you do the move normal to itself, you have to create duplicate plane for the normal reference.
I think this solves all of the issues I’ve thought of so far, so I’ll take a rain check on the Grasshopper setup.
Also, I can’t see your reply on the website. I see the notification, but clicking on it just shows my first post.
Thanks!