functionZipperLocInitializer
Calculates the initial position and orientation angle of a free-floating beam
Information
A function to calculate the initial position and orientation angle of a free-floating beam. The beam is assumed to hang at the bottom intersection between two cloths. The function takes in the four points that would be used to define a "bent cloth" of the same configuration and uses the algorithm developed to calculate the positions of the outside bottom points of a hanging cloth (see cloth_bend documentation). These points are taken to be the end points of the beam. The orientation angles are calculated from these end points.
Copyright © 2018
ATA ENGINEERING, INC.
ALL RIGHTS RESERVED
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | P1 | ||
| Real | P2 | ||
| Real | P3 | ||
| Real | P4 | ||
| Integer | M | ||
| Integer | N | ||
| Real | start_angle | ||
| Real | P_ref | Center of arc in which P1, P2, etc. are defined | |
| Frames.Orientation | P_R | Absolute orientation of P_ref in space | |
| Boolean | debug | false |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | B |