File: vendor.example.lht

package info (click to toggle)
pcb-rnd 3.1.7b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,108 kB
  • sloc: ansic: 213,400; yacc: 6,241; sh: 4,698; awk: 3,016; makefile: 2,254; lex: 1,166; python: 519; xml: 261; lisp: 154; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (43 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
ha:vendor_drill_map {
	# Optional name of the vendor
	vendor = Vendor Name

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

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

	# drill table
	li:drillmap = {
		# The list of vendor drill sizes.  Units are as specified
		# above.
		20
		28
		35
		38
		42
		52
		59.5
		86
		125
		152
	}

	# 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.
	li:skips = {
		refdes = {^J3$}                   # Skip J3.
		refdes = {J3}                     # Skip anything with J3 as part of the refdes.
		refdes = {^U[1-3]$}               # Skip U1, U2, U3
		refdes = {^X.*}                   # Skip 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 footprint attribute ("description" in old terminology)
		a.foo  = {bar}                    # The a. prefix skips using arbitrary attribute (foo in this case)
	}
}