Thanks for your answer, QuaoarOnce you know the cylinders, you can always consult their axes. Have you checked the recognize-holes command of Analysis Situs? You can use its implementation in C++.
OpenCascade does not provide any feature recognition tools. You'll have to write custom code to reliably detect holes. It's not difficult though.Thanks for your answer, Quaoar
My question is is this command also available in opencascade? Or this command is just a command you encapsulated in the Analysis Situs project, so how should you call it when using the opencascade library?