wolph / numpy-stl

Simple library to make working with STL files (and 3D objects in general) fast and easy.
http://numpy-stl.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
628 stars 107 forks source link

Find a hole in a mesh #181

Closed diazGT94 closed 1 year ago

diazGT94 commented 3 years ago

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?

wolph commented 3 years ago

This library does not provide any functionality for that, but you could do that :)

Here's a useful discussion on stackoverflow: https://stackoverflow.com/questions/12968478/how-to-detect-a-hole-in-the-triangular-mesh