rollers_on_openings
- compas_tno.utilities.rollers_on_openings(form, xy_span=[[0.0, 10.0], [0.0, 10.0]], max_f=5.0, constraint_directions='all')
Apply rollers to the rectangular boundaries of the pattern.
- Parameters:
- formFormDiagram
ForceDiagram to constraint.
- xy_span: list, optional
The rectangular footprint to smooth, by default [[0, 10], [0, 10]]
- max_ffloat, optional
The maximum force allowed in each roller, by default 5.0
- constraint_directionsstr
Define the restriction in
all
directions or onlyx``or only ``y
.
- Returns:
- formFormDiagram
ForceDiagram with the rollers assigned.