From 565811978629fec8b194520738d58974ae5d5c65 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Mon, 13 May 2019 22:47:42 +0200 Subject: [PATCH] Material: card utils, example code comments fixes --- src/Mod/Material/materialtools/cardutils.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Mod/Material/materialtools/cardutils.py b/src/Mod/Material/materialtools/cardutils.py index 9f82a92ab0..759296b742 100644 --- a/src/Mod/Material/materialtools/cardutils.py +++ b/src/Mod/Material/materialtools/cardutils.py @@ -426,13 +426,18 @@ outmats(getmats()[0]) outtrio(getmats()) -a,b,c=getmats() +a,b,c = getmats() +materials, cards, icons = getmats() # param template, header, template card ********** from materialtools.cardutils import get_material_template as gettemplate gettemplate() +gettemplate()[1]['General']['Description'] + gettemplate()[2]['Mechanical']['FractureToughness'] + + from materialtools.cardutils import get_material_template as gettemplate template_data=gettemplate() for group in template_data: