set_plate

Set shape material as plate.

Parameters

shapes : Shape | ShapeList
Shapes to assign plate to.
material : Material
Plate material (RigidPlate, FlatPlateSteel, etc.).
strength_reduction_factor : float
Strength reduction factor.
tension_cutoff : bool
Enable tension cutoff.
compression_cutoff : bool
Enable compression cutoff.

Examples

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