set_solid

Set shape material as solid.

Parameters

shapes : Shape | ShapeList
Shapes to assign material to.
material : Material
Solid material (MohrCoulomb, Tresca, Rigid, etc.).

Examples

sel = model.select([1,1], types='face')
model.set_solid(shapes=sel, material=soil)