You can access the built-in material library by clicking “Material Library” in the “Manage” menu.
There are two main types of elements:
GetMaterialID
command to retrieve the material ID.GetLayers
command to access material ID and thickness for each layer.The built-in material library was created using publicly available online sources. Material properties are approximate.
Always verify properties with trusted references and ensure they’re valid for the pressure and temperature ranges in your application.
You can view the list of properties for a material using:
🔹 MaterialListProperties
You can define custom materials using Lua scripts. Here’s how:
MaterialAddtoCollection(tag, id)
tag
is a user-defined identifier for the new materialid
refers to the source material in the libraryMaterialSetProperty(tag, property, value)
To read properties:
MaterialGetProperty(tagOrId, property)
Some properties are fixed (e.g., Temperature, Pressure, Melting Point), while others are temperature-dependent, such as:
For temperature-dependent properties, the software interpolates the value based on the current material temperature.
⚠️ If the temperature is outside the defined range, it returns the value at the closest available temperature.
You can modify fixed properties with MaterialSetProperty
.
Some properties are derived and cannot be directly modified:
Properties of the following materials are calculated using built-in formulas:
If you create custom materials based on these, you cannot override their properties.
To customize them, create a new material from scratch and calculate its properties manually within your desired pressure/temperature range using Lua scripts.