DyLab_3D_MOT/untitled0.py

37 lines
576 B
Python
Raw Normal View History

2021-10-01 14:37:07 +02:00
# -*- coding: utf-8 -*-
"""
Created on Fri Oct 1 10:42:13 2021
@author: Joschka
"""
2021-10-08 11:18:12 +02:00
import numpy as np
2021-10-01 14:37:07 +02:00
2021-10-26 14:33:07 +02:00
2021-11-04 19:23:34 +01:00
def main():
wire_width = 0.568
2021-11-09 10:00:44 +01:00
ins = 0.068
print(2*wire_width)
2021-11-04 19:23:34 +01:00
r_in = 45.92 + wire_width/2
2021-11-09 10:00:44 +01:00
print(2*45.92)
print(r_in*3)
2021-11-04 19:23:34 +01:00
d_in = r_in * 2
2021-11-09 10:00:44 +01:00
for ll in range(0,8):
r = r_in + ll * wire_width
d = 2 * r
print(f"layer {ll+1}: d = {d} mm")
print(d + wire_width/2)
print(8.5*wire_width)
res = 0.568/2
2021-11-04 19:23:34 +01:00
print(res)
2021-11-09 10:00:44 +01:00
print(np.pi * 2 *47.9)
res = [322.7,367.2]
2021-11-04 19:23:34 +01:00
if __name__ == '__main__':
main()