This project converts .ply
and .obj
mesh files to .stl
format. Follow the steps below to set up and run the conversion process.
-
Place Mesh Files
- Place all your
.ply
and.obj
mesh files inside theMeshes
folder.
- Place all your
-
Create Python Virtual Environment
- Run the following command to create a virtual environment:
python -m venv venv
- Run the following command to create a virtual environment:
-
Activate Virtual Environment
- Activate the virtual environment with the following command:
- On Windows:
.\venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
- Activate the virtual environment with the following command:
-
Install Dependencies
- Install the required dependencies from the
requirements.txt
file:pip install -r requirements.txt
- Install the required dependencies from the
-
Run Conversion Script
- Execute the conversion script:
python .\convert.py
- Execute the conversion script:
-
Locate Converted Files
- Find all the converted
.stl
files inside theMeshes/Final/
directory.
- Find all the converted