diff --git a/app.py b/app.py index decc5da..0153886 100644 --- a/app.py +++ b/app.py @@ -86,6 +86,45 @@ VALUES = { "t5": {"len_a": 4300, "len_h": 6400, 'width': 400, 'height': 600, 'elevation': 150, 'stop_plate': False, 'side': 'right'}, + }, + "outer_limits_left": { + "t1": {"len_a": 0, "len_h": 18300, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': False, + 'side': 'left'}, + "t2": {"len_a": 1800, "len_h": 32000, 'width': 400, 'height': 600, 'elevation': 150, 'stop_plate': False, + 'side': 'right'}, + "t3": {"len_a": 3700, "len_h": 16500, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': True, + 'side': 'right'}, + "t4": {"len_a": 5600, "len_h": 32000, 'width': 400, 'height': 600, 'elevation': 150, 'stop_plate': False, + 'side': 'right'}, + "t5": {"len_a": 7400, "len_h": 18300, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': False, + 'side': 'right'}, + + }, + "outer_limits_center": { + "t1": {"len_a": 3700, "len_h": 18300, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': False, + 'side': 'left'}, + "t2": {"len_a": 1900, "len_h": 32000, 'width': 400, 'height': 600, 'elevation': 150, 'stop_plate': False, + 'side': 'left'}, + "t3": {"len_a": 0, "len_h": 16500, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': True, + 'side': 'left'}, + "t4": {"len_a": 1900, "len_h": 32000, 'width': 400, 'height': 600, 'elevation': 150, 'stop_plate': False, + 'side': 'right'}, + "t5": {"len_a": 3700, "len_h": 18300, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': False, + 'side': 'right'}, + + }, + "outer_limits_right": { + "t1": {"len_a": 7400, "len_h": 18300, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': False, + 'side': 'left'}, + "t2": {"len_a": 5600, "len_h": 32000, 'width': 400, 'height': 600, 'elevation': 150, 'stop_plate': False, + 'side': 'left'}, + "t3": {"len_a": 3700, "len_h": 16500, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': True, + 'side': 'left'}, + "t4": {"len_a": 1800, "len_h": 32000, 'width': 400, 'height': 600, 'elevation': 150, 'stop_plate': False, + 'side': 'left'}, + "t5": {"len_a": 0, "len_h": 18300, 'width': 300, 'height': 300, 'elevation': 0, 'stop_plate': False, + 'side': 'right'}, + }, "accelerator": { "t1": {"len_a": 3600, "len_h": 9100, 'width': 250, 'height': 250, 'elevation': 0, 'stop_plate': False, @@ -418,4 +457,4 @@ def calculate_distance_shootoff(desired_wall_length, size, target_count): return distance if __name__ == '__main__': - app.run(host='0.0.0.0') + app.run(debug=True, host='0.0.0.0') diff --git a/static/images/outer_center.webp b/static/images/outer_center.webp new file mode 100644 index 0000000..5a61997 Binary files /dev/null and b/static/images/outer_center.webp differ diff --git a/static/images/outer_left.webp b/static/images/outer_left.webp new file mode 100644 index 0000000..82bf143 Binary files /dev/null and b/static/images/outer_left.webp differ diff --git a/static/images/outer_right.webp b/static/images/outer_right.webp new file mode 100644 index 0000000..acc57a9 Binary files /dev/null and b/static/images/outer_right.webp differ diff --git a/templates/sc.html b/templates/sc.html index 017a0d6..c33436e 100644 --- a/templates/sc.html +++ b/templates/sc.html @@ -38,6 +38,27 @@ +