Hello, I am still working on an export-/import-script. What I try to figure out at the momen is the following…
If I load an .obj-file into Blender it might happen that it includes some rotation (the files I am using have often an rotation around the x-axis of 90°). What I would like to do is now to remove the rotation, i.e. set it to 0 instead of an Euler-value of 1.571. If I simply adjust the value stored in objects.rotation_euler.x the value turns to 0 but also my object is rotated.
I would like to keep the object as it is imported (with the 90° rotation on the x-axis) but would like to set the value to 0… somehow chaning the “alignment”. Do not know how I can explain that better, sorry.
Any clues for what I should look?