FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Removed the Python option. Removed the Scripting paragraph: not very useful code.)
Line 41: Line 41:
#* The [[Image:Arch_Material_Group.svg|16px]] [[Material_editor|Material editor]] icon
#* The [[Image:Arch_Material_Group.svg|16px]] [[Material_editor|Material editor]] icon
#* The menu {{MenuCommand|Model → Materials → Material editor}} entry
#* The menu {{MenuCommand|Model → Materials → Material editor}} entry
# Via python (see [[#Scripting|Scripting]] section below)


== Options == <!--T:5-->
== Options == <!--T:5-->
Line 60: Line 59:
<!--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>




Line 82: Line 73:
</translate>
</translate>
{{FEM Tools navi{{#translation:}}}}
{{FEM Tools navi{{#translation:}}}}
{{Arch Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 10:05, 13 June 2022

FEM MaterialEditor

Menu location
Model → Materials → 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.

Usage

The material editor can currently be accessed by either:

  1. Arch Workbench
  2. FEM Workbench
    • The Material editor icon
    • 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

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.