FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
m (Roy 043 moved page Material editor to FEM MaterialEditor without leaving a redirect: Part of translatable page "Material editor")
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 14: Line 14:
<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Material editor
|Name=FEM MaterialEditor
|MenuLocation=Model → Materials → Material editor
|Icon=Arch_Material_Group.svg
|MenuLocation=Model → Material → Material editor
|Workbenches=[[FEM_Workbench|FEM]], [[Arch_Workbench|Arch]]
|Workbenches=[[FEM_Workbench|FEM]], [[Arch_Workbench|Arch]]
|Version=0.18
|Version=0.18
|SeeAlso=[[Material|Material]], [[Arch_SetMaterial|Arch SetMaterial]], [[FEM_tutorial|FEM tutorial]]
|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_Workbench|FEM]]}} and {{KEY|[[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|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-->
Line 36: Line 35:


<!--T:4-->
<!--T:4-->
# [[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|Arch Workbench]]
# [[Image:Workbench_Arch.svg|24px]] [[Arch_Workbench|Arch Workbench]]:
#* The [[Image:Arch_SetMaterial.svg|16px]] [[Arch_SetMaterial|Set Material]] button of the [[Arch_SetMaterial|New material]] creation panel of the [[Arch_Workbench|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|24px]] [[FEM_Workbench|FEM Workbench]]
# [[Image:Workbench_FEM.svg|24px]] [[FEM_Workbench|FEM Workbench]]:
#* The [[Image:Arch_Material_Group.svg|16px]] [[Material_editor|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>




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.