ANYstructure 5.3.2__tar.gz → 6.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. {anystructure-5.3.2 → anystructure-6.0.0}/ANYstructure.egg-info/PKG-INFO +26 -3
  2. anystructure-6.0.0/ANYstructure.egg-info/SOURCES.txt +135 -0
  3. anystructure-6.0.0/ANYstructure.egg-info/requires.txt +33 -0
  4. anystructure-6.0.0/MANIFEST.in +69 -0
  5. {anystructure-5.3.2 → anystructure-6.0.0}/PKG-INFO +26 -3
  6. anystructure-6.0.0/README.md +79 -0
  7. anystructure-6.0.0/anystruct/ANYstructure_documentation.pdf +0 -0
  8. anystructure-6.0.0/anystruct/__main__.py +36 -0
  9. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/api.py +83 -62
  10. anystructure-6.0.0/anystruct/api_helpers.py +120 -0
  11. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/calc_structure.py +8 -8
  12. anystructure-6.0.0/anystruct/calculate_semianalytical.py +4200 -0
  13. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/example_data.py +7 -4
  14. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/fatigue_window.py +9 -6
  15. anystructure-6.0.0/anystruct/gui.py +5 -0
  16. anystructure-6.0.0/anystruct/line_structure.py +96 -0
  17. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/main_application.py +2498 -1966
  18. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_1_SP.pickle +0 -0
  19. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_1_UP.pickle +0 -0
  20. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_2,_3_SP.pickle +0 -0
  21. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_2,_3_UP.pickle +0 -0
  22. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_1_SP.pickle +0 -0
  23. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_1_UP.pickle +0 -0
  24. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_2,_3_SP.pickle +0 -0
  25. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_2,_3_UP.pickle +0 -0
  26. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_1_SP.pickle +0 -0
  27. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_1_UP.pickle +0 -0
  28. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_2,_3_SP.pickle +0 -0
  29. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_2,_3_UP.pickle +0 -0
  30. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_1_SP.pickle +0 -0
  31. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_1_UP.pickle +0 -0
  32. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_2,_3_SP.pickle +0 -0
  33. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_2,_3_UP.pickle +0 -0
  34. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_1_SP.pickle +0 -0
  35. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_1_UP.pickle +0 -0
  36. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_2,_3_SP.pickle +0 -0
  37. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_2,_3_UP.pickle +0 -0
  38. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_1_SP.pickle +0 -0
  39. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_1_UP.pickle +0 -0
  40. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_2,_3_SP.pickle +0 -0
  41. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_2,_3_UP.pickle +0 -0
  42. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_1_SP.pickle +0 -0
  43. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_1_UP.pickle +0 -0
  44. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_2,_3_SP.pickle +0 -0
  45. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_2,_3_UP.pickle +0 -0
  46. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_1_SP.pickle +0 -0
  47. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_1_UP.pickle +0 -0
  48. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_2,_3_SP.pickle +0 -0
  49. anystructure-6.0.0/anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_2,_3_UP.pickle +0 -0
  50. anystructure-6.0.0/anystruct/ml_models.py +236 -0
  51. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/optimize.py +913 -517
  52. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/optimize_cylinder.py +123 -40
  53. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/optimize_geometry.py +535 -306
  54. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/optimize_multiple_window.py +759 -440
  55. anystructure-6.0.0/anystruct/optimize_window.py +1235 -0
  56. anystructure-6.0.0/anystruct/project_application.py +619 -0
  57. anystructure-6.0.0/anystruct/project_io.py +99 -0
  58. anystructure-6.0.0/anystruct/project_services.py +1220 -0
  59. anystructure-6.0.0/anystruct/project_state.py +92 -0
  60. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/report_generator.py +287 -221
  61. anystructure-6.0.0/pyproject.toml +8 -0
  62. {anystructure-5.3.2 → anystructure-6.0.0}/setup.py +15 -3
  63. anystructure-6.0.0/tests/test_api.py +114 -0
  64. anystructure-6.0.0/tests/test_api_helper_wiring.py +50 -0
  65. anystructure-6.0.0/tests/test_api_helpers.py +96 -0
  66. {anystructure-5.3.2 → anystructure-6.0.0}/tests/test_calc_loads_loads.py +6 -1
  67. anystructure-6.0.0/tests/test_calc_structure_scantlings.py +45 -0
  68. anystructure-6.0.0/tests/test_calc_structure_structure.py +77 -0
  69. {anystructure-5.3.2 → anystructure-6.0.0}/tests/test_calc_strucure_fatigue.py +14 -8
  70. anystructure-6.0.0/tests/test_external_puls_removal_wiring.py +77 -0
  71. anystructure-6.0.0/tests/test_gui_automatic_run_wiring.py +54 -0
  72. anystructure-6.0.0/tests/test_import_boundaries.py +41 -0
  73. anystructure-6.0.0/tests/test_line_structure.py +38 -0
  74. anystructure-6.0.0/tests/test_line_structure_wiring.py +50 -0
  75. anystructure-6.0.0/tests/test_main_application_helper_wiring.py +311 -0
  76. anystructure-6.0.0/tests/test_ml_models.py +54 -0
  77. anystructure-6.0.0/tests/test_optimize.py +90 -0
  78. anystructure-6.0.0/tests/test_optimize_geometry_wiring.py +74 -0
  79. anystructure-6.0.0/tests/test_optimize_multiple_wiring.py +50 -0
  80. anystructure-6.0.0/tests/test_project_services.py +987 -0
  81. anystructure-6.0.0/tests/test_project_state.py +323 -0
  82. anystructure-6.0.0/tests/test_supported_exports.py +72 -0
  83. anystructure-5.3.2/ANYstructure.egg-info/SOURCES.txt +0 -115
  84. anystructure-5.3.2/ANYstructure.egg-info/requires.txt +0 -6
  85. anystructure-5.3.2/MANIFEST.in +0 -69
  86. anystructure-5.3.2/README.md +0 -86
  87. anystructure-5.3.2/anystruct/ANYstructure_documentation.pdf +0 -0
  88. anystructure-5.3.2/anystruct/__main__.py +0 -24
  89. anystructure-5.3.2/anystruct/gui.py +0 -24
  90. anystructure-5.3.2/anystruct/ml_files/CL_CSR-Tank_req_cl_predictor.pickle +0 -0
  91. anystructure-5.3.2/anystruct/ml_files/CL_CSR-Tank_req_cl_scaler.pickle +0 -0
  92. anystructure-5.3.2/anystruct/ml_files/CL_CSR_plate_cl,_CSR_web_cl,_CSR_web_flange_cl,_CSR_flange_cl_predictor.pickle +0 -0
  93. anystructure-5.3.2/anystruct/ml_files/CL_CSR_plate_cl,_CSR_web_cl,_CSR_web_flange_cl,_CSR_flange_cl_scaler.pickle +0 -0
  94. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_110_predictor_In-plane_support_cl_1_SP.pickle +0 -0
  95. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_110_predictor_In-plane_support_cl_1_UP.pickle +0 -0
  96. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_110_predictor_In-plane_support_cl_2,_3_SP.pickle +0 -0
  97. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_110_predictor_In-plane_support_cl_2,_3_UP.pickle +0 -0
  98. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_110_scaler_In-plane_support_cl_1_SP.pickle +0 -0
  99. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_110_scaler_In-plane_support_cl_1_UP.pickle +0 -0
  100. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_110_scaler_In-plane_support_cl_2,_3_SP.pickle +0 -0
  101. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_110_scaler_In-plane_support_cl_2,_3_UP.pickle +0 -0
  102. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_115_predictor_In-plane_support_cl_1_SP.pickle +0 -0
  103. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_115_predictor_In-plane_support_cl_1_UP.pickle +0 -0
  104. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_115_predictor_In-plane_support_cl_2,_3_SP.pickle +0 -0
  105. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_115_predictor_In-plane_support_cl_2,_3_UP.pickle +0 -0
  106. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_115_scaler_In-plane_support_cl_1_SP.pickle +0 -0
  107. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_115_scaler_In-plane_support_cl_1_UP.pickle +0 -0
  108. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_115_scaler_In-plane_support_cl_2,_3_SP.pickle +0 -0
  109. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_buc_115_scaler_In-plane_support_cl_2,_3_UP.pickle +0 -0
  110. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_110_predictor_In-plane_support_cl_1_SP.pickle +0 -0
  111. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_110_predictor_In-plane_support_cl_1_UP.pickle +0 -0
  112. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_110_predictor_In-plane_support_cl_2,_3_SP.pickle +0 -0
  113. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_110_predictor_In-plane_support_cl_2,_3_UP.pickle +0 -0
  114. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_110_scaler_In-plane_support_cl_1_SP.pickle +0 -0
  115. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_110_scaler_In-plane_support_cl_1_UP.pickle +0 -0
  116. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_110_scaler_In-plane_support_cl_2,_3_SP.pickle +0 -0
  117. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_110_scaler_In-plane_support_cl_2,_3_UP.pickle +0 -0
  118. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_115_predictor_In-plane_support_cl_1_SP.pickle +0 -0
  119. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_115_predictor_In-plane_support_cl_1_UP.pickle +0 -0
  120. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_115_predictor_In-plane_support_cl_2,_3_SP.pickle +0 -0
  121. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_115_predictor_In-plane_support_cl_2,_3_UP.pickle +0 -0
  122. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_115_scaler_In-plane_support_cl_1_SP.pickle +0 -0
  123. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_115_scaler_In-plane_support_cl_1_UP.pickle +0 -0
  124. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_115_scaler_In-plane_support_cl_2,_3_SP.pickle +0 -0
  125. anystructure-5.3.2/anystruct/ml_files/CL_output_cl_str_ult_115_scaler_In-plane_support_cl_2,_3_UP.pickle +0 -0
  126. anystructure-5.3.2/anystruct/optimize_window.py +0 -1117
  127. anystructure-5.3.2/tests/test_calc_structure_scantlings.py +0 -58
  128. anystructure-5.3.2/tests/test_calc_structure_structure.py +0 -113
  129. anystructure-5.3.2/tests/test_optimize.py +0 -47
  130. {anystructure-5.3.2 → anystructure-6.0.0}/ANYstructure.egg-info/dependency_links.txt +0 -0
  131. {anystructure-5.3.2 → anystructure-6.0.0}/ANYstructure.egg-info/entry_points.txt +0 -0
  132. {anystructure-5.3.2 → anystructure-6.0.0}/ANYstructure.egg-info/top_level.txt +0 -0
  133. {anystructure-5.3.2 → anystructure-6.0.0}/LICENSE +0 -0
  134. {anystructure-5.3.2 → anystructure-6.0.0}/README.rst +0 -0
  135. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/SN_curve_parameters.py +0 -0
  136. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/__init__.py +0 -0
  137. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/buckling_calc_external.py +0 -0
  138. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/bulb_anglebar_tbar_flatbar.csv +0 -0
  139. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/calc_loads.py +0 -0
  140. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/compartment_window.py +0 -0
  141. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/example_data_puls.py +0 -0
  142. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/excel_inteface.py +0 -0
  143. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/grid_window.py +0 -0
  144. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/helper.py +0 -0
  145. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/ANYstructure_logo.jpg +0 -0
  146. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/Buckling_Strength_of_Shells.png +0 -0
  147. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/Panel_geometry_definitions.png +0 -0
  148. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/current_comps_NONE.png +0 -0
  149. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/cylinder_opt.png +0 -0
  150. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/fls_button.gif +0 -0
  151. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_T_L_FB.gif +0 -0
  152. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_axial_stresses.gif +0 -0
  153. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_ext_pressure_button.gif +0 -0
  154. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_ext_pressure_button_def.gif +0 -0
  155. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_fixation_parameters.gif +0 -0
  156. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_generate_report.gif +0 -0
  157. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_int_pressure_button.gif +0 -0
  158. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_int_pressure_button_search.gif +0 -0
  159. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_multi_opt.gif +0 -0
  160. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_optimize.gif +0 -0
  161. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_plate_and_stiffener.gif +0 -0
  162. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_stf_button.gif +0 -0
  163. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_stiffener.gif +0 -0
  164. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_stress_button.gif +0 -0
  165. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_title.gif +0 -0
  166. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/images/img_transverse_stress.gif +0 -0
  167. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/load_factor_window.py +0 -0
  168. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/load_window.py +0 -0
  169. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/make_grid_numpy.py +0 -0
  170. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/make_queue.py +0 -0
  171. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/make_stack.py +0 -0
  172. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/opt_problem.py +0 -0
  173. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/pl_stf_window.py +0 -0
  174. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/sections.csv +0 -0
  175. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/sesam_interface.py +0 -0
  176. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/ship_section_example.txt +0 -0
  177. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/stresses_window.py +0 -0
  178. {anystructure-5.3.2 → anystructure-6.0.0}/anystruct/testCalc.py +0 -0
  179. {anystructure-5.3.2 → anystructure-6.0.0}/setup.cfg +0 -0
  180. {anystructure-5.3.2 → anystructure-6.0.0}/tests/test_calc_loads_tank.py +0 -0
  181. {anystructure-5.3.2 → anystructure-6.0.0}/tests/test_grid_operations.py +0 -0
  182. {anystructure-5.3.2 → anystructure-6.0.0}/tests/test_helper_stress_force_conversion.py +0 -0
  183. {anystructure-5.3.2 → anystructure-6.0.0}/tests/test_make_grid.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ANYstructure
