Module: LibEagle::Types

Defined in:
lib/libeagle/types.rb

Class Method Summary collapse

Class Method Details

.AlignObject



75
76
77
# File 'lib/libeagle/types.rb', line 75

def Types.Align
	/^(bottom-left|bottom-center|bottom-right|center-left|center|center-right|top-left|top-center|top-right)$/i
end

.AttributeDisplayObject



35
36
37
# File 'lib/libeagle/types.rb', line 35

def Types.AttributeDisplay
	/^(off|value|name|both)$/i
end

.BoolObject



3
4
5
# File 'lib/libeagle/types.rb', line 3

def Types.Bool
  /^(no|yes)$/i
end

.ContactRouteObject



63
64
65
# File 'lib/libeagle/types.rb', line 63

def Types.ContactRoute
	/^(all|any)$/i
end

.DimensionTypeObject



67
68
69
# File 'lib/libeagle/types.rb', line 67

def Types.DimensionType
	/^(parallel|horizontal|vertical|radius|diameter|leader)$/i
end

.GateAddLevelObject



59
60
61
# File 'lib/libeagle/types.rb', line 59

def Types.GateAddLevel
	/^(must|can|next|request|always)$/i
end

.GridStyleObject



11
12
13
# File 'lib/libeagle/types.rb', line 11

def Types.GridStyle
	/^(lines|dots)$/i
end

.GridUnitObject



7
8
9
# File 'lib/libeagle/types.rb', line 7

def Types.GridUnit
	/^(mic|mm|mil|inch)$/i
end

.PadShapeObject



23
24
25
# File 'lib/libeagle/types.rb', line 23

def Types.PadShape
	/^(square|round|octagon|long|offset)$/i
end

.PinDirectionObject



51
52
53
# File 'lib/libeagle/types.rb', line 51

def Types.PinDirection
	/^(nc|in|out|io|oc|pwr|pas|hiz|sup)$/i
end

.PinFunctionObject



55
56
57
# File 'lib/libeagle/types.rb', line 55

def Types.PinFunction
	/^(none|dot|clk|dotclk)$/i
end

.PinLengthObject



47
48
49
# File 'lib/libeagle/types.rb', line 47

def Types.PinLength
	/^(point|short|middle|long)$/i
end

.PinVisibleObject



43
44
45
# File 'lib/libeagle/types.rb', line 43

def Types.PinVisible
	/^(off|pad|pin|both)$/i
end

.PolygonPourObject



39
40
41
# File 'lib/libeagle/types.rb', line 39

def Types.PolygonPour
	/^(solid|hatch|cutout)$/i
end

.SeverityObject



71
72
73
# File 'lib/libeagle/types.rb', line 71

def Types.Severity
	/^(info|warning|error)$/i
end

.TextFontObject



31
32
33
# File 'lib/libeagle/types.rb', line 31

def Types.TextFont
	/^(vector|proportional|fixed)$/i
end

.VerticalTextObject



79
80
81
# File 'lib/libeagle/types.rb', line 79

def Types.VerticalText
	/^(up|down)$/i
end

.ViaShapeObject



27
28
29
# File 'lib/libeagle/types.rb', line 27

def Types.ViaShape
	/^(square|round|octagon)$/i
end

.WireCapObject



19
20
21
# File 'lib/libeagle/types.rb', line 19

def Types.WireCap
	/^(flat|round)$/i
end

.WireStyleObject



15
16
17
# File 'lib/libeagle/types.rb', line 15

def Types.WireStyle
	/^(continuous|longdash|shortdash|dashdot)$/i
end