> - Removed the code for the actual BOM list, for I only need the XY stuff.

You're exporting the elements, and not the traces?

> AFAIK pcb has 4 Cardinal angles of [0, 90, 180, 270] degrees.

No, PCB allows for any angle.  We just don't use it for elements yet.
The exception is the "TDir" (text direction) flag, which is 0, 1, 2,
or 3, but that doesn't rotate the element itself, just the text label.

> For now I have implemented a quick and dirty solution --> if (theta == 0.0)
> dxf_rot_angle = 90.0; else if ... etc.
> 
> And it shouldn't be to hard to add another 4 "else if" statements with
> precooked angles when intercardinal angles are implemented.

Please use math instead, if you're referring to PCB angles.

> Are we (pcb) still going for mils/100 ?

PCB's internal units are 1/100 mil (0.000010 inch).  You may convert
that to whatever units your output format needs.

> Is metrification a feature that is going to be implemented in pcb in the
> foreseeable future ?

Please use COOR_TO_MM and MM_TO_COOR if you need metric.

Note that lesstif HID also has PCB_TO_MM and MM_TO_PCB.

> For now I have implemented a quick and dirty solution --> #define MILS2MM
> (1000/25.4) and #define METRIC 1

We have a MIL_TO_MM and MM_TO_MIL already.


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to