3
- Version: 5.3.2
3
+ Version: 6.0.0
4
4
  Summary: A plate field optimization tool for offshore structures calculated according to DNV standards
5
5
  Home-page: https://github.com/audunarn/ANYstructure
6
6
  Author: Audun Arnesen Nyhus
@@ -13,12 +13,34 @@ Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Programming Language :: Python :: 3.13
14
14
  Classifier: Topic :: Scientific/Engineering
15
15
  License-File: LICENSE
16
- Requires-Dist: scipy
17
- Requires-Dist: numpy
18
16
  Requires-Dist: matplotlib
17
+ Requires-Dist: numpy
18
+ Requires-Dist: Pillow
19
19
  Requires-Dist: reportlab
20
+ Requires-Dist: scipy
20
21
  Requires-Dist: xlwings
21
22
  Requires-Dist: scikit-learn
23
+ Provides-Extra: core
24
+ Requires-Dist: matplotlib; extra == "core"
25
+ Requires-Dist: numpy; extra == "core"
26
+ Requires-Dist: Pillow; extra == "core"
27
+ Requires-Dist: reportlab; extra == "core"
28
+ Requires-Dist: scipy; extra == "core"
29
+ Provides-Extra: excel
30
+ Requires-Dist: xlwings; extra == "excel"
31
+ Provides-Extra: ml
32
+ Requires-Dist: scikit-learn; extra == "ml"
33
+ Provides-Extra: dev
34
+ Requires-Dist: build; extra == "dev"
35
+ Requires-Dist: pytest; extra == "dev"
36
+ Provides-Extra: all
37
+ Requires-Dist: matplotlib; extra == "all"
38
+ Requires-Dist: numpy; extra == "all"
39
+ Requires-Dist: Pillow; extra == "all"
40
+ Requires-Dist: reportlab; extra == "all"
41
+ Requires-Dist: scipy; extra == "all"
42
+ Requires-Dist: xlwings; extra == "all"
43
+ Requires-Dist: scikit-learn; extra == "all"
22
44
  Dynamic: author
