FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
No edit summary
m ((Vertical Docnav)(Vertical GuiCommand))
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:13-->
{{Docnav
|[[FEM_MaterialMechanicalNonlinear|Nonlinear mechanical material]]
|[[FEM_ElementGeometry1D|Beam cross section]]
|[[FEM_Module|FEM]]
|IconL=FEM_MaterialMechanicalNonlinear.png
|IconC=Workbench_FEM.svg
|IconR=FEM_ElementGeometry1D.png
}}

<!--T:1-->
<!--T:1-->
{{GuiCommand
|Name=Material_editor
|Icon=Arch_Material_Group.svg
|MenuLocation=Model → Material → Material editor
|Workbenches=[[Fem Workbench|FEM]]
|Shortcut=
|SeeAlso=[[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 [[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 [[FEM Module|FEM]] and [[Arch Module|Arch]] workbenches.


Line 7: Line 29:
[[Image:Material editor.jpg]]
[[Image:Material editor.jpg]]


<!--T:3-->
==How to use== <!--T:3-->

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


<!--T:4-->
<!--T:4-->
* Arch Workbench:
* The '''Edit material''' button of the [[Arch SetMaterial|new material]] creation panel of the [[Arch Module|Arch Workbench]]
** The '''Edit material''' button of the [[Arch SetMaterial|new material]] creation panel of the [[Arch Module|Arch Workbench]]
* FEM Workbench:
** The menu Models → Material → Material editor
** The icon Material editor
* Via python:
* Via python:

==Scripting== <!--T:16-->
</translate>
</translate>
{{Code|code=
{{Code|code=
Line 41: Line 71:
{{Userdocnavi}}
{{Userdocnavi}}


<!--T:10-->
[[Category:Command Reference]]
[[Category:Command Reference]]

[[Category:Arch]]
[[Category:Arch]]


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

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

</translate>
</translate>
{{clear}}
{{clear}}

Revision as of 10:37, 15 January 2020

Material_editor

Menu location
Model → Material → Material editor
Workbenches
FEM
Default shortcut
None
Introduced in version
-
See also
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.

File:Material editor.jpg

How to use

The material editor can currently be accessed by:

  • Arch Workbench:
  • FEM Workbench:
    • The menu Models → Material → Material editor
    • The icon Material editor
  • Via python:

Scripting

import MaterialEditor
MaterialEditor.openEditor()

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

Note:

  • 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.