set_patch_material¶
- opstool.pre.section.set_patch_material(geom, material=Material(name='default', elastic_modulus=1, poissons_ratio=0, yield_strength=1, density=1, color='w'))[source]¶
Assign material to a geom patch.
Parameters¶
- geom: geom obj | list[geom obj]
The geometry object.
- material: material obj | list[material obj]
The material object of
opstool.pre.section.create_material().