About | Features | Technologies | Requirements | Starting | Example | License | Author
This is a python library used for the 3D points sampling form the stl files. Aimed for the fast 3D model dataset creation. The newest function please visit the example.py
✔️ CUDA boost for precise interior stl points sampling;
✔️ Output the points as numpy array or files;
The following tools were used in this project:
Before starting 🏁, you need to have Git and Python 3.10 + installed.
# Clone this project
$ git clone https://github.com/JustinLinKK/stl-sampling-with-trimesh
# Access
$ cd stl-sampling-with-trimesh
# Install dependencies
$ pip install -r requirements.txt
# Install pytorch with CUDA (CUDA is optional)
$ pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
$ pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
# Run the project
$ python example.py
This project is under license from MIT. For more details, see the LICENSE file.
Made with ❤️ by JustinLinKK


