FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
m (Added {{Button}} templates)
m (Added {{Button}} templates)
Line 55: Line 55:
* '''Browser button''': Opens the contents of the URL property in a browser
* '''Browser button''': Opens the contents of the URL property in a browser
* '''Material card''': Allows to choose a preset to fill in the fields
* '''Material card''': Allows to choose a preset to fill in the fields
* '''Open''': Opens a .FCMat file
* {{Button|Open}}: Opens a .FCMat file
* '''Save as''': Saves the contents of the editor as a new .FCMat file
* {{Button|Save as}}: Saves the contents of the editor as a new .FCMat file
* '''Preview''': Not implemented yet
* '''Preview''': Not implemented yet
* '''Properties editor''': Allows to edit the contents of the material properties
* '''Properties editor''': Allows to edit the contents of the material properties
* '''Add property''': Allows to add a new custom property
* {{Button|Add property}}: Allows to add a new custom property
* '''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-->
<!--T:7-->

Revision as of 23:07, 4 February 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

Usage

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.