Hi

I would like to draw a Generic trapezoid shape using the "general_trpd" geometry. I have already implemented the following code to create a trapezoid shape:

/gate/bunker/daughters/insert general_trpd

/gate/Box14/geometry/setX1Length 351 cm

/gate/Box14/geometry/setX2Length 351 cm

/gate/Box14/geometry/setX3Length 316 cm

/gate/Box14/geometry/setX4Length 316 cm

/gate/Box14/geometry/setY1Length 15 cm

/gate/Box14/geometry/setY2Length 15 cm

/gate/Box14/geometry/setZLength 50 cm

/gate/Box14/geometry/setTheta 0 deg

/gate/Box14/geometry/setPhi 0 deg

/gate/Box14/geometry/setAlp1 0 deg

/gate/Box14/geometry/setAlp2 0 deg

However, the resulting shape appears to be an isosceles trapezoid(see photo), and I would like to modify the angles theta, Phi, Alp1, or Alp2 to create a Generic trapezoid instead.

I am writing to inquire about the correct values or modifications I need to make to the angles in order to achieve a rectangular trapezoid shape. I would greatly appreciate your guidance and any additional instructions you can provide to help me achieve this.

Best regards,

More Asmae Saadi's questions See All
Similar questions and discussions