Skip to content

Overview of the Material object

The built-in Material object is designed to create objects of various materials.

Primary Capabilities of Material

Creates various materials for piece types of Piece engine components.

Methods of the Material object

Below is a list of the available methods provided by the Material object. Click on a method name to see its detailed description and examples.

Method Description
Material.empty() Creates an empty material.
Material.general() Creates a material for air environment.
Material.iron() Creates a material for iron.
Material.winding() Creates a material for winding.
Material.endturn() Creates a material for the ends of windings.
Material.conductor() Creates a material for a conductor.
Material.magnetParallel() Creates a material for a parallel magnetized magnet.
Material.magnetRadial() Creates a material for a radial magnetized magnet.
Material.custom() Creates a custom material with a specified color.

See also

Piece

Last update: 14 August 2025, 18:47