pub fn mechanical_component(input: &str) -> IResult<&str, MechanicalComponent>Expand description
Parses a mechanical component from the input string. http://www.aertia.com/docs/priware/IDF_V30_Spec.pdf#page=34
ยงExample
use idf_parser::components::mechanical_component;
let input = ".MECHANICAL
cs13_a pn-cap THOU 150.0
0 -55.0 55.0 0.0
0 -55.0 -55.0 0.0
.END_MECHANICAL";
let (remaining, component) = mechanical_component(input).unwrap();
assert_eq!(component.geometry_name, "cs13_a");