V4 and V5
So as to explain this in simple terms, see attached test model, make the green surfaces best fit ZYplane and the blues best fit XY plane, but keeping them all grouped.
use to which I need to put this:-
I have an aircraft model brought in from a photogrammetry prog so the frame lines and stringers are a tad irrregular and slight wriggly.
Having created planar surfaces for these vertical frames and horizontal paired stringers (smaller frames that run fore/aft) I see that they are a not quite aligned to 3D world planes, what is the best way of getting Rhino to re-orient these to get a best fit to YZplane for the surfaces that should be in the YZplane.
Ditto those for XY.
NOTE…I need the aircraft fuselage to move along with the planar surfaces.
An ideal command would be something like my fictitious command BestFitPlanarSurfaces3Dworld
- group the model and planar surfaces
- select the planar surfaces to best fit to YZ, hit enter when done, or N if none
- select the planar surfaces to best fit to XY, hit enter when done, or N if none
- select the planar surfaces to best fit to ZY, hit enter when done, or N if none
model then realigns with best fit of planar surfaces to the 3D world.
somehow user must be able to select the surfaces within the grouping.
I end up with the aircraft 3D wireframe best fitting the 3D world. Fuselage frames upright and aircraft fuselage fore/aft datum aligned to grid.
For those interested in what happens next, I then select the first fuselage frame, use divide to generate points then interpolate curve through points to refine the curve, ProjectToCplane to flatten it. Move the resulting curve back to best fit on its planar surface. repeat for the other frames, then for stringers and end up with a refined aircraft 3D model.
SteveTestBestFitPlanarSrfs3Dworld.3dm (41.2 KB)