Commit 9e5d9b6e authored by Michael Turner's avatar Michael Turner

propergate CFI and step labels to composites

parent d5971429
......@@ -117,7 +117,6 @@ public:
*/
std::string GetName()
{
WARNINGL1(m_name.size() > 0, "CAD object does not have a name");
return m_name;
}
......
......@@ -573,6 +573,21 @@ void InputMCF::Process()
module->SetDefaults();
module->Process();
}
// apply surface labels
for(auto &it : m_mesh->m_composite)
{
ElementSharedPtr el = it.second->m_items[0];
if(el->m_parentCAD)
{
string name = el->m_parentCAD->GetName();
if(name.size() > 0)
{
m_mesh->m_faceLabels.insert(make_pair(el->GetTagList()[0],name));
}
}
}
ProcessComposites();
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment