Hi Aaron, Actualy pythoncad dos not supporting dxf dwg files, we are working on it.. but i think that we are able to load and write dxf/dwg file for the next yeard ....(hopfully)..
You can do such a think using autocad and building a com application (Could be python ) that call autocad open the big file and divide all the primitives and than save in different files.. ciao Matteo >----Messaggio originale---- >Da: [email protected] >Data: 23/07/2009 2.55 >A: <[email protected]> >Ogg: [PythonCAD] slicing up a 2D dxf > >I'm not sure if this is the right place to ask, so if I'm way off >base, maybe you could direct me to a better resource... > >I have a large dxf file (eg. 16" x12") that I'd like to break up into a >series of "tile" dxf files (eg. 3in x 3in) due to some limitations of >the machine tool I'll be using to cut out the parts. Ideally, I'd like >to be able to this using Python - can anyone recommend an approach to >tackling this problem? Even if I had to convert to some intermediate >vector format like SVG, that's fine as long as dimensions are preserved. > >I know it can be done by hand in AutoCAD or Solidworks, but I'd really >like to have an automated approach since this process is going to be >repeated many, many times. > >Thanks, >Aaron >_______________________________________________ >PythonCAD mailing list >[email protected] >http://mail.python.org/mailman/listinfo/pythoncad > _______________________________________________ PythonCAD mailing list [email protected] http://mail.python.org/mailman/listinfo/pythoncad
