    

 ## On this page

  

 

 # create\_fabric

 Last update: 16.07.2026 

<a id="compolyx.MaterialData.create_fabric"></a>

## MaterialData.create\_fabric(name, id=None, material=None, thickness=0.0, area\_price=0.0, ignore\_for\_postprocessing=False, drop\_off\_material\_handling='Global', cut\_off\_material\_handling='Computed', drop\_off\_material=None, cut\_off\_material=None, draping\_material\_model='woven', draping\_ud\_coefficient=0.0)

Create a new fabric.

### Parameters

- name: Name for the fabric.
- material: Material of the fabric.
- thickness: Thickness of the fabric.
- area\_price: Area price of the fabric.
- ignore\_for\_postprocessing: Flag if this material is postprocessed.
- drop\_off\_material\_handling: Type defining how drop-off material is used in drop-off areas of the fabric.
- cut\_off\_material\_handling: Defines how cut‑off material is used in cut‑off areas of the fabric.
- drop\_off\_material: Material to use for ‘Custom’ drop-off material handling.
- cut\_off\_material: Material to use for ‘Custom’ cut-off material handling.
- draping\_material\_model: Material model for draping, either ‘woven’ or ‘unidirectional’.
- draping\_ud\_coefficient: Coefficient for the unidirectional draping material model.

### Returns

The created fabric.

### Examples

```pycon
>>> material_data = db.models['beam'].material_data
>>> fabric_1 = material_data.create_fabric(name='Fabric.1', material=material_data.materials['Material.1'], thickness=0.2)

```