Freecad is an open source parametric 3D modeler designed for mechanical engineering. Their source code is hosted at GitHub.