I also wouldn't mind using other open tools if I can get away with
scripting everything in Python. For example, I've investigated
cropping vector images in Inkscape and then exporting back to dxf.
However, it seems that importing a DXF into Inkscape doesn't work too
well. I've also tried using OpenOffice Draw to convert a DXF to SVG -
it worked, but I didn't have much success using the resulting SVG in
Inkscape.
So many ways to skin a cat, and yet none of them has really gotten me
the whole distance yet.
Aaron
On Jul 24, 2009, at 12:37 AM, [email protected] wrote:
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