23
45
  Dynamic: author-email
24
46
  Dynamic: classifier
@@ -27,6 +49,7 @@ Dynamic: home-page
27
49
  Dynamic: keywords
28
50
  Dynamic: license
29
51
  Dynamic: license-file
52
+ Dynamic: provides-extra
30
53
  Dynamic: requires-dist
31
54
  Dynamic: summary
32
55
 
@@ -0,0 +1,135 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ README.rst
5
+ pyproject.toml
6
+ setup.cfg
7
+ setup.py
8
+ ANYstructure.egg-info/PKG-INFO
9
+ ANYstructure.egg-info/SOURCES.txt
10
+ ANYstructure.egg-info/dependency_links.txt
11
+ ANYstructure.egg-info/entry_points.txt
12
+ ANYstructure.egg-info/requires.txt
13
+ ANYstructure.egg-info/top_level.txt
14
+ anystruct/ANYstructure_documentation.pdf
15
+ anystruct/SN_curve_parameters.py
16
+ anystruct/__init__.py
17
+ anystruct/__main__.py
18
+ anystruct/api.py
19
+ anystruct/api_helpers.py
20
+ anystruct/buckling_calc_external.py
21
+ anystruct/bulb_anglebar_tbar_flatbar.csv
22
+ anystruct/calc_loads.py
23
+ anystruct/calc_structure.py
24
+ anystruct/calculate_semianalytical.py
25
+ anystruct/compartment_window.py
26
+ anystruct/example_data.py
27
+ anystruct/example_data_puls.py
28
+ anystruct/excel_inteface.py
29
+ anystruct/fatigue_window.py
30
+ anystruct/grid_window.py
31
+ anystruct/gui.py
32
+ anystruct/helper.py
33
+ anystruct/line_structure.py
34
+ anystruct/load_factor_window.py
35
+ anystruct/load_window.py
36
+ anystruct/main_application.py
37
+ anystruct/make_grid_numpy.py
38
+ anystruct/make_queue.py
39
+ anystruct/make_stack.py
40
+ anystruct/ml_models.py
41
+ anystruct/opt_problem.py
42
+ anystruct/optimize.py
43
+ anystruct/optimize_cylinder.py
44
+ anystruct/optimize_geometry.py
45
+ anystruct/optimize_multiple_window.py
46
+ anystruct/optimize_window.py
47
+ anystruct/pl_stf_window.py
48
+ anystruct/project_application.py
49
+ anystruct/project_io.py
50
+ anystruct/project_services.py
51
+ anystruct/project_state.py
52
+ anystruct/report_generator.py
53
+ anystruct/sections.csv
54
+ anystruct/sesam_interface.py
55
+ anystruct/ship_section_example.txt
56
+ anystruct/stresses_window.py
57
+ anystruct/testCalc.py
58
+ anystruct/images/ANYstructure_logo.jpg
59
+ anystruct/images/Buckling_Strength_of_Shells.png
60
+ anystruct/images/Panel_geometry_definitions.png
61
+ anystruct/images/current_comps_NONE.png
62
+ anystruct/images/cylinder_opt.png
63
+ anystruct/images/fls_button.gif
64
+ anystruct/images/img_T_L_FB.gif
65
+ anystruct/images/img_axial_stresses.gif
66
+ anystruct/images/img_ext_pressure_button.gif
67
+ anystruct/images/img_ext_pressure_button_def.gif
68
+ anystruct/images/img_fixation_parameters.gif
69
+ anystruct/images/img_generate_report.gif
70
+ anystruct/images/img_int_pressure_button.gif
71
+ anystruct/images/img_int_pressure_button_search.gif
72
+ anystruct/images/img_multi_opt.gif
73
+ anystruct/images/img_optimize.gif
74
+ anystruct/images/img_plate_and_stiffener.gif
75
+ anystruct/images/img_stf_button.gif
76
+ anystruct/images/img_stiffener.gif
77
+ anystruct/images/img_stress_button.gif
78
+ anystruct/images/img_title.gif
79
+ anystruct/images/img_transverse_stress.gif
80
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_1_SP.pickle
81
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_1_UP.pickle
82
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_2,_3_SP.pickle
83
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_2,_3_UP.pickle
84
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_1_SP.pickle
85
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_1_UP.pickle
86
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_2,_3_SP.pickle
87
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_2,_3_UP.pickle
88
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_1_SP.pickle
89
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_1_UP.pickle
90
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_2,_3_SP.pickle
91
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_2,_3_UP.pickle
92
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_1_SP.pickle
93
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_1_UP.pickle
94
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_2,_3_SP.pickle
95
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_2,_3_UP.pickle
96
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_1_SP.pickle
97
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_1_UP.pickle
98
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_2,_3_SP.pickle
99
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_2,_3_UP.pickle
100
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_1_SP.pickle
101
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_1_UP.pickle
102
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_2,_3_SP.pickle
103
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_2,_3_UP.pickle
104
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_1_SP.pickle
105
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_1_UP.pickle
106
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_2,_3_SP.pickle
107
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_2,_3_UP.pickle
108
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_1_SP.pickle
109
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_1_UP.pickle
110
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_2,_3_SP.pickle
111
+ anystruct/ml_files/CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_2,_3_UP.pickle
112
+ tests/test_api.py
113
+ tests/test_api_helper_wiring.py
114
+ tests/test_api_helpers.py
115
+ tests/test_calc_loads_loads.py
116
+ tests/test_calc_loads_tank.py
117
+ tests/test_calc_structure_scantlings.py
118
+ tests/test_calc_structure_structure.py
119
+ tests/test_calc_strucure_fatigue.py
120
+ tests/test_external_puls_removal_wiring.py
121
+ tests/test_grid_operations.py
122
+ tests/test_gui_automatic_run_wiring.py
123
+ tests/test_helper_stress_force_conversion.py
124
+ tests/test_import_boundaries.py
125
+ tests/test_line_structure.py
126
+ tests/test_line_structure_wiring.py
127
+ tests/test_main_application_helper_wiring.py
128
+ tests/test_make_grid.py
129
+ tests/test_ml_models.py
130
+ tests/test_optimize.py
131
+ tests/test_optimize_geometry_wiring.py
132
+ tests/test_optimize_multiple_wiring.py
133
+ tests/test_project_services.py
134
+ tests/test_project_state.py
135
+ tests/test_supported_exports.py
@@ -0,0 +1,33 @@
1
+ matplotlib
2
+ numpy
3
+ Pillow
4
+ reportlab
5
+ scipy
6
+ xlwings
7
+ scikit-learn
8
+
9
+ [all]
10
+ matplotlib
11
+ numpy
12
+ Pillow
13
+ reportlab
14
+ scipy
15
+ xlwings
16
+ scikit-learn
17
+
18
+ [core]
19
+ matplotlib
20
+ numpy
21
+ Pillow
22
+ reportlab
23
+ scipy
24
+
25
+ [dev]
26
+ build
27
+ pytest
28
+
29
+ [excel]
30
+ xlwings
31
+
32
+ [ml]
33
+ scikit-learn
@@ -0,0 +1,69 @@
1
+ include LICENSE
2
+ include README.md
3
+ include README.rst
4
+ include anystruct\images\fls_button.gif
5
+ include anystruct\images\img_axial_stresses.gif
6
+ include anystruct\images\img_ext_pressure_button.gif
7
+ include anystruct\images\img_ext_pressure_button_def.gif
8
+ include anystruct\images\img_fixation_parameters.gif
9
+ include anystruct\images\img_generate_report.gif
10
+ include anystruct\images\img_int_pressure_button.gif
11
+ include anystruct\images\img_int_pressure_button_search.gif
12
+ include anystruct\images\img_multi_opt.gif
13
+ include anystruct\images\img_optimize.gif
14
+ include anystruct\images\img_plate_and_stiffener.gif
15
+ include anystruct\images\img_stf_button.gif
16
+ include anystruct\images\img_stiffener.gif
17
+ include anystruct\images\img_stress_button.gif
18
+ include anystruct\images\img_T_L_FB.gif
19
+ include anystruct\images\img_title.gif
20
+ include anystruct\images\img_transverse_stress.gif
21
+ include anystruct\images\cylinder_opt.png
22
+ include anystruct\images\ANYstructure_logo.jpg
23
+ include anystruct\images\current_comps_NONE.png
24
+ include anystruct\images\Buckling_Strength_of_Shells.png
25
+ include anystruct\images\Panel_geometry_definitions.png
26
+ include anystruct\ship_section_example.txt
27
+ include anystruct\ANYstructure_documentation.pdf
28
+ include anystruct\sections.csv
29
+ include anystruct\bulb_anglebar_tbar_flatbar.csv
30
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_1_SP.pickle
31
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_1_SP.pickle
32
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_1_SP.pickle
33
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_1_SP.pickle
34
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_2,_3_SP.pickle
35
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_2,_3_SP.pickle
36
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_2,_3_SP.pickle
37
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_2,_3_SP.pickle
38
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_1_UP.pickle
39
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_1_UP.pickle
40
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_1_UP.pickle
41
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_1_UP.pickle
42
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_110_predictor_In-plane_support_cl_2,_3_UP.pickle
43
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_110_scaler_In-plane_support_cl_2,_3_UP.pickle
44
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_110_predictor_In-plane_support_cl_2,_3_UP.pickle
45
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_110_scaler_In-plane_support_cl_2,_3_UP.pickle
46
+ include anystruct\ml_files\CLPIPE_CL_CSR-Tank_req_cl_predictor.pickle
47
+ include anystruct\ml_files\CLPIPE_CL_CSR-Tank_req_cl_scaler.pickle
48
+ include anystruct\ml_files\CLPIPE_CL_CSR_plate_cl,_CSR_web_cl,_CSR_web_flange_cl,_CSR_flange_cl_predictor.pickle
49
+ include anystruct\ml_files\CLPIPE_CL_CSR_plate_cl,_CSR_web_cl,_CSR_web_flange_cl,_CSR_flange_cl_scaler.pickle
50
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_1_SP.pickle
51
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_1_SP.pickle
52
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_1_SP.pickle
53
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_1_SP.pickle
54
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_2,_3_SP.pickle
55
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_2,_3_SP.pickle
56
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_2,_3_SP.pickle
57
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_2,_3_SP.pickle
58
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_1_UP.pickle
59
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_1_UP.pickle
60
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_1_UP.pickle
61
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_1_UP.pickle
62
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_115_predictor_In-plane_support_cl_2,_3_UP.pickle
63
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_buc_115_scaler_In-plane_support_cl_2,_3_UP.pickle
64
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_115_predictor_In-plane_support_cl_2,_3_UP.pickle
65
+ include anystruct\ml_files\CLPIPE_CL_output_cl_str_ult_115_scaler_In-plane_support_cl_2,_3_UP.pickle
66
+ include anystruct\ml_files\CLPIPE_CL_CSR-Tank_req_cl_predictor.pickle
67
+ include anystruct\ml_files\CLPIPE_CL_CSR-Tank_req_cl_scaler.pickle
68
+ include anystruct\ml_files\CLPIPE_CL_CSR_plate_cl,_CSR_web_cl,_CSR_web_flange_cl,_CSR_flange_cl_predictor.pickle
69
+ include anystruct\ml_files\CLPIPE_CL_CSR_plate_cl,_CSR_web_cl,_CSR_web_flange_cl,_CSR_flange_cl_scaler.pickle
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ANYstructure
3
- Version: 5.3.2
3
+ Version: 6.0.0
4
4
  Summary: A plate field optimization tool for offshore structures calculated according to DNV standards
