Page 1 of 1

Mirrored elements in save_lattice

Posted: 09 Apr 2026, 04:57
by michael_abo-bakr
Hello,

while using save_lattice I realized that "mirroring" of elements seems to get lost.

To use lattice symmetry I split a bend in two halfs instead of one single element:

B:CSBEND, L="LBEND", Angle="ABEND", E1="ABEND 2 /", E2="ABEND 2 /"
-->
BH:CSBEND, L="LBEND 2 /", Angle="ABEND / 2", E1="ABEND 2 /", E2="0"
B:Line(BH,-BH)

In the saved lattice the minus is disappeared and B is BH,BH instead of BH,-BH. This matters of course only for (the few) "asymmetric" elements. But split bends with unequal edges are used quite often and the user should be aware that asymmetric elements are not mirrored in saved lattice.

Hope not to repeatedly report this observation ...

Best regards, Michael