##############################################################################
var ParachuteConfig = func {
	var cd       = getprop("sim/model/parachute/cd");
	var area_sqm = getprop("sim/model/parachute/area-sqm");
	
	var area_sqft = area_sqm * 10.7639;
	var CDxA_sqm  = cd * area_sqm;
	var CDxA_sqft = cd * area_sqft;
	
	setprop("sim/model/parachute/CDxA-sqm" , CDxA_sqm);
	setprop("sim/model/parachute/CDxA-sqft", CDxA_sqft);
	
}

##############################################################################
var setParachuteDefaults = func {
	setprop("sim/model/parachute/cd", 1.2);
	setprop("sim/model/parachute/area-sqm", 91.);
	
	ParachuteConfig();
}

