FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Marked this version for translation)
Line 7: Line 7:
{{GuiCommand|Name=Material_editor|Icon=Arch_Material_Group.svg|MenuLocation=Model → Material → Material editor||Workbenches=[[Fem Workbench|FEM]]|Shortcut=|SeeAlso=[[FEM_tutorial|FEM tutorial]]}}
{{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==
==Description== <!--T:14-->
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 13: Line 13:
[[Image:Material editor.jpg]]
[[Image:Material editor.jpg]]


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


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


Line 22: Line 22:
* Via python:
* Via python:


==Scripting==
==Scripting== <!--T:16-->
</translate>
</translate>
{{Code|code=
{{Code|code=

Revision as of 19:26, 7 February 2019

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:

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.