set_support

Set support conditions to shapes.

Parameters

shapes : Shape | ShapeList
Shapes. Must be 'edge' in 2D and 'face' in 3D.
type : str
Support type. type = 'normal', 'tangential', 'full'.
is_local : bool
If True, displacement directions are in local face coordinates.

Examples

sel = model.select([0,1], types='edge')
model.set_support(sel, type='full')