Skip to main content

parse_geometry

Function parse_geometry 

Source
pub fn parse_geometry(spec: &str) -> Result<RocketGeometry>
Expand description

Parse the compact geometry spec used by the CLI: nose=shape:length:diameter,tube=length:diameter,fins=count:root:tip:span:sweep:thickness (or efins=count:root:span:thickness for elliptical fins), with an optional boat=length:fore_diameter:aft_diameter conical boat-tail at the aft end. The fin thickness is optional (default 2 mm). Lengths are in metres.