Closed merakulix closed 10 months ago
As a consequence the x and z coordinates of wing guide curve points are wrong if the wing coordinate system is rotated.
In the following line, the global x-direction is used:
https://github.com/DLR-SC/tigl/blob/bd9dca3dac00a41a6e4d6721dc9659053a43b6b4/src/wing/CTiglWingSegmentGuidecurveBuilder.cpp#L102
Here we should apply the wing transformation.
To reproduce: Open simple_test_guide_curves.xml and rotate the wing. This changes the shape of the wing:
Before rotation of the wing:
After rotation of the wing:
As a consequence the x and z coordinates of wing guide curve points are wrong if the wing coordinate system is rotated.
In the following line, the global x-direction is used:
https://github.com/DLR-SC/tigl/blob/bd9dca3dac00a41a6e4d6721dc9659053a43b6b4/src/wing/CTiglWingSegmentGuidecurveBuilder.cpp#L102
Here we should apply the wing transformation.
To reproduce: Open simple_test_guide_curves.xml and rotate the wing. This changes the shape of the wing:
Before rotation of the wing:
After rotation of the wing: