PAMLE

Running the Mesh Viewer App on Windows

This guide provides step-by-step instructions to run the Mesh Viewer app on a Windows machine using the provided run_app_windows.bat script.

Prerequisites

Steps to Run the App

  1. Open Command Prompt
    • Press Win + R, type cmd, and press Enter.
  2. Navigate to the Project Directory
    • Use the cd command to navigate to the directory where the project is located.
    • Example:
      cd path\to\mesh-viewer
      
  3. Run the Batch Script
    • Execute the batch file by typing:
      run_app_windows.bat
      
    • This script will:
      • Check if Conda is installed and available in your PATH.
      • If Conda is not found, it will prompt to download and install Miniconda silently.
      • After installation, it will initialize Conda in the current session.
      • Check if the Conda environment open3d-env exists; if not, it will create it and install required packages.
      • Activate the open3d-env environment.
      • Start the Flask app.
      • Open your default browser to the app URL: http://127.0.0.1:5001
      • Pause the terminal window so you can see any messages or errors.
  4. Using the App
    • Once the browser opens, you can interact with the Mesh Viewer app.
    • The terminal window will remain open until you press any key, allowing you to see logs or errors.
  5. Stopping the App
    • To stop the Flask app, go to the terminal window and press Ctrl + C.
    • Close the terminal window if desired.

Troubleshooting

Notes


This completes the setup and running instructions for the Mesh Viewer app on Windows.