set_plate

Set shape material as plate.

Parameters

shapes : Shape | ShapeList
Shapes to assign plate to.
material : Material
Plate material (RigidPlate, FlatPlateSteel, etc.).
roughness : float
Interface roughness (strength reduction factor) applied to both sides.
tension_cutoff : bool
Enable tension cutoff.
compression_cutoff : bool
Enable compression cutoff.
interface_material : Material | str
Interface material applied to both sides ('adjacent_solid', a material or None).
roughness_minus, roughness_plus : float
Per-side roughness overrides.
tension_cut_off_minus, tension_cut_off_plus : bool
Per-side tension cutoff overrides.
compression_cut_off_minus, compression_cut_off_plus : bool
Per-side compression cutoff overrides.
interface_material_minus, interface_material_plus : Material | str
Per-side interface material overrides.
strength_reduction_factor, strength_reduction_factor_minus, strength_reduction_factor_plus : float
Deprecated aliases for roughness, roughness_minus and roughness_plus.

Examples

sel = model.select([0.5,0.5], types='edge')
model.set_plate(shapes=sel, material=plate_mat)