numpy-stl
numpy-stl copied to clipboard
Simple library to make working with STL files (and 3D objects in general) fast and easy.
Hi, I want to know if there is an easy way to delete specific triangles from a mesh from an STL file. I can delete the vertices of the triangles...
Hi! First off thanks for developing this library, it's been really fun to tinker with while working on my undergrad thesis! I'm having a bit of an issue though. When...
Hi, I'm new using .stl models with Python. And I was wondering if I've a model that has two holes is it possible to find the hole dimensions and centroids?
My geometry is 2D and I tried both Delaunay from scipy.spatial and Triangle to mesh my geometry and then, I added the z coordination as 0 to all the vectors....
Z-height
Hello, Thanks to everyone who made this library available to public. 1) Is there an option to rotate an stll object using x, y, and z angles? If yes, how?...
In [https://numpy-stl.readthedocs.io/en/latest/tests.html#](url), I can see that there are modules to validate your stl files, how do I access it?
#I tried this code: ```python your_mesh = mesh.Mesh.from_file('dog.stl') xyz = (your_mesh.max_ - your_mesh.min_) len = xyz[0] wid = xyz[1] heig = xyz[2] ``` #Is it correct? #What is the length...
**env** google colab **steps** ``` !curl -LC - https://static.wikia.nocookie.net/batman/images/6/68/Batman_Logo.png -o batman.png pip install -U numpy-stl ``` **code** ``` from stl import mesh import numpy as np from PIL import Image...
Hi, when we run the tests from [`python-numpy-stl`](https://aur.archlinux.org/packages/python-numpy-stl), some of them failed. - [`python`](https://archlinux.org/packages/core/x86_64/python) version: 3.12.4 - [`cython`](https://archlinux.org/packages/extra/x86_64/cython) version: 3.0.10 - [`python-utils`](https://archlinux.org/packages/extra/any/python-utils) version: 3.8.2 - [`python-numpy`](https://archlinux.org/packages/extra/x86_64/python-numpy) version: 2.0.1 ``` ->...