You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduced by: Generating root file of geometry of examples/DDCAD/compact/DD4hep_Issue_1134.xml using script from k4geo. Looking at the resulting geometry in a TBrowser yields:
where the Z axis goes through the two volumes. I now want to rotate around the Z axis, but doing so by setting z="4pi/8rad" in examples/DDCAD/compact/DD4hep_Issue_1134.xml rotates around another axis:
If I instead change the angle in x or y, this also never yields in a rotation around the z axis. On a first look I didn't find the source of this problem in DD4hep. Do you have an idea where the issue could come from?
Thank you and kind regards,
Armin
The text was updated successfully, but these errors were encountered:
@armin-ilg
I am afraid this is not as simple as that.
The CAD volume of the STL file is NOT positioned at the origin of its volume frame.
(Remove the transformation in the xml to see where it originally is).
In order to simply use a Z-rotation you will probably need to place the current setup into an assembly with
a coordinate frame in the true origin. Then you can rotate this "envelope-assembly" the way you want.
Just changing the Z rotation cannot really work. Also keep in mind you deal here with a ZYX rotation.
where the Z axis goes through the two volumes. I now want to rotate around the Z axis, but doing so by setting z="4pi/8rad" in
examples/DDCAD/compact/DD4hep_Issue_1134.xml rotates around another axis:
If I instead change the angle in x or y, this also never yields in a rotation around the z axis. On a first look I didn't find the source of this problem in DD4hep. Do you have an idea where the issue could come from?
Thank you and kind regards,
Armin
The text was updated successfully, but these errors were encountered: