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

Re: gEDA-user: drill size editting in PCB




how interesting! I let Olimex do my last PCB too.

greetz,
s.


Bob Paddock wrote:
and edit them after layout job is done, in order to reduce them to those standard values that the board-house likes?


I think Dan was working on a new feature to map drills to a "vendor
drill list" so you might want to check out CVS and start testing it.


Here is a vendor file I put together to use with Olimex, to go with the CVS
code. It "normalizes" the drills to what the vendor wants you to use, unless
you list the item in the skip list. It is better to start with the vendor file at the start of the design, but not required, than using it at the end of the design, to avoid having to fix up DRC issues.


# File Rev: 02Nov2004
# Optional name of the vendor:
vendor = "http://www.olimex.com/pcb/";

# Each layer MUST have text inside or outside PCB area to prevent board
# production with mirrored layers.

# Units for dimensions in this file.
# Allowed values:  mil/inch/mm
units = mil

# Drill table:
drillmap = {
    # When mapping drill sizes, select the nearest size
    # or always round up.  Allowed values:  up/nearest
    round = up

    # The list of vendor drill sizes.  Units are as specified
    # above.

# Olimex uses METRIC drill sizes with step of 0.1 mm and all drill sizes are to
# be rounded to the nearest metric drill size. For instance if you are using 27
# mils, 28 mils and 29 mils drill sizes they all will be rounded to 0.7 mm. To
# convert from IMPERIAL to METRIC you should divide your IMPERIAL drill size by
# 39.37 i.e. 130 mils / 39.37 = 3.3 mm and vice versa 1.0 mm = 39.37 mils, after
# rounding = 39 mils.


# The pad - drill hole clearance must be > 0.406 mm (>16 mils) i.e. the resulting
# annual ring to be 0.203 mm (8 mils) - i.e. if 0.9 mm drill size is used it MUST
# have pad/via diameter = min. 1.306 mm.


# Minimum drill size is 0.6 mm (24 mils). # Maximum drill size is 5.0 mm (197 mils).

28 # 0.7 mm 35 # 0.9 mm 39 # 1.0 mm 43 # 1.1 mm 51 # 1.3 mm 59 # 1.5 mm 83 # 2.1 mm 130 # 3.3 mm

    # If the drill is not on the above list there is a $1.05 charge for each
    # non-standard drill size. i.e. if you use 0.6 mm, 1.0 mm, 1.5 mm in your
    # board you will be charged $1.05 as 0.6 mm is non-standard drill hole

# Optional section for skipping mapping of certain elements
# based on reference designator, value, or description.
# This is useful for critical parts where you may not
# want to change the drill size. Note that the strings
# are regular expressions.
skips = {
# {refdes "^J3$"} # Skip J3.
# {refdes "J3"} # Skip anything with J3 as part of the refdes.
# {refdes "^U[1-3]$" "^X.*"} # Skip U1, U2, U3, and anything starting with X.
{value "^JOHNSTECH_.*"} # Skip all Johnstech footprints based on the value of a part.
{descr "^AMP_MICTOR_767054_1$"} # Skip based on the description.
}
}


# If specified, this section will change the current DRC
# settings for the design.  Units are as specified above.

# Minimum track width/space is 0.203 mm (8 mils), minimum silk is 10 mils. drc = {
copper_space = 8
copper_width = 8
silk_width = 10
copper_overlap = 4
}





--

Shahab Sanjari (sanjariathrzdottu-darmstadtdotde)