I think… use two sides of each box to set a plane and then BoundingBox the foil curve based on the plane…? Will that do it? Should be scriptable, I’ll have a try.
@The10thMan, is the red box in the attached file what you want?
Just in case that is correct, here is a script that should work to automate this- 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 v5 window. This will load the script, set it up to load on startup in the future and register the alias
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).
scaletan_PG.3dm (51.0 KB)
FrameAirfoils.zip (760 Bytes)