Wednesday, May 21, 2014
Automating hull assistants to create and analyze a parametric series of hulls: An update for Rhino 5
Many of Orca3D’s commands can be scripted, and therefore automated either through RhinoScript or by external programs such as Excel®. We’ve developed an example of automating a hull assistant using Visual Basic in Excel. A table of Ship Hull Assistant input parameters for a range of hulls is created by the user in Excel. The Visual Basic macro starts Rhino, then reads the data for each hull, creates the hull using the Hull Assistant, and computes a righting arm curve. Finally, the righting arm curves for all the hulls are plotted together for comparison.