pcb

Board dimensions

Bug #699529 reported by nobody
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA project
New
Wishlist
Unassigned
pcb
New
Wishlist
Unassigned

Bug Description

Hi,

Before I say anything, let me congratulate the
authors! This is truly a helpfull tool. Currently
I am in deep waters, but would like to spend more
time checking out the program. I have only done one
board, and it went smooth.

Just one question. If I have a funny shape board,
is it possible to, for example, import it from a
dxf or postscript file to get the board boundaries?
If not, this would be a helpfull feature...

Kindest Regards,

Jan Tait

Revision history for this message
danmc (danmc) wrote :

not currently. What you'd need is a way to translate
whatever format you have, dxf for example, into a series of
line segments which specify the outline. For example, a
rectangular outline might look like this in the pcb file:

Layer(8 "outline")
(
        Line[42500 202500 42500 277500 1000 2000 0x00000020]
        Line[42500 277500 125000 277500 1000 2000 0x00000020]
        Line[125000 277500 125000 202500 1000 2000 0x00000020]
        Line[125000 202500 42500 202500 1000 2000 0x00000020]
)

the "Line" specifications are X1, Y1, X2, Y2, width (1000 is
good for a board outline), clearance (not important for
outline, could set to 0), flags (these are ok). In addition
to line segments, you can have arc segments.

So the real question is how hard is it to extract a set of
lines and arcs from dxf. I suspect it would be easier there
than in postscript, but I don't know anything about dxf so I
could be quite wrong.

Felix Ruoff (felixruoff)
tags: added: 3rd-party-import
Traumflug (mah-jump-ing)
Changed in geda-project:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.