YASim: export wing section MACs
This commit is contained in:
parent
1b21f85c52
commit
59c059ddb6
1 changed files with 5 additions and 0 deletions
|
@ -547,6 +547,11 @@ void Wing::writeInfoToProptree()
|
||||||
sectN->getNode("base-z", true)->setFloatValue(ws->_rootChord.z);
|
sectN->getNode("base-z", true)->setFloatValue(ws->_rootChord.z);
|
||||||
sectN->getNode("chord", true)->setFloatValue(ws->_rootChord.length);
|
sectN->getNode("chord", true)->setFloatValue(ws->_rootChord.length);
|
||||||
sectN->getNode("incidence-deg", true)->setFloatValue(ws->_sectionIncidence * RAD2DEG);
|
sectN->getNode("incidence-deg", true)->setFloatValue(ws->_sectionIncidence * RAD2DEG);
|
||||||
|
sectN->getNode("mac", true)->setFloatValue(ws->_mac.length);
|
||||||
|
sectN->getNode("mac-x", true)->setFloatValue(ws->_mac.x);
|
||||||
|
sectN->getNode("mac-y", true)->setFloatValue(ws->_mac.y);
|
||||||
|
sectN->getNode("mac-z", true)->setFloatValue(ws->_mac.z);
|
||||||
|
|
||||||
}
|
}
|
||||||
_wingN->getNode("weight", true)->setFloatValue(wgt);
|
_wingN->getNode("weight", true)->setFloatValue(wgt);
|
||||||
_wingN->getNode("drag", true)->setFloatValue(dragSum);
|
_wingN->getNode("drag", true)->setFloatValue(dragSum);
|
||||||
|
|
Loading…
Reference in a new issue