Mirrored elements in save_lattice

Moderators: michael_borland, soliday

Post Reply
michael_abo-bakr
Posts: 4
Joined: 29 Oct 2013, 11:46

Mirrored elements in save_lattice

Post by michael_abo-bakr » 09 Apr 2026, 04:57

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

Post Reply