FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
m (added icon)
No edit summary
 
(39 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:13-->
<!--T:13-->
{{Docnav
{{Docnav
|[[FEM_MaterialReinforced|Reinforced material (concrete)]]
|[[FEM_MaterialMechanicalNonlinear|Nonlinear mechanical material]]
|[[FEM_ElementGeometry1D|Beam cross section]]
|[[FEM_ElementGeometry1D|Beam cross section]]
|[[FEM_Module|FEM]]
|[[FEM_Workbench|FEM]]
|IconL=FEM_MaterialReinforced.svg
|IconL=FEM_MaterialMechanicalNonlinear.png
|IconR=FEM_ElementGeometry1D.svg
|IconC=Workbench_FEM.svg
|IconC=Workbench_FEM.svg
|IconR=FEM_ElementGeometry1D.png
}}
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Material editor
|Name=FEM MaterialEditor
|MenuLocation=Model → Materials → Material editor
|Icon=Arch_Material_Group.svg
|Workbenches=[[FEM_Workbench|FEM]], [[Arch_Workbench|Arch]]
|MenuLocation=Model → Material → Material editor
|Version=0.18
|Workbenches=[[Fem Workbench|FEM]]
|SeeAlso=[[Arch_SetMaterial|Arch SetMaterial]], [[FEM_tutorial|FEM tutorial]]
|Shortcut=
|SeeAlso=[[FEM_tutorial|FEM tutorial]]
}}
}}


Line 24: Line 24:


<!--T:19-->
<!--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 [[FEM Module|FEM]] and [[Arch Module|Arch]] workbenches.
The '''Material Editor''' allows you to edit and save the information contained in a [[Material|FreeCAD material]]. Currently such materials are used by the [[Image:Workbench_FEM.svg|24px]] [[FEM_Workbench|FEM]] and [[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|Arch]] workbenches.


<!--T:2-->
<!--T:2-->
[[Image:Material editor.jpg]]
[[Image:Material editor.png]]


==Usage== <!--T:3-->
==Usage== <!--T:3-->


<!--T:15-->
<!--T:15-->
The material editor can currently be accessed by:
The material editor can currently be accessed by either:


<!--T:4-->
<!--T:4-->
* [[Image:Workbench_Arch.svg|32px]] [[Arch Module|Arch Workbench]]
# [[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|Arch Workbench]]:
#* The {{Button|[[Image:Arch_SetMaterial.svg|16px]] [[Arch_SetMaterial|Material]]}} button.
*: The {{Button|Edit material}} button of the [[Arch SetMaterial|new material]] creation panel of the [[Arch Module|Arch Workbench]]
#* The menu {{MenuCommand|Arch → Material tools[[Image:Arch_SetMaterial.svg|16px]] Material}} entry.
* [[Image:Workbench_FEM.svg|32px]] [[FEM Module|FEM Workbench]]
# [[Image:Workbench_FEM.svg|24px]] [[FEM_Workbench|FEM Workbench]]:
*: The menu {{MenuCommand|Models → Material → Material editor}}
:: The [[Image:Arch Material Group.svg|24px]] [[Material editor]] icon
#* The {{Button|[[Image:FEM_MaterialEditor.svg|16px]] [[FEM_MaterialEditor|Material editor]]}} button.
#* The menu {{MenuCommand|Model → Materials → [[Image:FEM_MaterialEditor.svg|16px]] Material editor}} entry.
* Via python (see [[#Scripting|Scripting]] section below)

==Scripting== <!--T:16-->
</translate>
{{Code|code=
import MaterialEditor
MaterialEditor.openEditor()
}}
<translate>


== Options == <!--T:5-->
== Options == <!--T:5-->
Line 62: Line 54:
* {{Button|Delete property}}: Deletes a selected property. Only custom properties can be deleted
* {{Button|Delete property}}: Deletes a selected property. Only custom properties can be deleted


<!--T:7-->
== Notes == <!--T:20-->
Note:


<!--T:8-->
<!--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.
* 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.



<!--T:11-->
<!--T:11-->
{{Docnav
{{Docnav
|[[FEM_MaterialReinforced|Reinforced material (concrete)]]
|[[FEM_MaterialMechanicalNonlinear|Nonlinear mechanical material]]
|[[FEM_ElementGeometry1D|Beam cross section]]
|[[FEM_ElementGeometry1D|Beam cross section]]
|[[FEM_Module|FEM]]
|[[FEM_Workbench|FEM]]
|IconL=FEM_MaterialReinforced.svg
|IconL=FEM_MaterialMechanicalNonlinear.png
|IconR=FEM_ElementGeometry1D.svg
|IconC=Workbench_FEM.svg
|IconC=Workbench_FEM.svg
|IconR=FEM_ElementGeometry1D.png
}}
}}

<!--T:17-->
{{FEM Tools navi}}

{{Arch Tools navi}}

<!--T:9-->
{{Userdocnavi}}


</translate>
</translate>
{{FEM Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 17:12, 21 October 2022

FEM MaterialEditor

Menu location
Model → Materials → Material editor
Workbenches
FEM, Arch
Default shortcut
None
Introduced in version
0.18
See also
Arch SetMaterial, FEM tutorial

Description

The Material Editor allows you to edit and save the information contained in a FreeCAD material. Currently such materials are used by the FEM and Arch workbenches.

Usage

The material editor can currently be accessed by either:

  1. Arch Workbench:
    • The Material button.
    • The menu Arch → Material tools → Material entry.
  2. FEM Workbench:
    • The Material editor button.
    • The menu Model → Materials → Material editor entry.

Options

  • Browser button: Opens the contents of the URL property in a browser
  • Material card: Allows to choose a preset to fill in the fields
  • Open: Opens a .FCMat file
  • 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
  • Add property: Allows to add a new custom property
  • Delete property: Deletes a selected property. Only custom properties can be deleted

Notes

  • The OK and Cancel buttons have the same effect when the Material editor is not used to edit directly the material property of an existing object.