Skip to content

Code in web flask that detects wear and breakage of broaching in real time

Notifications You must be signed in to change notification settings

CFAA-EHU/broaching_wear_breakage_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployment Instructions

Requirements for deploying the application on your local computer:

  • Install Python (version 3.7 or higher) and pip.
  • Clone the GitHub repository in a Python IDE environment (e.g., PyCharm, Visual Studio).
  • Install the necessary libraries in the environment where the repository is installed using the following command: pip install -r "requirements.txt".
  • Extract the model from the .zip file located in the /Rotura/Modelo folder into the same directory.

Getting the app up and running:

  • Click the green Run button or execute python3 main_windows.py (if you are on Linux, run main.py) in the Python IDE environment terminal.
  • Open your web browser and navigate to http://127.0.0.1:5000/.
  • Enter the input parameters (parameters should be entered in the following order: 42, 915, 10, 40, IN718) and click Save and Start simulation.
  • Begin the manual simulation by copying CSV files one by one from the /Rotura folder to the /Rotura/Simulacion folder (do this for each CSV file).
  • The application will gradually display the wear for each pass and detect if a breakage occurs.

If you are planning to reuse this code, please cite us as: "CFAA-UPV/EHU (2023). Broaching wear breakage detection [Source code]. GitHub repository."

Instrucciones para el despliegue

Requisitos para desplegar la aplicación en ordenador local.

  • Tener Python (version 3.7 o mayor) y pip instalados.
  • Clonar el repositorio de Github en un entorno IDE de python (Pycharm, Visual Studio).
  • Instalar las librerías necesarias en el entorno donde este instalado el repositorio: pip install -r "requirements.txt".
  • Extraer el .zip del modelo ubicado en la carpeta /Rotura/Modelo en esa misma carpeta.

Poner la app en marcha:

  • Darle al boton verde de Run o ejecutar python3 main_windows.py (si estamos en linux ejecutar main.py) en la terminal de Visual Studio.
  • Abrir el navegador y poner http://127.0.0.1:5000/.
  • Introducir los parametros de entrada (los parametros van en el siguiente orden: 42, 915, 10, 40, IN718) y darle a Guardar y empezar simulacion.
  • Empezar con la simulación manual, copiar uno a uno en orden un csv de la carpeta /Rotura a la carpeta /Rotura/Simulacion (ir haciendo esto con cada csv).
  • La aplicación mostrará gradualmente el desgaste en cada pasada y detectará si ocurre una rotura.

Si planeas usar este código, por favor cítanos como: "CFAA-UPV/EHU (2023). Broaching wear breakage detection [Source code]. GitHub repository."

About

Code in web flask that detects wear and breakage of broaching in real time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published