5
5
  Home-page: https://github.com/audunarn/ANYstructure
6
6
  Author: Audun Arnesen Nyhus
@@ -13,12 +13,34 @@ Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Programming Language :: Python :: 3.13
14
14
  Classifier: Topic :: Scientific/Engineering
15
15
  License-File: LICENSE
16
- Requires-Dist: scipy
17
- Requires-Dist: numpy
18
16
  Requires-Dist: matplotlib
17
+ Requires-Dist: numpy
18
+ Requires-Dist: Pillow
19
19
  Requires-Dist: reportlab
20
+ Requires-Dist: scipy
20
21
  Requires-Dist: xlwings
21
22
  Requires-Dist: scikit-learn
23
+ Provides-Extra: core
24
+ Requires-Dist: matplotlib; extra == "core"
25
+ Requires-Dist: numpy; extra == "core"
26
+ Requires-Dist: Pillow; extra == "core"
27
+ Requires-Dist: reportlab; extra == "core"
28
+ Requires-Dist: scipy; extra == "core"
29
+ Provides-Extra: excel
30
+ Requires-Dist: xlwings; extra == "excel"
31
+ Provides-Extra: ml
32
+ Requires-Dist: scikit-learn; extra == "ml"
33
+ Provides-Extra: dev
34
+ Requires-Dist: build; extra == "dev"
35
+ Requires-Dist: pytest; extra == "dev"
36
+ Provides-Extra: all
37
+ Requires-Dist: matplotlib; extra == "all"
38
+ Requires-Dist: numpy; extra == "all"
39
+ Requires-Dist: Pillow; extra == "all"
40
+ Requires-Dist: reportlab; extra == "all"
41
+ Requires-Dist: scipy; extra == "all"
42
+ Requires-Dist: xlwings; extra == "all"
43
+ Requires-Dist: scikit-learn; extra == "all"
22
44
  Dynamic: author
