FEM MaterialEditor: Difference between revisions
(change to PNG) |
(was a wrong attempt to fix What's This? feature) Tag: Replaced |
||
Line 1: | Line 1: | ||
{{delete}} |
|||
<languages/> |
|||
<translate> |
|||
<!--T:13--> |
|||
{{Docnav |
|||
|[[FEM_MaterialReinforced|Reinforced material (concrete)]] |
|||
|[[FEM_ElementGeometry1D|Beam cross section]] |
|||
|[[FEM_Workbench|FEM]] |
|||
|IconL=FEM_MaterialReinforced.svg |
|||
|IconR=FEM_ElementGeometry1D.svg |
|||
|IconC=Workbench_FEM.svg |
|||
}} |
|||
<!--T:1--> |
|||
{{GuiCommand |
|||
|Name=Material editor |
|||
|Icon=Arch_Material_Group.svg |
|||
|MenuLocation=Model → Material → Material editor |
|||
|Workbenches=[[FEM_Workbench|FEM]], [[Arch_Workbench|Arch]] |
|||
|Version=0.18 |
|||
|SeeAlso=[[Material|Material]], [[Arch_SetMaterial|Arch SetMaterial]], [[FEM_tutorial|FEM tutorial]] |
|||
}} |
|||
==Description== <!--T:14--> |
|||
<!--T:19--> |
|||
The Material Editor allows you to edit and save the information contained in a [[Material|FreeCAD material]]. Currently such materials are used by the {{KEY|[[Image:Workbench_FEM.svg|24px]] [[FEM_Workbench|FEM]]}} and {{KEY|[[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|Arch]]}} workbenches. |
|||
<!--T:2--> |
|||
[[Image:Material editor.png]] |
|||
==Usage== <!--T:3--> |
|||
<!--T:15--> |
|||
The material editor can currently be accessed by either: |
|||
<!--T:4--> |
|||
# [[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|Arch Workbench]] |
|||
#* The [[Image:Arch_SetMaterial.svg|16px]] [[Arch_SetMaterial|Set Material]] button of the [[Arch_SetMaterial|New material]] creation panel of the [[Arch_Workbench|Arch Workbench]] |
|||
#* The menu {{MenuCommand|Arch → Set material...}} entry |
|||
# [[Image:Workbench_FEM.svg|24px]] [[FEM_Workbench|FEM Workbench]] |
|||
#* The [[Image:Arch_Material_Group.svg|16px]] [[Material_editor|Material editor]] icon |
|||
#* The menu {{MenuCommand|Models → Material → Material editor}} entry |
|||
# Via python (see [[#Scripting|Scripting]] section below) |
|||
== Options == <!--T:5--> |
|||
<!--T:6--> |
|||
* '''Browser button''': Opens the contents of the URL property in a browser |
|||
* '''Material card''': Allows to choose a preset to fill in the fields |
|||
* {{Button|Open}}: Opens a .FCMat file |
|||
* {{Button|Save as}}: Saves the contents of the editor as a new .FCMat file |
|||
* '''Preview''': Not implemented yet |
|||
* '''Properties editor''': Allows to edit the contents of the material properties |
|||
* {{Button|Add property}}: Allows to add a new custom property |
|||
* {{Button|Delete property}}: Deletes a selected property. Only custom properties can be deleted |
|||
<!--T:7--> |
|||
Note: |
|||
<!--T:8--> |
|||
* The {{Button|OK}} and {{Button|Cancel}} buttons have the same effect when the Material editor is not used to edit directly the material property of an existing object. |
|||
==Scripting== <!--T:16--> |
|||
</translate> |
|||
{{Code|code= |
|||
import MaterialEditor |
|||
MaterialEditor.openEditor() |
|||
}} |
|||
<translate> |
|||
<!--T:11--> |
|||
{{Docnav |
|||
|[[FEM_MaterialReinforced|Reinforced material (concrete)]] |
|||
|[[FEM_ElementGeometry1D|Beam cross section]] |
|||
|[[FEM_Workbench|FEM]] |
|||
|IconL=FEM_MaterialReinforced.svg |
|||
|IconR=FEM_ElementGeometry1D.svg |
|||
|IconC=Workbench_FEM.svg |
|||
}} |
|||
</translate> |
|||
{{FEM Tools navi{{#translation:}}}} |
|||
{{Arch Tools navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
|||
{{clear}} |
Revision as of 00:19, 13 June 2022
This page will be deleted by an administrator!
Reason for deletion: