FEM MaterialEditor: Difference between revisions

From FreeCAD Documentation
(Created page with "<translate> The Material Editor allows you to edit and save the information contained in a FreeCAD material. Currently such materials are used by the FEM Module...")
 
(Marked this version for translation)
Line 1: Line 1:
<translate>
<translate>
<!--T:1-->
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.


<!--T:2-->
[[Image:Material editor.jpg]]
[[Image:Material editor.jpg]]


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


<!--T:4-->
* The '''Edit material''' button of the [[Arch SetMaterial|new material]] creation panel of the [[Arch Module|Arch Workbench]]
* The '''Edit material''' button of the [[Arch SetMaterial|new material]] creation panel of the [[Arch Module|Arch Workbench]]
* Via python:
* Via python:
Line 15: Line 19:
<translate>
<translate>


== Options ==
== Options == <!--T:5-->


<!--T:6-->
* '''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
Line 26: Line 31:
* '''Delete property''': Deletes a selected property. Only custom properties can be deleted
* '''Delete property''': Deletes a selected property. Only custom properties can be deleted


<!--T:7-->
Note:
Note:


<!--T:8-->
* 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.
* 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.
</translate>
</translate>

Revision as of 22:40, 6 February 2016

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

The material editor can currently be accessed by:

 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.