D3.1 Beam Curves
Calculate edge beam locations
The knit needs to be stretched along its reaction force direction. We can use the reaction forces we have calculated previously in the form-finding session to estimate the location of the beams.
Modify the reaction force direction for the vertices in the corners.
Scale the vertex length to acquire the an estimated location of points on the beam curve.
We can save these estimated points as vertex_attribute
.
Find estimated beam polyline
Now we can try to find a 2-d curve to generate our beam. First, we need to find the points along the boundary in sequence.
Visualization
Transform the polyline to world XY plane
Note that the estimated points are not located in a plane. We can find a best-fit plane from these points. Given a thickness of the beam, all points along the reaction force directions can be projected to the beam.
The best-fit plane can be found in COMPAS using a proxy.
Now we can transfer the polyline to world xy plane.
The points are not in world XY plane, which should be projected to world XY plane.
Then we can translate the polyline in xy plane back to the local frame.
Offset the boundary curve
We will offset the boundary curve outwards to generate the beam curve. Note that offset polyline follow the principle: Distance > 0: offset to the "left", distance < 0: offset to the "right".
Thus, we need to check the correct offset direction.
Last updated