[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: dxf again



On Thu, Jul 15, 2010 at 4:46 PM, Dave N6NZ <n6nz@xxxxxxxx> wrote:
>
>
> But my application is a little different.  I want to get a DXF file that I can run through a CAM package, in particular the paste layer, which isn't a 'real' layer, unfortunately -- it is synthesized in the output HID as I understand it.  And while preserving dimensions is useful in some situations, I also want to be able to do rule-based adjustments of dimensions.  And I also want to be able to deal with a pcb design from any tool.
>
> Anyway, my last thoughts were that pcb is the wrong place to do what I want to do.  The correct place is a gerber2dxf conversion tool.  The new gerbv is librarized, so one could write a front-end to libgerbv that read gerbers via libgerbv and then did the massage and output function.  You might checkout the gerbv library API, and consider if maybe that is a better place to accomplish your job.
>

In my Googling, I ran across an application called "pcbtodxf" that
purports to do gerber->dxf.  No idea about licensing, platform etc.

So it turns out there is a bitrotted dxf exporter HID at
http://github.com/bert/pcb-dxf-hid/

I'm working my way through it, trying to get it to compile.

It's kind of slow going, like a 5400-line C file that has never been
compiled before.  By that, I mean there are lots of little mistakes
like this:

void somefunction( char *s ) {
  if (s == "") {
...etc...

Of course, the compiler complains to the heavens about this, and it's
an easy fix, but it makes me less than hopeful that the code's gonna
work.

Regards,
Mark
markrages@gmail
-- 
Mark Rages, Engineer
Midwest Telecine LLC
markrages@xxxxxxxxxxxxxxxxxxx


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user