Finally found a workaround
Fixes :
- the vertices order of the
QUADS
was incorrect - the computation of the pivot height was missing
- the translation based on that height needs to be operated before and after the rotation (not sure to understand the reason)
- the rotation angle has to be multiplied by -1 (negative angle) in order to change the bending side