Not sure about the source code but you could try http://www.planet-source-code.com if there are any you should be able to get the Unix code working on OSX.
And on the Modeler you can try http://www.blender3d.org/ (opens various formats but only exports to dxf I think) or you can try...