FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 17: Line 17:
|MenuLocation=Model → Material → Material editor
|MenuLocation=Model → Material → Material editor
|Workbenches=[[Fem_Workbench|FEM]], [[Arch_Module|Arch]]
|Workbenches=[[Fem_Workbench|FEM]], [[Arch_Module|Arch]]
|SeeAlso=[[Material|Material]], [[Arch_SetMaterial|Arch SetMaterial]], [[FEM_tutorial|FEM tutorial]]
|Shortcut=
|Shortcut=
|Version=0.18
|Version=0.18
|SeeAlso=[[Material|Material]], [[Arch_SetMaterial|Arch SetMaterial]], [[FEM_tutorial|FEM tutorial]]
}}
}}


Line 25: Line 25:


<!--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 {{KEY|[[Image:Workbench_FEM.svg|24px]] [[FEM_Module|FEM]]}} and {{KEY|[[Image:Workbench_Arch.svg|24px]] [[Arch_Module|Arch]]}} workbenches.


<!--T:2-->
<!--T:2-->
Line 36: Line 36:


<!--T:4-->
<!--T:4-->
# [[Image:Workbench_Arch.svg|32px]] [[Arch Module|Arch Workbench]]
# [[Image:Workbench_Arch.svg|32px]] [[Arch_Module|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 [[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 menu {{MenuCommand|Arch → Set material...}} entry
#* The menu {{MenuCommand|Arch → Set material...}} entry
# [[Image:Workbench_FEM.svg|32px]] [[FEM Module|FEM Workbench]]
# [[Image:Workbench_FEM.svg|32px]] [[FEM_Module|FEM Workbench]]
#* The [[Image:Arch Material Group.svg|32px]] [[Material editor]] icon
#* The [[Image:Arch Material Group.svg|32px]] [[Material_editor\Material editor]] icon
#* The menu {{MenuCommand|Models → Material → Material editor}} entry
#* The menu {{MenuCommand|Models → Material → Material editor}} entry
# Via python (see [[#Scripting|Scripting]] section below)
# Via python (see [[#Scripting|Scripting]] section below)

Revision as of 20:40, 7 December 2020

Material editor

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

File:Material editor.jpg

Usage

The material editor can currently be accessed by either:

  1. Arch Workbench
  2. FEM Workbench
  3. Via python (see Scripting section below)

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.

Scripting

import MaterialEditor
MaterialEditor.openEditor()