#
set_fixedendanchor
Set fixed-end anchor from vertex.
#
Parameters
- shapes : ShapeList
- List of shapes. ShapeType must be 'vertex'
- length : float
- Equivalent length
- angle : float
- Inclination angle in 2D in degrees
- direction : array
- Anchor direction in 3D
- material : str
- Material. None = connector
#
See also
#
Examples
model2d.add_rectangle([0,0],[5,5])
sel = model2d.select([5,5],types='vertex')
model2d.set_fixedendanchor(shapes=sel,length=3, angle=-30)
model3d.add_box([0,0,0],[1,1,3])
sel = model3d.select([1,1,3],types='vertex')
model3d.set_fixedendanchor(shapes=sel,length=3, direction=[0,0,1])