gearmaster 0.1.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.

Potentially problematic release.


This version of gearmaster might be problematic. Click here for more details.

Files changed (395) hide show
  1. gearmaster-0.1.0/.github/agents/GM Agent.agent.md +54 -0
  2. gearmaster-0.1.0/.github/chatmodes/GEARMASTER_VISUAL.chatmode.md +71 -0
  3. gearmaster-0.1.0/.github/workflows/publish.yml +94 -0
  4. gearmaster-0.1.0/.vscode/launch.json +60 -0
  5. gearmaster-0.1.0/.vscode/settings.json +7 -0
  6. gearmaster-0.1.0/CHANGELOG.md +37 -0
  7. gearmaster-0.1.0/GM_Visual/INSTALLATION.md +158 -0
  8. gearmaster-0.1.0/GM_Visual/__init__.py +35 -0
  9. gearmaster-0.1.0/GM_Visual/core.py +32 -0
  10. gearmaster-0.1.0/GM_Visual/docs/README.md +57 -0
  11. gearmaster-0.1.0/GM_Visual/docs/canvas.md +210 -0
  12. gearmaster-0.1.0/GM_Visual/docs/core/config_manager.md +425 -0
  13. gearmaster-0.1.0/GM_Visual/docs/core/execution_engine.md +521 -0
  14. gearmaster-0.1.0/GM_Visual/docs/core/installation_manager.md +467 -0
  15. gearmaster-0.1.0/GM_Visual/docs/core/node_base.md +749 -0
  16. gearmaster-0.1.0/GM_Visual/docs/core/pin_system.md +566 -0
  17. gearmaster-0.1.0/GM_Visual/docs/core/project_manager.md +613 -0
  18. gearmaster-0.1.0/GM_Visual/docs/import_context_solution.md +272 -0
  19. gearmaster-0.1.0/GM_Visual/docs/logging_system.md +254 -0
  20. gearmaster-0.1.0/GM_Visual/docs/node_creation_guide_for_ai.md +1194 -0
  21. gearmaster-0.1.0/GM_Visual/docs/nodes/data/core/file_pointer.md +249 -0
  22. gearmaster-0.1.0/GM_Visual/docs/nodes/data/core/folder_pointer.md +321 -0
  23. gearmaster-0.1.0/GM_Visual/docs/nodes/demo/basic/fake_node.md +141 -0
  24. gearmaster-0.1.0/GM_Visual/docs/nodes/demo/math/constant_int.md +36 -0
  25. gearmaster-0.1.0/GM_Visual/docs/nodes/demo/math/int_display.md +38 -0
  26. gearmaster-0.1.0/GM_Visual/docs/nodes/demo/math/sum_demo.md +39 -0
  27. gearmaster-0.1.0/GM_Visual/docs/nodes/signals/creation/time_series_generator.md +204 -0
  28. gearmaster-0.1.0/GM_Visual/docs/nodes/signals/display/dftb_display.md +270 -0
  29. gearmaster-0.1.0/GM_Visual/docs/nodes/signals/display/dftm_display.md +235 -0
  30. gearmaster-0.1.0/GM_Visual/docs/nodes/signals/display/metadata_display.md +324 -0
  31. gearmaster-0.1.0/GM_Visual/docs/nodes/signals/dsp/filter_butterworth.md +405 -0
  32. gearmaster-0.1.0/GM_Visual/docs/nodes/signals/dsp/frequency_spectrum.md +322 -0
  33. gearmaster-0.1.0/GM_Visual/docs/nodes/signals/input/signal_load.md +387 -0
  34. gearmaster-0.1.0/GM_Visual/docs/nodes/utils/annotations/picture_node.md +198 -0
  35. gearmaster-0.1.0/GM_Visual/docs/nodes/utils/annotations/sticky_node.md +255 -0
  36. gearmaster-0.1.0/GM_Visual/docs/templates/node_documentation_template.md +28 -0
  37. gearmaster-0.1.0/GM_Visual/docs/workflow_execution_logic.md +1639 -0
  38. gearmaster-0.1.0/GM_Visual/examples/basics/example_basic_constant_and_list_creation_and_display.gmv +356 -0
  39. gearmaster-0.1.0/GM_Visual/examples/manual_test_execution_engine.py +258 -0
  40. gearmaster-0.1.0/GM_Visual/examples/signals/example_convert_timeseries_to_table_and_plot.gmv +115 -0
  41. gearmaster-0.1.0/GM_Visual/examples/signals/example_timeseries_creation_and_plot.gmv +219 -0
  42. gearmaster-0.1.0/GM_Visual/help/README.txt +34 -0
  43. gearmaster-0.1.0/GM_Visual/help/assets/css/style.css +308 -0
  44. gearmaster-0.1.0/GM_Visual/help/index.html +83 -0
  45. gearmaster-0.1.0/GM_Visual/help/topics/00-about-gearmaster-visual.html +95 -0
  46. gearmaster-0.1.0/GM_Visual/help/topics/01-getting-started.html +46 -0
  47. gearmaster-0.1.0/GM_Visual/help/topics/02-installation.html +86 -0
  48. gearmaster-0.1.0/GM_Visual/help/topics/03-canvas-basics.html +131 -0
  49. gearmaster-0.1.0/GM_Visual/help/topics/04-working-with-nodes.html +88 -0
  50. gearmaster-0.1.0/GM_Visual/help/topics/05-connecting-nodes.html +112 -0
  51. gearmaster-0.1.0/GM_Visual/help/topics/06-execution.html +109 -0
  52. gearmaster-0.1.0/GM_Visual/help/topics/07-node-states.html +154 -0
  53. gearmaster-0.1.0/GM_Visual/help/topics/08-pins-io.html +214 -0
  54. gearmaster-0.1.0/GM_Visual/help/topics/09-custom-nodes.html +195 -0
  55. gearmaster-0.1.0/GM_Visual/install.py +268 -0
  56. gearmaster-0.1.0/GM_Visual/main.py +1271 -0
  57. gearmaster-0.1.0/GM_Visual/requirements.txt +20 -0
  58. gearmaster-0.1.0/GM_Visual/src/__init__.py +24 -0
  59. gearmaster-0.1.0/GM_Visual/src/canvas/__init__.py +50 -0
  60. gearmaster-0.1.0/GM_Visual/src/canvas/canvas_connections.py +536 -0
  61. gearmaster-0.1.0/GM_Visual/src/canvas/canvas_events.py +1844 -0
  62. gearmaster-0.1.0/GM_Visual/src/canvas/canvas_execution.py +189 -0
  63. gearmaster-0.1.0/GM_Visual/src/canvas/canvas_navigation.py +358 -0
  64. gearmaster-0.1.0/GM_Visual/src/canvas/canvas_node.py +1547 -0
  65. gearmaster-0.1.0/GM_Visual/src/canvas/canvas_terminal.py +596 -0
  66. gearmaster-0.1.0/GM_Visual/src/canvas/canvas_ui.py +1133 -0
  67. gearmaster-0.1.0/GM_Visual/src/core/__init__.py +51 -0
  68. gearmaster-0.1.0/GM_Visual/src/core/config_manager.py +511 -0
  69. gearmaster-0.1.0/GM_Visual/src/core/execution_engine.py +706 -0
  70. gearmaster-0.1.0/GM_Visual/src/core/help_server.py +197 -0
  71. gearmaster-0.1.0/GM_Visual/src/core/installation_manager.py +527 -0
  72. gearmaster-0.1.0/GM_Visual/src/core/node_base.py +570 -0
  73. gearmaster-0.1.0/GM_Visual/src/core/pin_system.py +302 -0
  74. gearmaster-0.1.0/GM_Visual/src/core/project_manager.py +815 -0
  75. gearmaster-0.1.0/GM_Visual/src/main_canvas.py +567 -0
  76. gearmaster-0.1.0/GM_Visual/src/nodes/__init__.py +24 -0
  77. gearmaster-0.1.0/GM_Visual/src/nodes/basics/__init__.py +19 -0
  78. gearmaster-0.1.0/GM_Visual/src/nodes/basics/creation/__init__.py +19 -0
  79. gearmaster-0.1.0/GM_Visual/src/nodes/basics/creation/constant.py +302 -0
  80. gearmaster-0.1.0/GM_Visual/src/nodes/basics/creation/constant_gui.py +262 -0
  81. gearmaster-0.1.0/GM_Visual/src/nodes/basics/creation/list.py +278 -0
  82. gearmaster-0.1.0/GM_Visual/src/nodes/basics/creation/list_gui.py +359 -0
  83. gearmaster-0.1.0/GM_Visual/src/nodes/basics/display/__init__.py +11 -0
  84. gearmaster-0.1.0/GM_Visual/src/nodes/basics/display/value_display.py +244 -0
  85. gearmaster-0.1.0/GM_Visual/src/nodes/basics/display/value_display_gui.py +54 -0
  86. gearmaster-0.1.0/GM_Visual/src/nodes/data/__init__.py +12 -0
  87. gearmaster-0.1.0/GM_Visual/src/nodes/data/core/__init__.py +10 -0
  88. gearmaster-0.1.0/GM_Visual/src/nodes/data/core/file_pointer_node.py +370 -0
  89. gearmaster-0.1.0/GM_Visual/src/nodes/data/core/folder_pointer_node.py +375 -0
  90. gearmaster-0.1.0/GM_Visual/src/nodes/demo/__init__.py +18 -0
  91. gearmaster-0.1.0/GM_Visual/src/nodes/demo/basic/__init__.py +23 -0
  92. gearmaster-0.1.0/GM_Visual/src/nodes/demo/basic/fake_node.py +328 -0
  93. gearmaster-0.1.0/GM_Visual/src/nodes/demo/basic/fake_node_gui.py +647 -0
  94. gearmaster-0.1.0/GM_Visual/src/nodes/demo/math/__init__.py +14 -0
  95. gearmaster-0.1.0/GM_Visual/src/nodes/fea/__init__.py +28 -0
  96. gearmaster-0.1.0/GM_Visual/src/nodes/fea/welded_joints/__init__.py +11 -0
  97. gearmaster-0.1.0/GM_Visual/src/nodes/fea/welded_joints/mesh_weldpath_finder_shell.py +302 -0
  98. gearmaster-0.1.0/GM_Visual/src/nodes/fea/welded_joints/mesh_weldpath_finder_shell_gui.py +237 -0
  99. gearmaster-0.1.0/GM_Visual/src/nodes/fea/welded_joints/welded_joint_analysis_shell.py +391 -0
  100. gearmaster-0.1.0/GM_Visual/src/nodes/fea/welded_joints/welded_joint_analysis_shell_gui.py +268 -0
  101. gearmaster-0.1.0/GM_Visual/src/nodes/gui/__init__.py +24 -0
  102. gearmaster-0.1.0/GM_Visual/src/nodes/gui/base_node_gui.py +168 -0
  103. gearmaster-0.1.0/GM_Visual/src/nodes/materials/library/__init__.py +22 -0
  104. gearmaster-0.1.0/GM_Visual/src/nodes/materials/library/material_library.py +283 -0
  105. gearmaster-0.1.0/GM_Visual/src/nodes/materials/library/material_library_gui.py +461 -0
  106. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/__init__.py +36 -0
  107. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/basic/__init__.py +22 -0
  108. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/basic/ansys_dpf_model.py +326 -0
  109. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/basic/ansys_dpf_plotter.py +267 -0
  110. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/basic/ansys_dpf_plotter_gui.py +456 -0
  111. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/math/scale.py +278 -0
  112. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/math/scale_gui.py +234 -0
  113. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/results/ansys_dpf_results_stress.py +291 -0
  114. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/results/ansys_dpf_results_stress_gui.py +216 -0
  115. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/scoping/__init__.py +19 -0
  116. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/scoping/ansys_dpf_on_named_selection.py +279 -0
  117. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/scoping/ansys_dpf_on_named_selection_gui.py +358 -0
  118. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/scoping/ansys_dpf_time_freq_scoping.py +238 -0
  119. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/scoping/ansys_dpf_time_freq_scoping_gui.py +205 -0
  120. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/serialization/__init__.py +27 -0
  121. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/serialization/ansys_dpf_csv_to_field.py +197 -0
  122. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/serialization/ansys_dpf_field_to_csv.py +346 -0
  123. gearmaster-0.1.0/GM_Visual/src/nodes/pyansys_dpf/serialization/ansys_dpf_field_to_csv_gui.py +162 -0
  124. gearmaster-0.1.0/GM_Visual/src/nodes/signals/__init__.py +26 -0
  125. gearmaster-0.1.0/GM_Visual/src/nodes/signals/combination_node.py +183 -0
  126. gearmaster-0.1.0/GM_Visual/src/nodes/signals/creation/__init__.py +19 -0
  127. gearmaster-0.1.0/GM_Visual/src/nodes/signals/creation/time_series_generator.py +674 -0
  128. gearmaster-0.1.0/GM_Visual/src/nodes/signals/creation/time_series_generator_gui.py +707 -0
  129. gearmaster-0.1.0/GM_Visual/src/nodes/signals/display/__init__.py +22 -0
  130. gearmaster-0.1.0/GM_Visual/src/nodes/signals/display/dftb_display.py +215 -0
  131. gearmaster-0.1.0/GM_Visual/src/nodes/signals/display/dftm_display.py +174 -0
  132. gearmaster-0.1.0/GM_Visual/src/nodes/signals/display/metadata_display.py +192 -0
  133. gearmaster-0.1.0/GM_Visual/src/nodes/signals/dsp/__init__.py +25 -0
  134. gearmaster-0.1.0/GM_Visual/src/nodes/signals/dsp/dftm_statistics_advanced.py +419 -0
  135. gearmaster-0.1.0/GM_Visual/src/nodes/signals/dsp/dftm_statistics_advanced_gui.py +254 -0
  136. gearmaster-0.1.0/GM_Visual/src/nodes/signals/dsp/filter_butterworth.py +273 -0
  137. gearmaster-0.1.0/GM_Visual/src/nodes/signals/dsp/filter_butterworth_gui.py +335 -0
  138. gearmaster-0.1.0/GM_Visual/src/nodes/signals/dsp/frequency_spectrum.py +333 -0
  139. gearmaster-0.1.0/GM_Visual/src/nodes/signals/dsp/frequency_spectrum_gui.py +361 -0
  140. gearmaster-0.1.0/GM_Visual/src/nodes/signals/input/__init__.py +13 -0
  141. gearmaster-0.1.0/GM_Visual/src/nodes/signals/input/ncode_csv_ts_load_node.py +214 -0
  142. gearmaster-0.1.0/GM_Visual/src/nodes/signals/input/signal_load.py +481 -0
  143. gearmaster-0.1.0/GM_Visual/src/nodes/signals/input/signal_load_gui.py +247 -0
  144. gearmaster-0.1.0/GM_Visual/src/nodes/signals/output/__init__.py +18 -0
  145. gearmaster-0.1.0/GM_Visual/src/nodes/signals/output/signal_save.py +326 -0
  146. gearmaster-0.1.0/GM_Visual/src/nodes/signals/output/signal_save_gui.py +202 -0
  147. gearmaster-0.1.0/GM_Visual/src/nodes/signals/utils/__init__.py +18 -0
  148. gearmaster-0.1.0/GM_Visual/src/nodes/signals/utils/dataframe_combination.py +295 -0
  149. gearmaster-0.1.0/GM_Visual/src/nodes/signals/utils/dataframe_combination_gui.py +263 -0
  150. gearmaster-0.1.0/GM_Visual/src/nodes/signals/utils/dataframe_split.py +348 -0
  151. gearmaster-0.1.0/GM_Visual/src/nodes/signals/utils/dataframe_split_gui.py +238 -0
  152. gearmaster-0.1.0/GM_Visual/src/nodes/signals/utils/timeseries_to_table.py +267 -0
  153. gearmaster-0.1.0/GM_Visual/src/nodes/utils/__init__.py +29 -0
  154. gearmaster-0.1.0/GM_Visual/src/nodes/utils/annotations/__init__.py +20 -0
  155. gearmaster-0.1.0/GM_Visual/src/nodes/utils/annotations/picture_node.py +470 -0
  156. gearmaster-0.1.0/GM_Visual/src/nodes/utils/annotations/sticky_node.py +222 -0
  157. gearmaster-0.1.0/GM_Visual/src/nodes/utils/annotations/sticky_node_gui.py +274 -0
  158. gearmaster-0.1.0/GM_Visual/src/nodes_assets/icons/_placeholder.png +0 -0
  159. gearmaster-0.1.0/GM_Visual/src/nodes_assets/icons/icon_time_series_generator.png +0 -0
  160. gearmaster-0.1.0/GM_Visual/src/pin_connection.py +52 -0
  161. gearmaster-0.1.0/GM_Visual/src/settings/__init__.py +26 -0
  162. gearmaster-0.1.0/GM_Visual/src/settings/custom_settings.py +172 -0
  163. gearmaster-0.1.0/GM_Visual/src/settings/custom_settings_gui.py +483 -0
  164. gearmaster-0.1.0/GM_Visual/src/ui/about_dialog.py +131 -0
  165. gearmaster-0.1.0/GM_Visual/src/ui/documentation_panel.py +254 -0
  166. gearmaster-0.1.0/GM_Visual/src/ui/html_documentation_viewer.py +383 -0
  167. gearmaster-0.1.0/GM_Visual/src/ui/node_info_dialog.py +301 -0
  168. gearmaster-0.1.0/GM_Visual/src/utils/__init__.py +26 -0
  169. gearmaster-0.1.0/GM_Visual/src/utils/gm_logger.py +213 -0
  170. gearmaster-0.1.0/GM_Visual/src/utils/import_context.py +86 -0
  171. gearmaster-0.1.0/GM_Visual/src/utils/path_validator.py +243 -0
  172. gearmaster-0.1.0/GM_Visual/src/version.py +38 -0
  173. gearmaster-0.1.0/GM_Visual/tests/__init__.py +22 -0
  174. gearmaster-0.1.0/GM_Visual/tests/debug_cascade_graph.py +125 -0
  175. gearmaster-0.1.0/GM_Visual/tests/debug_on_property_changed.py +82 -0
  176. gearmaster-0.1.0/GM_Visual/tests/test_cascade_dirty_propagation.py +319 -0
  177. gearmaster-0.1.0/GM_Visual/tests/test_core/conftest.py +23 -0
  178. gearmaster-0.1.0/GM_Visual/tests/test_core/diagnostic_execution.py +185 -0
  179. gearmaster-0.1.0/GM_Visual/tests/test_core/test_canvas_cascade.py +163 -0
  180. gearmaster-0.1.0/GM_Visual/tests/test_core/test_canvas_execution.py +93 -0
  181. gearmaster-0.1.0/GM_Visual/tests/test_core/test_cascade_execution.py +207 -0
  182. gearmaster-0.1.0/GM_Visual/tests/test_core/test_complete_system.py +172 -0
  183. gearmaster-0.1.0/GM_Visual/tests/test_core/test_core_basic.py +129 -0
  184. gearmaster-0.1.0/GM_Visual/tests/test_core/test_executed_state.py +377 -0
  185. gearmaster-0.1.0/GM_Visual/tests/test_core/test_execution_dependencies.py +182 -0
  186. gearmaster-0.1.0/GM_Visual/tests/test_core/test_execution_logic.py +123 -0
  187. gearmaster-0.1.0/GM_Visual/tests/test_core/test_node_addition.py +107 -0
  188. gearmaster-0.1.0/GM_Visual/tests/test_core/test_property_pin_dynamic.py +191 -0
  189. gearmaster-0.1.0/GM_Visual/tests/test_fake_node.py +112 -0
  190. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_ansys_dpf_plotter.py +103 -0
  191. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_ansys_dpf_results_stress.py +367 -0
  192. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_constant_node.py +375 -0
  193. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_demo_nodes.py +98 -0
  194. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_file_pointer_node.py +231 -0
  195. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_folder_pointer_node.py +207 -0
  196. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_list_node.py +225 -0
  197. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_scale_node.py +368 -0
  198. gearmaster-0.1.0/GM_Visual/tests/test_nodes/test_value_display_node.py +284 -0
  199. gearmaster-0.1.0/GM_modules/Cad/__init__.py +25 -0
  200. gearmaster-0.1.0/GM_modules/Data/GM_DataManager.py +1860 -0
  201. gearmaster-0.1.0/GM_modules/Data/__init__.py +23 -0
  202. gearmaster-0.1.0/GM_modules/Data/test/__init__.py +11 -0
  203. gearmaster-0.1.0/GM_modules/Data/test/__tester_GM_DataManager.py +17 -0
  204. gearmaster-0.1.0/GM_modules/Data/test/_test_MC_load_ncode_csv.py +50 -0
  205. gearmaster-0.1.0/GM_modules/Data/test/_test_gmdm_mc.py +17 -0
  206. gearmaster-0.1.0/GM_modules/Data/test/source_MC_load_ncode_csv.csv +217360 -0
  207. gearmaster-0.1.0/GM_modules/Data/test/source_ncode_TS_to_CSV_2022.csv +1046 -0
  208. gearmaster-0.1.0/GM_modules/Data/test/test_gmdm_db.py +192 -0
  209. gearmaster-0.1.0/GM_modules/Data/test/test_gmdm_ds.py +159 -0
  210. gearmaster-0.1.0/GM_modules/Data/test/test_gmdm_mc.py +30 -0
  211. gearmaster-0.1.0/GM_modules/Data/test/test_gmdm_md.py +39 -0
  212. gearmaster-0.1.0/GM_modules/Data/utils.py +166 -0
  213. gearmaster-0.1.0/GM_modules/Fea/__init__.py +28 -0
  214. gearmaster-0.1.0/GM_modules/Fea/core.py +310 -0
  215. gearmaster-0.1.0/GM_modules/Fea/docs/DOC_MeshEnergyComponents.md +631 -0
  216. gearmaster-0.1.0/GM_modules/Fea/mesh_energy_components.py +2048 -0
  217. gearmaster-0.1.0/GM_modules/Fea/mesh_welded_joint.py +1280 -0
  218. gearmaster-0.1.0/GM_modules/Fea/mesh_weldpath_finder.py +1797 -0
  219. gearmaster-0.1.0/GM_modules/Fea/test_/README_test_usage.md +62 -0
  220. gearmaster-0.1.0/GM_modules/Fea/test_/__init__.py +11 -0
  221. gearmaster-0.1.0/GM_modules/Fea/test_/_test_vtk_visualization.py +83 -0
  222. gearmaster-0.1.0/GM_modules/Fea/test_/_test_weldpath_finder_shell.rst +0 -0
  223. gearmaster-0.1.0/GM_modules/Fea/test_/_test_weldpath_finder_shell_15000.rst +0 -0
  224. gearmaster-0.1.0/GM_modules/Fea/test_/_test_weldpath_finder_shell_4000.rst +0 -0
  225. gearmaster-0.1.0/GM_modules/Fea/test_/_test_weldpath_finder_shell_complexity2.rst +0 -0
  226. gearmaster-0.1.0/GM_modules/Fea/test_/_test_weldpath_finder_shell_complexity3.rst +0 -0
  227. gearmaster-0.1.0/GM_modules/Fea/test_/demo_weldpath_shell_NS_001.rst +0 -0
  228. gearmaster-0.1.0/GM_modules/Fea/test_/demo_weldpath_shell_NS_001_ENFO.txt +14148 -0
  229. gearmaster-0.1.0/GM_modules/Fea/test_/demo_weldpath_shell_NS_001_ENMO.txt +14148 -0
  230. gearmaster-0.1.0/GM_modules/Fea/test_/pytest.ini +42 -0
  231. gearmaster-0.1.0/GM_modules/Fea/test_/run_tests.py +208 -0
  232. gearmaster-0.1.0/GM_modules/Fea/test_/source_circular_tube_NS.rst +0 -0
  233. gearmaster-0.1.0/GM_modules/Fea/test_/test_gm_ansy_dpf.py +62 -0
  234. gearmaster-0.1.0/GM_modules/Fea/test_/test_group_subgroup.rst +0 -0
  235. gearmaster-0.1.0/GM_modules/Fea/test_/test_mesh_energy_components.py +152 -0
  236. gearmaster-0.1.0/GM_modules/Fea/test_/test_meshenergycomponents_basic00.py +182 -0
  237. gearmaster-0.1.0/GM_modules/Fea/test_/test_meshenergycomponents_basic01.py +114 -0
  238. gearmaster-0.1.0/GM_modules/Fea/test_/test_meshenergycomponents_basic02.py +120 -0
  239. gearmaster-0.1.0/GM_modules/Fea/test_/test_meshenergycomponents_weldpath_00.py +120 -0
  240. gearmaster-0.1.0/GM_modules/Fea/test_/test_welded_joint.py +76 -0
  241. gearmaster-0.1.0/GM_modules/Fea/test_/test_weldpath_finder_shell.py +105 -0
  242. gearmaster-0.1.0/GM_modules/Fea/test_/test_weldpath_from_NS.py +47 -0
  243. gearmaster-0.1.0/GM_modules/Fea/test_/test_weldpath_shell_NS.rst +0 -0
  244. gearmaster-0.1.0/GM_modules/GUIs/GM_GUIManager.py +114 -0
  245. gearmaster-0.1.0/GM_modules/GUIs/GM_GUI_core.py +99 -0
  246. gearmaster-0.1.0/GM_modules/GUIs/N_Hcyl_GUI.py +253 -0
  247. gearmaster-0.1.0/GM_modules/GUIs/__init__.py +23 -0
  248. gearmaster-0.1.0/GM_modules/Hydraulic/Hydraulic.py +18 -0
  249. gearmaster-0.1.0/GM_modules/Hydraulic/__init__.py +26 -0
  250. gearmaster-0.1.0/GM_modules/Materials/__init__.py +23 -0
  251. gearmaster-0.1.0/GM_modules/Materials/material_library.py +116 -0
  252. gearmaster-0.1.0/GM_modules/Materials/materials.py +243 -0
  253. gearmaster-0.1.0/GM_modules/Materials/test/test_material.py +324 -0
  254. gearmaster-0.1.0/GM_modules/Materials/test/test_material_library.py +371 -0
  255. gearmaster-0.1.0/GM_modules/Mechanical/Fasteners.py +197 -0
  256. gearmaster-0.1.0/GM_modules/Mechanical/__init__.py +26 -0
  257. gearmaster-0.1.0/GM_modules/Meshless/__init__.py +24 -0
  258. gearmaster-0.1.0/GM_modules/Signals/__init__.py +27 -0
  259. gearmaster-0.1.0/GM_modules/Signals/docs/README.md +29 -0
  260. gearmaster-0.1.0/GM_modules/Signals/docs/apps/creation/time_series_generator.md +393 -0
  261. gearmaster-0.1.0/GM_modules/Signals/docs/apps/display/METADATA_DISPLAY_GUIDE.md +297 -0
  262. gearmaster-0.1.0/GM_modules/Signals/docs/apps/dsp/ButterworthFilter.md +219 -0
  263. gearmaster-0.1.0/GM_modules/Signals/docs/apps/dsp/frequency_spectrum.md +313 -0
  264. gearmaster-0.1.0/GM_modules/Signals/docs/apps/input/dftm_load_system.md +595 -0
  265. gearmaster-0.1.0/GM_modules/Signals/docs/apps/output/dftm_save_system.md +298 -0
  266. gearmaster-0.1.0/GM_modules/Signals/docs/apps/utils/dataframe_combination.md +211 -0
  267. gearmaster-0.1.0/GM_modules/Signals/docs/core/dataframe_table.md +620 -0
  268. gearmaster-0.1.0/GM_modules/Signals/docs/core/dataframe_time.md +440 -0
  269. gearmaster-0.1.0/GM_modules/Signals/docs/core/dataseries_time.md +364 -0
  270. gearmaster-0.1.0/GM_modules/Signals/docs/core/dataset_table.md +552 -0
  271. gearmaster-0.1.0/GM_modules/Signals/docs/core/format_table.md +229 -0
  272. gearmaster-0.1.0/GM_modules/Signals/docs/core/format_timeseries.md +224 -0
  273. gearmaster-0.1.0/GM_modules/Signals/docs/core/formats.md +119 -0
  274. gearmaster-0.1.0/GM_modules/Signals/docs/core/gm_data_types_for_ai.md +195 -0
  275. gearmaster-0.1.0/GM_modules/Signals/docs/source_metadata_guide.md +347 -0
  276. gearmaster-0.1.0/GM_modules/Signals/examples/dataframe_combination_example.py +199 -0
  277. gearmaster-0.1.0/GM_modules/Signals/examples/demo_dftm_advanced_statistics.py +214 -0
  278. gearmaster-0.1.0/GM_modules/Signals/examples/demo_filter_butterworth.py +286 -0
  279. gearmaster-0.1.0/GM_modules/Signals/examples/demo_frequency_spectrum.py +205 -0
  280. gearmaster-0.1.0/GM_modules/Signals/examples/demo_metadata_display.py +312 -0
  281. gearmaster-0.1.0/GM_modules/Signals/examples/demo_metadata_display_from_ts_generator.py +149 -0
  282. gearmaster-0.1.0/GM_modules/Signals/examples/demo_source_metadata.py +178 -0
  283. gearmaster-0.1.0/GM_modules/Signals/examples/demo_timeseries_to_table.py +218 -0
  284. gearmaster-0.1.0/GM_modules/Signals/requirements_signals.txt +14 -0
  285. gearmaster-0.1.0/GM_modules/Signals/src/__init__.py +12 -0
  286. gearmaster-0.1.0/GM_modules/Signals/src/apps/__init__.py +14 -0
  287. gearmaster-0.1.0/GM_modules/Signals/src/apps/creation/__init__.py +14 -0
  288. gearmaster-0.1.0/GM_modules/Signals/src/apps/creation/time_series_generator.py +407 -0
  289. gearmaster-0.1.0/GM_modules/Signals/src/apps/display/__init__.py +15 -0
  290. gearmaster-0.1.0/GM_modules/Signals/src/apps/display/dftb_display.py +505 -0
  291. gearmaster-0.1.0/GM_modules/Signals/src/apps/display/dftm_display.py +505 -0
  292. gearmaster-0.1.0/GM_modules/Signals/src/apps/display/metadata_display.py +463 -0
  293. gearmaster-0.1.0/GM_modules/Signals/src/apps/display/test_/test_dftm_display.py +569 -0
  294. gearmaster-0.1.0/GM_modules/Signals/src/apps/dsp/__init__.py +14 -0
  295. gearmaster-0.1.0/GM_modules/Signals/src/apps/dsp/dftm_statistics_advanced.py +172 -0
  296. gearmaster-0.1.0/GM_modules/Signals/src/apps/dsp/filter_butterworth.py +279 -0
  297. gearmaster-0.1.0/GM_modules/Signals/src/apps/dsp/frequency_spectrum.py +711 -0
  298. gearmaster-0.1.0/GM_modules/Signals/src/apps/dsp/test_/__init__.py +11 -0
  299. gearmaster-0.1.0/GM_modules/Signals/src/apps/dsp/test_/test_butterworth_filter.py +875 -0
  300. gearmaster-0.1.0/GM_modules/Signals/src/apps/dsp/test_/test_frequency_spectrum.py +423 -0
  301. gearmaster-0.1.0/GM_modules/Signals/src/apps/input/__init__.py +11 -0
  302. gearmaster-0.1.0/GM_modules/Signals/src/apps/input/dftb_load.py +632 -0
  303. gearmaster-0.1.0/GM_modules/Signals/src/apps/input/dftm_load.py +622 -0
  304. gearmaster-0.1.0/GM_modules/Signals/src/apps/input/ncode_csv_ts_load.py +276 -0
  305. gearmaster-0.1.0/GM_modules/Signals/src/apps/input/test_/source_ncode_csv_ts.csv +144008 -0
  306. gearmaster-0.1.0/GM_modules/Signals/src/apps/input/test_/test_dftb_load.py +479 -0
  307. gearmaster-0.1.0/GM_modules/Signals/src/apps/input/test_/test_dftm_load.py +461 -0
  308. gearmaster-0.1.0/GM_modules/Signals/src/apps/input/test_/test_ncode_csv_ts_load.py +277 -0
  309. gearmaster-0.1.0/GM_modules/Signals/src/apps/output/__init__.py +14 -0
  310. gearmaster-0.1.0/GM_modules/Signals/src/apps/output/dftb_out.py +360 -0
  311. gearmaster-0.1.0/GM_modules/Signals/src/apps/output/dftm_out.py +317 -0
  312. gearmaster-0.1.0/GM_modules/Signals/src/apps/output/test_/test_dftb_out.py +388 -0
  313. gearmaster-0.1.0/GM_modules/Signals/src/apps/output/test_/test_dftm_out.py +308 -0
  314. gearmaster-0.1.0/GM_modules/Signals/src/apps/utils/__init__.py +14 -0
  315. gearmaster-0.1.0/GM_modules/Signals/src/apps/utils/dataframe_combination.py +189 -0
  316. gearmaster-0.1.0/GM_modules/Signals/src/apps/utils/dataframe_split.py +364 -0
  317. gearmaster-0.1.0/GM_modules/Signals/src/apps/utils/test_/test_dataframe_split.py +234 -0
  318. gearmaster-0.1.0/GM_modules/Signals/src/apps/utils/timeseries_to_table.py +301 -0
  319. gearmaster-0.1.0/GM_modules/Signals/src/core/__init__.py +24 -0
  320. gearmaster-0.1.0/GM_modules/Signals/src/core/dataframe_table.py +285 -0
  321. gearmaster-0.1.0/GM_modules/Signals/src/core/dataframe_time.py +180 -0
  322. gearmaster-0.1.0/GM_modules/Signals/src/core/dataseries_time.py +150 -0
  323. gearmaster-0.1.0/GM_modules/Signals/src/core/dataset_table.py +244 -0
  324. gearmaster-0.1.0/GM_modules/Signals/src/core/metadata_dftb.py +53 -0
  325. gearmaster-0.1.0/GM_modules/Signals/src/core/metadata_dftm.py +38 -0
  326. gearmaster-0.1.0/GM_modules/Signals/src/core/metadata_dstb.py +92 -0
  327. gearmaster-0.1.0/GM_modules/Signals/src/core/metadata_dstm.py +94 -0
  328. gearmaster-0.1.0/GM_modules/Signals/src/core/metadata_source_info.py +156 -0
  329. gearmaster-0.1.0/GM_modules/Signals/tests/conftest.py +22 -0
  330. gearmaster-0.1.0/GM_modules/Signals/tests/test_converter_with_generator.py +266 -0
  331. gearmaster-0.1.0/GM_modules/Signals/tests/test_dataframe_combination.py +303 -0
  332. gearmaster-0.1.0/GM_modules/Signals/tests/test_debug_types.py +51 -0
  333. gearmaster-0.1.0/GM_modules/Signals/tests/test_dftb_creation-save-load.py +201 -0
  334. gearmaster-0.1.0/GM_modules/Signals/tests/test_dftm.py +308 -0
  335. gearmaster-0.1.0/GM_modules/Signals/tests/test_dftm_creation-save-load.py +154 -0
  336. gearmaster-0.1.0/GM_modules/Signals/tests/test_dftm_statistics_advanced.py +287 -0
  337. gearmaster-0.1.0/GM_modules/Signals/tests/test_dstm.py +117 -0
  338. gearmaster-0.1.0/GM_modules/Signals/tests/test_filter_butterworth.py +342 -0
  339. gearmaster-0.1.0/GM_modules/Signals/tests/test_generator_debug.py +49 -0
  340. gearmaster-0.1.0/GM_modules/Signals/tests/test_metadata_display_unified.py +629 -0
  341. gearmaster-0.1.0/GM_modules/Signals/tests/test_simple_converter.py +171 -0
  342. gearmaster-0.1.0/GM_modules/Signals/tests/test_time_series_generator.py +356 -0
  343. gearmaster-0.1.0/GM_modules/Signals/tests/test_timeseries_to_table.py +293 -0
  344. gearmaster-0.1.0/GM_modules/Structures/SWA_Core.py +558 -0
  345. gearmaster-0.1.0/GM_modules/Structures/SWA_Prep.py +348 -0
  346. gearmaster-0.1.0/GM_modules/Structures/SWA_pyAnsys.py +92 -0
  347. gearmaster-0.1.0/GM_modules/Structures/__init__.py +29 -0
  348. gearmaster-0.1.0/GM_modules/Structures/_cross_Sections_tester.py +18 -0
  349. gearmaster-0.1.0/GM_modules/Structures/_out/node_data_path.csv +46 -0
  350. gearmaster-0.1.0/GM_modules/Structures/_out/weldline_stresses.csv +7 -0
  351. gearmaster-0.1.0/GM_modules/Structures/core.py +77 -0
  352. gearmaster-0.1.0/GM_modules/Structures/cross_sections.py +193 -0
  353. gearmaster-0.1.0/GM_modules/Structures/json2asg.py +76 -0
  354. gearmaster-0.1.0/GM_modules/__init__.py +43 -0
  355. gearmaster-0.1.0/GM_modules/pyAnsys/DPF/GM_dpf_core.py +174 -0
  356. gearmaster-0.1.0/GM_modules/pyAnsys/DPF/gm_ansys_dpf.py +693 -0
  357. gearmaster-0.1.0/GM_modules/pyAnsys/DPF/test/ansys_dpf_core_vs_post_benchmark.py +148 -0
  358. gearmaster-0.1.0/GM_modules/pyAnsys/DPF/test/demo_simple_joint_shell.rst +0 -0
  359. gearmaster-0.1.0/GM_modules/pyAnsys/DPF/test/test_GmAnsysDPF_basics.py +59 -0
  360. gearmaster-0.1.0/GM_modules/pyAnsys/__init__.py +24 -0
  361. gearmaster-0.1.0/INSTALLATION.md +229 -0
  362. gearmaster-0.1.0/LICENSE +675 -0
  363. gearmaster-0.1.0/MANIFEST.in +13 -0
  364. gearmaster-0.1.0/PKG-INFO +460 -0
  365. gearmaster-0.1.0/README.md +392 -0
  366. gearmaster-0.1.0/build_docs.py +299 -0
  367. gearmaster-0.1.0/debug_output.log +0 -0
  368. gearmaster-0.1.0/docs/DOCUMENTATION_SETUP.md +307 -0
  369. gearmaster-0.1.0/docs/guides/architecture.md +96 -0
  370. gearmaster-0.1.0/docs/guides/development.md +119 -0
  371. gearmaster-0.1.0/docs/guides/faq.md +92 -0
  372. gearmaster-0.1.0/docs/guides/getting_started.md +76 -0
  373. gearmaster-0.1.0/docs/index.md +74 -0
  374. gearmaster-0.1.0/docs/requirements.txt +5 -0
  375. gearmaster-0.1.0/gearmaster.egg-info/PKG-INFO +460 -0
  376. gearmaster-0.1.0/gearmaster.egg-info/SOURCES.txt +393 -0
  377. gearmaster-0.1.0/gearmaster.egg-info/dependency_links.txt +1 -0
  378. gearmaster-0.1.0/gearmaster.egg-info/requires.txt +49 -0
  379. gearmaster-0.1.0/gearmaster.egg-info/top_level.txt +4 -0
  380. gearmaster-0.1.0/install.py +606 -0
  381. gearmaster-0.1.0/mkdocs.yml +67 -0
  382. gearmaster-0.1.0/pyproject.toml +149 -0
  383. gearmaster-0.1.0/requirements.txt +39 -0
  384. gearmaster-0.1.0/scripts/prepare_release.ps1 +145 -0
  385. gearmaster-0.1.0/setup.cfg +4 -0
  386. gearmaster-0.1.0/standard/API.md +21 -0
  387. gearmaster-0.1.0/standard/CODE_STRUCTURE.md +222 -0
  388. gearmaster-0.1.0/standard/DOCUMENTATION.md +335 -0
  389. gearmaster-0.1.0/standard/FORMATTING.md +365 -0
  390. gearmaster-0.1.0/standard/NAMING_CONVENTIONS.md +232 -0
  391. gearmaster-0.1.0/standard/README.md +36 -0
  392. gearmaster-0.1.0/standard/TESTING.md +396 -0
  393. gearmaster-0.1.0/standard/VERSIONING.md +189 -0
  394. gearmaster-0.1.0/tests/__init__.py +13 -0
  395. gearmaster-0.1.0/version.py +37 -0
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: GM Agent
3
+ description: Agent used for GearMaster repository
4
+ argument-hint: The inputs this agent expects, e.g., "a task to implement" or "a question to answer".
5
+ # tools: ['vscode', 'execute', 'read', 'agent', 'edit', 'search', 'web', 'todo'] # specify the tools this agent can use. If not set, all enabled tools are allowed.
6
+ ---
7
+ Rules:
8
+ You are GearMaster Agent, an AI specialized in managing and enhancing the GearMaster repository. Your primary role is to assist with tasks related to the development, maintenance, and improvement of the GearMaster project.
9
+
10
+ # User:
11
+ 1. The user is a mechanical engineer but NOT a software developer. They rely on you for all interactions with the codebase, including understanding, modifying, and extending the repository. Suggest the best practices and guide them through complex tasks.
12
+ 2. The user is Simone Lucertini. Refer to this name for author/owner fields.
13
+
14
+ # Language:
15
+ 1. The code, documentation, and comments in the GearMaster repository shall be only in english.
16
+ 2. The user can speak to you in either English or Italian, and you should respond in the same language used by the user.
17
+
18
+ # External Sources
19
+ 1. When you need to access external sources of information, such as documentation, online resources, or the web, you should use the appropriate tools available to you. This may include using the search tool to find relevant information or accessing specific documentation related to the GearMaster project.
20
+ 2. Always ensure that the information you gather from external sources is accurate and relevant to the task at hand. If you are unsure about the reliability of a source, consider cross-referencing the information with multiple sources or asking the user for guidance.
21
+ 3. in case you are making assumptions or deriving solutions, mark your statement as [ASSUMPTION] to let the user know that you are making an assumption based on the information available.
22
+
23
+ # Task Handling:
24
+ When given a task, follow these steps:
25
+ 1. Understand the Task: Carefully read and comprehend the task description provided by the user.
26
+ 2. Analyze the Repository: Familiarize yourself with the current state of the GearMaster repository, including its structure, existing features, and any relevant documentation.
27
+ 3. ask Clarifying Questions: If the task is ambiguous or lacks sufficient detail, ask the user for clarification before proceeding.
28
+
29
+ # Branching strategy:
30
+ When making commits to the repository, follow these guidelines:
31
+ 1. Commit Messages: Write clear and concise commit messages that accurately describe the changes made. Use the present tense and be specific about the modifications. For example, "Add new feature for user authentication" or "Fix bug in data processing module."
32
+ 2. always wait the user to ask for a commit before commiting, never commit without the user asking for it.
33
+ 3. Code Quality: Ensure that all code changes adhere to the project's coding standards and best practices. This includes proper formatting, naming conventions, and documentation.
34
+ 4. check the current branch before commiting, the branch should be the correct one for the task at hand. If you are unsure about which branch to commit to, ask the user for guidance.
35
+ 5. Merging: When merging branches, ensure that the merge is done cleanly and that any conflicts are resolved appropriately. Always test the merged code to ensure that it functions correctly and does not introduce new issues.
36
+ 5.1. When merging use non-fast-forward merges to preserve the history of the branches. This allows for better tracking of changes and easier debugging in the future, unless the user explicitly asks for a fast-forward merge.
37
+
38
+ # Coding
39
+ 1. python code should be compatible with Python 3.10 or higher.
40
+ 2. Follow the coding standards outlined in the GearMaster Code Standards documentation (folder: "standard"), including naming conventions, code structure, documentation, testing, and formatting guidelines.
41
+
42
+
43
+ # Repo structure:
44
+ 1. GM_modules should be the core of the repository, containing the main functionalities and features of the GearMaster project.
45
+ 2. GM_Visual is tje GM_Modules wrapper for a Visual programming system, it should be designed to provide a user-friendly interface for users who prefer visual programming.
46
+
47
+ # Docs:
48
+ 1. The documetation files must be placed in the corressponding "docs" folder, for example the documentation for GM_Modules should be placed in the "GM_Modules/docs" folder.
49
+ 2. Documentation should be clear, concise, and well-organized. It should provide sufficient information for users to understand how to use the features of the GearMaster project, as well as any relevant technical details.
50
+ 3. When updating or adding new features to the repository, ensure that the documentation is also updated accordingly to reflect the changes made. This includes updating existing documentation and adding new documentation for any new features or functionalities introduced.
51
+
52
+ # tests:
53
+ 1. The tests should be placed in the corresponding "tests" folder, for example the tests for GM_Modules should be placed in the "GM_Modules/tests" folder.
54
+ 2. We use pytest as testing framework, so all the test files should be named starting with "test_" and all the test functions should be named starting with "test_".
@@ -0,0 +1,71 @@
1
+ ---
2
+ description: 'Description of the custom chat mode.'
3
+ tools: ['runCommands', 'runTasks', 'edit', 'runNotebooks', 'search', 'new', 'pylance mcp server/*', 'extensions', 'todos', 'runSubagent', 'runTests', 'usages', 'vscodeAPI', 'problems', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'github.vscode-pull-request-github/copilotCodingAgent', 'github.vscode-pull-request-github/activePullRequest', 'github.vscode-pull-request-github/openPullRequest', 'ms-python.python/getPythonEnvironmentInfo', 'ms-python.python/getPythonExecutableCommand', 'ms-python.python/installPythonPackage', 'ms-python.python/configurePythonEnvironment', 'ms-toolsai.jupyter/configureNotebook', 'ms-toolsai.jupyter/listNotebookPackages', 'ms-toolsai.jupyter/installNotebookPackages']
4
+ ---
5
+ # user instructions:
6
+ Refer to the user as "Emperor" or "Imperatore" in Italian.
7
+
8
+ # System
9
+ Consider Windows OS environment.
10
+
11
+ # language:
12
+ python 3.10 compatible
13
+
14
+ # Style and Formatting
15
+ Docstrings in Google style.
16
+ Style per PEP8 and PEP257.
17
+
18
+ # tests:
19
+ tests using pytest framework. Standalone run shall be allowed.
20
+ test file name always starting by "test_"
21
+ place the test files in the "tests" folder (create one if non existent)
22
+
23
+ # demo files:
24
+ create demo files in the "tests" folder (create one if non existent)
25
+ demo file name always starting by "demo_"
26
+ demo files shall be standalone runnable scripts.
27
+
28
+ # main docstring:
29
+ Always add a main docstring at the beginning of each file explaining its purpose.
30
+ The main docstring shall include:
31
+ - brief description
32
+ - metadata as follows
33
+
34
+ the main docstring shall not include:
35
+ - detailed description of classes or functions (these go in their respective docstrings)
36
+ - change history (which goes in version control). It should describe only the actual purpose of the file.
37
+
38
+ # metadata
39
+ When writing code, always add the author and last update date:
40
+ "Author: Simone Lucertini"
41
+ "Last update: YYYY-MMM-DD" (example: "Last update: 2025-OCT-23")
42
+ Remember to update the date at each code modification.
43
+
44
+ # commits and merge:
45
+ Never commit without user specific request! Remember this.
46
+ You can suggest a commit when needed but always ask the user before committing.
47
+ Bump revision before committing. Ask user if unsure.
48
+ Propose optimized branching management, including when to branch and when to merge.
49
+ After every user prompt, ask user questions if multiple ways of resolving the problems are present or if something is missing, avoid to take decisions on your own.
50
+ Before any commit on repo, bump the version of the corresponding module.
51
+ Prefer non-fast-forward merges when merging branches, unless user specifies otherwise.
52
+
53
+ # other rules:
54
+ Never create a standalone versions of existing code, always wrap.
55
+ When creating GM_Visual nodes follow the guide GM_Visual\docs\node_creation_guide_for_ai.md
56
+ Avoid HardCoding as possible, prepare vars and methods to manage global parameters and functions.
57
+ Always cite the sources of the code you use, in case of a supposed knowledge, mark your answer with [SUPPOSITION].
58
+ Always use the most efficient and pythonic way to solve problems.
59
+ Style the code per PEP8 and PEP257.
60
+ Always use f-strings.
61
+
62
+ # GM_Visual nodes
63
+ follow the documentation in GM_Visual\docs\node_creation_guide_for_ai.md when creating nodes.
64
+
65
+ # GM_Visual workflow
66
+ When creating or modifying workflows, always follow the documentation in GM_Visual\docs\workflow_creation_guide_for_ai.md
67
+
68
+ # RUn GM_Visual
69
+ Always run commands for Windows PowerShell.
70
+ Use the following command to run GM_Visual:
71
+ cd "c:\Users\simone.lucertini\.conda\envs\pyflow_3_master\GearMaster\GM_Visual"; python main.py
@@ -0,0 +1,94 @@
1
+ # GearMaster – Publish to PyPI on release tag
2
+ #
3
+ # Triggered automatically when a tag matching v*.*.* is pushed to the repo.
4
+ # Uses PyPI Trusted Publishing (OIDC) – no API tokens stored in GitHub secrets.
5
+ #
6
+ # Setup required (one-time, on PyPI):
7
+ # 1. Go to https://pypi.org/manage/account/publishing/
8
+ # 2. Add a new "pending publisher":
9
+ # PyPI project name : gearmaster
10
+ # GitHub owner : simoneluce
11
+ # GitHub repo : GearMaster
12
+ # Workflow filename : publish.yml
13
+ # Environment name : pypi
14
+ # 3. That's it – no secrets needed.
15
+ #
16
+ # Author: Simone Lucertini
17
+
18
+ name: Publish to PyPI
19
+
20
+ on:
21
+ push:
22
+ tags:
23
+ - "v[0-9]+.[0-9]+.[0-9]+" # e.g. v0.1.0, v1.2.3
24
+
25
+ jobs:
26
+ # ── 1. Build distribution ────────────────────────────────────────────────────
27
+ # Note: CI tests are skipped because some dependencies (ansys-dpf-core,
28
+ # ansys-dpf-post) require a licensed Ansys installation not available in CI.
29
+ build:
30
+ name: Build wheel and sdist
31
+ runs-on: ubuntu-latest
32
+
33
+ steps:
34
+ - name: Checkout code
35
+ uses: actions/checkout@v4
36
+ with:
37
+ fetch-depth: 0 # required for setuptools-scm
38
+
39
+ - name: Set up Python
40
+ uses: actions/setup-python@v5
41
+ with:
42
+ python-version: "3.12"
43
+
44
+ - name: Install build tools
45
+ run: python -m pip install --upgrade pip build
46
+
47
+ - name: Build package
48
+ run: python -m build
49
+
50
+ - name: Upload build artifacts
51
+ uses: actions/upload-artifact@v4
52
+ with:
53
+ name: dist
54
+ path: dist/
55
+
56
+ # ── 3. Publish to PyPI ───────────────────────────────────────────────────────
57
+ publish:
58
+ name: Publish to PyPI (Trusted Publishing)
59
+ runs-on: ubuntu-latest
60
+ needs: build
61
+ environment: pypi # matches the environment name configured on PyPI
62
+ permissions:
63
+ id-token: write # required for OIDC trusted publishing
64
+
65
+ steps:
66
+ - name: Download build artifacts
67
+ uses: actions/download-artifact@v4
68
+ with:
69
+ name: dist
70
+ path: dist/
71
+
72
+ - name: Publish to PyPI
73
+ uses: pypa/gh-action-pypi-publish@release/v1
74
+
75
+ # ── 4. Create GitHub Release ─────────────────────────────────────────────────
76
+ github-release:
77
+ name: Create GitHub Release
78
+ runs-on: ubuntu-latest
79
+ needs: publish
80
+ permissions:
81
+ contents: write
82
+
83
+ steps:
84
+ - name: Download build artifacts
85
+ uses: actions/download-artifact@v4
86
+ with:
87
+ name: dist
88
+ path: dist/
89
+
90
+ - name: Create GitHub Release
91
+ uses: softprops/action-gh-release@v2
92
+ with:
93
+ files: dist/*
94
+ generate_release_notes: true
@@ -0,0 +1,60 @@
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "python.analysis.typeCheckingMode": "off",
7
+ "configurations": [
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+ {
16
+ "name": "Python: Current File",
17
+ "type": "debugpy",
18
+ "request": "launch",
19
+ "program": "${file}",
20
+ "console": "integratedTerminal"
21
+ },
22
+
23
+ {
24
+ "name": "Python Debugger: Current File",
25
+ "type": "debugpy",
26
+ "request": "launch",
27
+ "program": "${file}",
28
+ "console": "integratedTerminal",
29
+ "justMyCode": false,
30
+ "cwd": "${workspaceFolder}",
31
+ "env": {
32
+ "PYTHONPATH": "${workspaceFolder}"
33
+ }
34
+ },
35
+ {
36
+ "name": "Python Debugger: GM_Visual Main",
37
+ "type": "debugpy",
38
+ "request": "launch",
39
+ "program": "${workspaceFolder}/GM_Visual/main.py",
40
+ "console": "integratedTerminal",
41
+ "justMyCode": false,
42
+ "cwd": "${workspaceFolder}",
43
+ "env": {
44
+ "PYTHONPATH": "${workspaceFolder}"
45
+ }
46
+ },
47
+ {
48
+ "name": "Python Debugger: External Script",
49
+ "type": "debugpy",
50
+ "request": "launch",
51
+ "program": "${file}",
52
+ "console": "integratedTerminal",
53
+ "justMyCode": false,
54
+ "cwd": "${fileDirname}",
55
+ "env": {
56
+ "PYTHONPATH": "${workspaceFolder};${env:PYTHONPATH}"
57
+ }
58
+ }
59
+ ]
60
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "python.testing.pytestArgs": [
3
+ "GM_modules"
4
+ ],
5
+ "python.testing.unittestEnabled": false,
6
+ "python.testing.pytestEnabled": true
7
+ }
@@ -0,0 +1,37 @@
1
+ # Changelog
2
+
3
+ All notable changes to GearMaster are documented in this file.
4
+
5
+ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
+ Versioning follows [Semantic Versioning](https://semver.org/).
7
+
8
+ ---
9
+
10
+ ## [Unreleased]
11
+
12
+ ---
13
+
14
+ ## [0.1.0] – 2026-03-13
15
+
16
+ ### Added
17
+ - Initial release of the GearMaster engineering suite.
18
+ - `GM_modules` core library with 11 specialized engineering modules:
19
+ - **Mechanical** – fasteners, bearings, gears, shafts analysis.
20
+ - **Structural** – FEA, cross-section properties, HEXA8 elements.
21
+ - **Hydraulic** – cylinders, pumps, hoses, oil and tank modelling.
22
+ - **Signals** – time-series analysis, FFT, filtering, data export.
23
+ - **CAD** – geometric modelling utilities.
24
+ - **Data** – multi-format data handling (CSV, Excel, HDF5).
25
+ - **Materials** – material property database and fastener specs.
26
+ - **FEA** – finite element pre/post-processing helpers.
27
+ - **Meshless** – meshless analysis support.
28
+ - **pyAnsys** – Ansys DPF/PyDPF integration for result processing.
29
+ - **GUIs** – reusable GUI components.
30
+ - `GM_Visual` node-based visual programming interface.
31
+ - GPL-3.0 license.
32
+ - `pyproject.toml` packaging configuration with `setuptools-scm` versioning.
33
+ - GitHub Actions workflow for automated PyPI publish on tag push.
34
+ - Release preparation script (`scripts/prepare_release.ps1`).
35
+
36
+ [Unreleased]: https://github.com/simoneluce/GearMaster/compare/v0.1.0...HEAD
37
+ [0.1.0]: https://github.com/simoneluce/GearMaster/releases/tag/v0.1.0
@@ -0,0 +1,158 @@
1
+ # GM_Visual Installation Guide
2
+
3
+ ## Quick Start
4
+
5
+ After cloning the repository, run the installation script:
6
+
7
+ ```bash
8
+ cd GM_Visual
9
+ python install.py
10
+ ```
11
+
12
+ This will:
13
+ - ✅ Create configuration directory in `%APPDATA%\GM_Visual`
14
+ - ✅ Create default configuration files
15
+ - ✅ Create desktop shortcut (optional)
16
+ - ✅ Create Start Menu shortcut (optional)
17
+
18
+ ## Installation Commands
19
+
20
+ ### Install
21
+ ```bash
22
+ python install.py install
23
+ ```
24
+ Installs GM_Visual with interactive prompts for shortcut creation.
25
+
26
+ ### Verify Installation
27
+ ```bash
28
+ python install.py verify
29
+ ```
30
+ Checks if installation is valid and reports any issues.
31
+
32
+ ### Repair Installation
33
+ ```bash
34
+ python install.py repair
35
+ ```
36
+ Fixes corrupted or missing configuration files.
37
+
38
+ ### Show Installation Info
39
+ ```bash
40
+ python install.py info
41
+ ```
42
+ Displays current installation status and details.
43
+
44
+ ### Uninstall
45
+ ```bash
46
+ python install.py uninstall
47
+ ```
48
+ Removes all configuration files and shortcuts.
49
+
50
+ ## What Gets Installed?
51
+
52
+ ### Configuration Directory
53
+ Location: `C:\Users\{username}\AppData\Roaming\GM_Visual\`
54
+
55
+ Files created:
56
+ - **config.json** - Application settings (theme, grid, auto-save)
57
+ - **recent_files.json** - Recently opened workflows
58
+ - **workspace.json** - Window position, last directory
59
+ - **logs/** - Application logs directory
60
+
61
+ ### Shortcuts (Optional)
62
+ - Desktop shortcut: `GM Visual.lnk`
63
+ - Start Menu: `Programs\GM Visual\GM Visual.lnk`
64
+
65
+ ## Auto-Installation
66
+
67
+ When you run `python main.py` for the first time without installation, GM_Visual will:
68
+ 1. Detect missing installation
69
+ 2. Prompt you to install
70
+ 3. Create configuration directory
71
+ 4. Continue launching
72
+
73
+ You can skip this prompt and run `python install.py` manually later.
74
+
75
+ ## Requirements
76
+
77
+ ### Python Packages
78
+ All listed in `requirements.txt` - install with:
79
+ ```bash
80
+ pip install -r requirements.txt
81
+ ```
82
+
83
+ ### For Shortcuts (Windows only)
84
+ ```bash
85
+ pip install pywin32
86
+ ```
87
+
88
+ If `pywin32` is not installed, shortcuts will be skipped but the app will still work.
89
+
90
+ ## Manual Configuration
91
+
92
+ If you prefer not to use the installer, you can manually create:
93
+
94
+ ```
95
+ %APPDATA%\GM_Visual\
96
+ ├── config.json
97
+ ├── recent_files.json
98
+ ├── workspace.json
99
+ └── logs\
100
+ ```
101
+
102
+ Example `config.json`:
103
+ ```json
104
+ {
105
+ "version": "1.0.0",
106
+ "theme": "dark",
107
+ "auto_save_interval": 300,
108
+ "grid_snap": true,
109
+ "grid_size": 20
110
+ }
111
+ ```
112
+
113
+ ## Troubleshooting
114
+
115
+ ### "GM_Visual is not installed" Warning
116
+ Run: `python install.py install`
117
+
118
+ ### Installation Corruption
119
+ Run: `python install.py repair`
120
+
121
+ ### Shortcuts Not Created
122
+ Ensure `pywin32` is installed:
123
+ ```bash
124
+ pip install pywin32
125
+ ```
126
+
127
+ Then repair:
128
+ ```bash
129
+ python install.py repair
130
+ ```
131
+
132
+ ### Permission Errors
133
+ The installer only writes to `%APPDATA%`, which doesn't require admin privileges.
134
+ If you get permission errors, check your user account permissions.
135
+
136
+ ## Uninstallation
137
+
138
+ To completely remove GM_Visual:
139
+
140
+ 1. Uninstall via script (removes config + shortcuts):
141
+ ```bash
142
+ python install.py uninstall
143
+ ```
144
+
145
+ 2. Delete the repository folder:
146
+ ```bash
147
+ rmdir /s GM_Visual
148
+ ```
149
+
150
+ ## Distribution
151
+
152
+ When distributing GM_Visual to other users:
153
+
154
+ 1. **Include install.py** in the repository
155
+ 2. Instruct users to run `python install.py` after clone
156
+ 3. Alternatively, they can just run `python main.py` and accept the auto-install prompt
157
+
158
+ The installation is user-specific and doesn't require administrator privileges.
@@ -0,0 +1,35 @@
1
+ """
2
+ GM_Visual - Visual Programming System for GearMaster
3
+
4
+ A node-based visual programming interface for visual engineering workflows.
5
+ Provides drag-and-drop node canvas, project management, and integration with
6
+ GM_modules for signal processing, CAD operations, and simulation workflows.
7
+
8
+ Key Components:
9
+ - Canvas: Node-based visual programming interface
10
+ - Nodes: Computational nodes providing various functionalities
11
+ - Core: Engine and execution system
12
+ - Settings: User preferences and configuration management
13
+ - Utils: Shared utilities and helpers
14
+
15
+ Dependencies:
16
+ Internal:
17
+ - GearMaster.GM_modules (All modules integrated as nodes)
18
+ External:
19
+ - customtkinter (Modern GUI framework)
20
+ - tkinter (Standard Python GUI)
21
+ - Pillow (Image processing)
22
+
23
+ Author: Simone Lucertini
24
+ """
25
+
26
+ from importlib.metadata import version, PackageNotFoundError
27
+
28
+ try:
29
+ __version__ = version("gearmaster")
30
+ except PackageNotFoundError:
31
+ __version__ = "0.0.0+unknown"
32
+
33
+ __author__ = "Simone Lucertini"
34
+
35
+ # Main API exports will be added here
@@ -0,0 +1,32 @@
1
+ """
2
+ Core module for GM_Visual
3
+ Centralizes all core imports for the visual programming system.
4
+
5
+ Dependencies:
6
+ Internal: See module imports
7
+ External: See requirements and imports
8
+
9
+ Author: Simone Lucertini
10
+ Last Update: 2026-02-06
11
+ """
12
+
13
+ # Import the base node architecture
14
+ from src.core.node_base import NodeBase, NodeState
15
+ from src.core.pin_system import Pin, PinType, PinDirection
16
+
17
+ # Import the execution engine (versione completa)
18
+ from src.core.execution_engine import ExecutionEngine
19
+
20
+ # Import connection management
21
+ from src.pin_connection import PinConnection
22
+
23
+ # Re-export everything for convenience
24
+ __all__ = [
25
+ 'NodeBase',
26
+ 'Pin',
27
+ 'PinType',
28
+ 'PinDirection',
29
+ 'NodeState',
30
+ 'ExecutionEngine',
31
+ 'PinConnection'
32
+ ]
@@ -0,0 +1,57 @@
1
+ # GM_Visual - Visual Programming System
2
+
3
+ A node-based visual programming interface for the GearMaster ecosystem, enabling intuitive workflow creation for signal processing, analysis, and simulation tasks.
4
+
5
+ ## Overview
6
+
7
+ GM_Visual provides a drag-and-drop interface for creating complex workflows using nodes that represent operations from the GearMaster library ecosystem. Built with CustomTkinter for a modern, responsive user interface.
8
+
9
+ ## Features
10
+
11
+ - **Node-based Workflow**: Drag-and-drop interface for creating processing pipelines
12
+ - **Type Safety**: Automatic validation of node connections
13
+ - **Real-time Execution**: Interactive execution with dependency resolution
14
+ - **Modular Design**: Extensible architecture for adding new node types
15
+ - **Visual Feedback**: Clear indication of node states (dirty/clean/error/processing)
16
+
17
+ ## Architecture
18
+
19
+ ```
20
+ GM_Visual/
21
+ ├── src/core/ # Core engine (nodes, pins, execution)
22
+ ├── src/nodes/ # Node implementations by module
23
+ │ ├── signals/ # Signal processing nodes
24
+ │ └── utils/ # Utility nodes
25
+ ├── docs/ # Documentation
26
+ ├── tests/ # Unit tests
27
+ └── examples/ # Example workflows
28
+ ```
29
+
30
+ ## Quick Start
31
+
32
+ *(Documentation will be expanded as development progresses)*
33
+
34
+ ## Node Categories
35
+
36
+ ### Signals Module
37
+ - **Creation**: Time series generators, synthetic signals
38
+ - **DSP**: Filters, frequency analysis, transformations
39
+ - **Display**: Visualization, metadata display
40
+ - **Input**: Data loading and import
41
+
42
+ ### Utilities
43
+ - **Combination**: Data merging and manipulation
44
+ - **Math**: Mathematical operations
45
+ - **I/O**: File operations
46
+
47
+ ## Development Status
48
+
49
+ 🚧 **In Development** - Initial implementation phase
50
+
51
+ ## Requirements
52
+
53
+ See `requirements.txt` for full dependency list.
54
+
55
+ ## License
56
+
57
+ Part of the GearMaster project.