MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getPhysicalModels

Method getPhysicalModels

src/Mod/Material/App/MaterialPyImp.cpp:199–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199Py::List MaterialPy::getPhysicalModels() const
200{
201 auto models = getMaterialPtr()->getPhysicalModels();
202 Py::List list;
203
204 for (auto it : *models) {
205 list.append(Py::String(it.toStdString()));
206 }
207
208 return list;
209}
210
211Py::List MaterialPy::getAppearanceModels() const
212{

Callers 4

dereferenceMethod · 0.80
addMaterialDetailsMethod · 0.80
TEST_FFunction · 0.80

Calls 3

toStdStringMethod · 0.80
StringClass · 0.50
appendMethod · 0.45

Tested by 2

addMaterialDetailsMethod · 0.64
TEST_FFunction · 0.64