Handle .stl file in python


Hello Sir, I need python code which can import .stl file and count number of holes/circles inside STL file. (STL: STereoLithography)

(Menno Deij - van Rijswijk) #2

You cannot load an STL directly - it must be loaded into the Rhino document first. After that, you can get access to the meshes and analyze them.