transsimision_line_section/main.py

28 lines
859 B
Python
Raw Normal View History

2022-07-25 18:21:55 +08:00
from PWFile import ControlFile
2022-07-24 17:18:57 +08:00
def main1():
# continousePlate = ContinuousPlate(
# r"d:\工程\金上线\排位\定位完排位\PW.0706\J33-J49\033A.dwg",
# r"d:\工程\金上线\排位\定位完排位\PW.0706\J33-J49\S033.DAT",
# "N3339",
# 7,
# )
# continousePlate.draw(r"d:\工程\金上线\code\考虑耐张串重弧垂\T033A.dwg")
string_impact_plate = StringImpactPlate(
2022-07-24 17:18:57 +08:00
r"d:\工程\金上线\排位\定位完排位\PW.0706\J33-J49\033A.dwg",
r"d:\工程\金上线\排位\定位完排位\PW.0706\J33-J49\S033.DAT",
"N3339",
"",
"",
2022-07-24 17:18:57 +08:00
)
string_impact_plate.draw()
2022-07-24 17:18:57 +08:00
2022-07-25 18:21:55 +08:00
def main():
cf=ControlFile(r'd:\工程\金上线\排位\定位完排位\PW.0706\J49-158\Z156控制文件.xlsx')
cf.draw()
2022-07-24 17:18:57 +08:00
if __name__ == "__main__":
main()
print("Finished.")