Setting rebars hooks orientation for beams network

@c.poupin

From what I was able to understand, to get opposite hook orientations for top_rebar and btm_rebar, the directions of their respective curves, top_curve and btm_curve, must also be opposite. Additionally, the expected distribution layout should be inside the beam.

I can follow the logic based on the bar direction (e.g., the top_rebar runs toward +X and normal vector points toward -Y that mean XYZ(0,-1,0)) then the orientation of the start hook (i.e., End(0)) will be Right. However, I can’t figure out why the end hook (i.e., End(1)) is also set to Right. In your code, you forced both hook orientations to Right, and in the opposite case, both are set to Left.
Furthermore, in a similar case here, you set the hook orientation to Left/Right for the same rebar. Why the difference?

Thanks.

1 Like