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
605 stars 103 forks source link

Find a hole in a mesh #181

Closed diazGT94 closed 10 months ago

diazGT94 commented 2 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 2 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