FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(26 intermediate revisions by 4 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_MaterialMechanicalNonlinear.svg
|IconL=FEM_MaterialReinforced.svg
|IconR=FEM_ElementGeometry1D.svg
|IconR=FEM_ElementGeometry1D.svg
|IconC=Workbench_FEM.svg
|IconC=Workbench_FEM.svg
Line 13: Line 14:
<!--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
|Workbenches=[[Fem_Workbench|FEM]], [[Arch_Module|Arch]]
|SeeAlso=[[Material|Material]], [[Arch_SetMaterial|Arch SetMaterial]], [[FEM_tutorial|FEM tutorial]]
|Shortcut=
|Version=0.18
|Version=0.18
|SeeAlso=[[Arch_SetMaterial|Arch SetMaterial]], [[FEM_tutorial|FEM tutorial]]
}}
}}


Line 25: 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 {{KEY|[[Image:Workbench_FEM.svg|24px]] [[FEM Module|FEM]]}} and {{KEY|[[Image:Workbench_Arch.svg|24px]] [[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-->
Line 36: Line 35:


<!--T:4-->
<!--T:4-->
# [[Image:Workbench_Arch.svg|32px]] [[Arch Module|Arch Workbench]]
# [[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|Arch Workbench]]:
#* The [[Image:Arch_SetMaterial.svg|32px]] [[Arch SetMaterial|Set Material]] button of the [[Arch SetMaterial|New material]] creation panel of the [[Arch Module|Arch Workbench]]
#* The {{Button|[[Image:Arch_SetMaterial.svg|16px]] [[Arch_SetMaterial|Material]]}} button.
#* The menu {{MenuCommand|Arch → Set material...}} entry
#* 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 [[Image:Arch Material Group.svg|32px]] [[Material editor]] icon
#* The {{Button|[[Image:FEM_MaterialEditor.svg|16px]] [[FEM_MaterialEditor|Material editor]]}} button.
#* The menu {{MenuCommand|ModelsMaterial → Material editor}} entry
#* The menu {{MenuCommand|ModelMaterials [[Image:FEM_MaterialEditor.svg|16px]] Material editor}} entry.
# Via python (see [[#Scripting|Scripting]] section below)


== Options == <!--T:5-->
== Options == <!--T:5-->
Line 56: 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.

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




<!--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_MaterialMechanicalNonlinear.svg
|IconL=FEM_MaterialReinforced.svg
|IconR=FEM_ElementGeometry1D.svg
|IconR=FEM_ElementGeometry1D.svg
|IconC=Workbench_FEM.svg
|IconC=Workbench_FEM.svg
Line 83: Line 72:
</translate>
</translate>
{{FEM Tools navi{{#translation:}}}}
{{FEM Tools navi{{#translation:}}}}
{{Arch Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

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.