bmad-sim / bmad-ecosystem

Bmad simulation ecosystem for simulating high energy storage rings.
https://www.classe.cornell.edu/bmad/
12 stars 15 forks source link

Tao floor plan scaling doesn't honor shape widths #816

Closed ChristopherMayes closed 8 months ago

ChristopherMayes commented 9 months ago

Often a user issues scale when the floor plan is in the plot. For example, in bmad-doc/tao_examples/cbeta_cell, upon init:

image

Tao> scale:

image

Could we make it so that this honors the ele shapes, or have some other method that doesn't distort?

DavidSagan commented 9 months ago

@ChristopherMayes Does floor_plan%size_is_absolute do what you want?

ChristopherMayes commented 9 months ago

That makes it worse:

image
DavidSagan commented 9 months ago

@ChristopherMayes You need to adjust the width numbers to correspond to the absolute scale.

DavidSagan commented 8 months ago

Assuming this is solved I am closing.