23
45
  Dynamic: author-email
24
46
  Dynamic: classifier
@@ -27,6 +49,7 @@ Dynamic: home-page
27
49
  Dynamic: keywords
28
50
  Dynamic: license
29
51
  Dynamic: license-file
52
+ Dynamic: provides-extra
30
53
  Dynamic: requires-dist
31
54
  Dynamic: summary
32
55
 
@@ -0,0 +1,79 @@
1
+ ![picture](https://github.com/audunarn/ANYstructure/blob/master/anystruct/images/ANYstructure_logo.jpg)
2
+
3
+ # ANYstructure #
4
+ ANYstructure is the ultimate steel structure design tool for plate fields and cylinders!
5
+ Weight optimization for all structures with machine learning capabilities.
6
+ Calculations are based on DNV standards and rules
7
+ ### What's new in 6.0.0 ###
8
+ * New buckling method: Semi-analytical buckling for flat plates.
9
+ * Updated ML buckling to numerical instead of classification. Improved accurancy of the neural network.
10
+ * Updated color coding option.
11
+ * Implemented extended testing regime.
12
+ * Started work on separating calculation code from the GUI.
13
+
14
+ ------------------------------------------------------------------------
15
+
16
+ For documentation:
17
+
18
+ https://anystructure.readthedocs.io/en/latest/
19
+
20
+ ## Development setup ##
21
+
22
+ ANYstructure is currently maintained as a Python package named `anystruct`. The GUI can still be launched through the `ANYstructure` console command after an editable install.
23
+
24
+ Recommended local setup:
25
+
26
+ ```powershell
27
+ python -m venv .venv
28
+ .\.venv\Scripts\Activate.ps1
29
+ python -m pip install --upgrade pip
30
+ python -m pip install -r requirements-dev.txt
31
+ python -m pip install -e .
32
+ python -m pytest
33
+ ```
34
+
35
+ Launch the desktop app after installation:
36
+
37
+ ```powershell
38
+ ANYstructure
39
+ ```
40
+
41
+ Dependency groups are also available for focused installs:
42
+
43
+ ```powershell
44
+ python -m pip install -r requirements-core.txt
45
+ python -m pip install -r requirements-ml.txt
46
+ python -m pip install -r requirements-excel.txt
47
+ ```
48
+
49
+ Equivalent package extras are exposed as `core`, `ml`, `excel`, `dev`, and `all`. The default package install still includes Excel and ML dependencies for backwards compatibility.
50
+
51
+ Excel project import requires a local Excel installation and is not expected to run in basic automated tests.
52
+ The external Excel-sheet DNV PULS calculation workflow has been removed from this release; ML-CL remains available.
53
+
54
+ ## The following is calculated: ##
55
+ * Minimum plate thickness (DNV-OS-C101)
56
+ * Minimum section modulus of stiffener/plate (DNVGL-OS-C101)
57
+ * Minimum shear area (DNVGL-OS-C101)
58
+ * Buckling (DNVGL-RP-C201)
59
+ * Buckling strength of shells DNV-RP-C202
60
+ * Machine learning buckling, PULS based
61
+ * Fatigue for plate/stiffener connection (DNVGL-RP-C203)
62
+ * Improved Linux compability.
63
+
64
+ Compartments (tank pressures) are created automatically.
65
+
66
+ Pressures on external hull (or any other generic location) is defined by specifying equations.
67
+
68
+ You can optimize cylinders, single plate/stiffener field or multiple. Geometry of double bottom can be optimized.
69
+
70
+ PLEASE CONTRIBUTE. REPORT BUGS ERRORS ETC.
71
+ For windows executable (.exe) version for non-coders, use the link below.
72
+
73
+ Feedback: audunarn@gmail.com or discuss on github.
74
+
75
+ Please like, share or comment on LinkedIn: https://www.linkedin.com/in/audun-arnesen-nyhus-6aa17118/
76
+
77
+ Screenshot (this example can be loaded from file "ship_section_example.txt"):
78
+
79
+ ![picture](https://github.com/audunarn/ANYstructure/blob/master/anystruct/images/ANYstructure%20screenshot.png)
@@ -0,0 +1,36 @@
1
+ import ctypes
2
+ import multiprocessing
3
+ import sys
4
+ import tkinter as tk
5
+
6
+ from anystruct.main_application import Application
7
+
8
+
9
+ def _set_windows_dpi_awareness():
10
+ if sys.platform != 'win32':
11
+ return
12
+
13
+ try:
14
+ ctypes.windll.shcore.SetProcessDpiAwareness(2)
15
+ except (AttributeError, OSError):
16
+ pass
17
+
18
+
19
+ def main(args=None):
20
+ """Launch the ANYstructure Tkinter application."""
21
+ if args is None:
22
+ args = sys.argv[1:]
23
+
24
+ multiprocessing.freeze_support()
25
+ _set_windows_dpi_awareness()
26
+
27
+ root = tk.Tk()
28
+ width = root.winfo_screenwidth()
29
+ height = root.winfo_screenheight()
30
+ root.geometry(f'{width}x{height}')
31
+ Application(root)
32
+ root.mainloop()
33
+
34
+
35
+ if __name__ == "__main__":
36
+ main()