Saturday, November 30, 2013

Parsing Solid Models for Holes

I've been playing with a macro to get hole information (coordinates, diameter, etc) out of solid models in FreeCAD. It is a challenge and I don't think I will ever be totally done, because there are so many corner cases. I am concentrating on the types of parts that I would be milling in my shop- ie blocks of metal that I can drill with a simple 3 axis Bridgeport CNC mill. I will leave the 5 axis stuff to others :) Here is a screenshot of what I have so far:
The lines coming up and out of the holes indicate that I am successful. Here is my macro: