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. The fin thickness is optional (default 2 mm). Lengths are in metres.