Module: LibEagle::Types
- Defined in:
- lib/libeagle/types.rb
Class Method Summary collapse
- .Align ⇒ Object
- .AttributeDisplay ⇒ Object
- .Bool ⇒ Object
- .ContactRoute ⇒ Object
- .DimensionType ⇒ Object
- .GateAddLevel ⇒ Object
- .GridStyle ⇒ Object
- .GridUnit ⇒ Object
- .PadShape ⇒ Object
- .PinDirection ⇒ Object
- .PinFunction ⇒ Object
- .PinLength ⇒ Object
- .PinVisible ⇒ Object
- .PolygonPour ⇒ Object
- .Severity ⇒ Object
- .TextFont ⇒ Object
- .VerticalText ⇒ Object
- .ViaShape ⇒ Object
- .WireCap ⇒ Object
- .WireStyle ⇒ Object
Class Method Details
.Align ⇒ Object
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 |
.AttributeDisplay ⇒ Object
35 36 37 |
# File 'lib/libeagle/types.rb', line 35 def Types.AttributeDisplay /^(off|value|name|both)$/i end |
.Bool ⇒ Object
3 4 5 |
# File 'lib/libeagle/types.rb', line 3 def Types.Bool /^(no|yes)$/i end |
.ContactRoute ⇒ Object
63 64 65 |
# File 'lib/libeagle/types.rb', line 63 def Types.ContactRoute /^(all|any)$/i end |
.DimensionType ⇒ Object
67 68 69 |
# File 'lib/libeagle/types.rb', line 67 def Types.DimensionType /^(parallel|horizontal|vertical|radius|diameter|leader)$/i end |
.GateAddLevel ⇒ Object
59 60 61 |
# File 'lib/libeagle/types.rb', line 59 def Types.GateAddLevel /^(must|can|next|request|always)$/i end |
.GridStyle ⇒ Object
11 12 13 |
# File 'lib/libeagle/types.rb', line 11 def Types.GridStyle /^(lines|dots)$/i end |
.GridUnit ⇒ Object
7 8 9 |
# File 'lib/libeagle/types.rb', line 7 def Types.GridUnit /^(mic|mm|mil|inch)$/i end |
.PadShape ⇒ Object
23 24 25 |
# File 'lib/libeagle/types.rb', line 23 def Types.PadShape /^(square|round|octagon|long|offset)$/i end |
.PinDirection ⇒ Object
51 52 53 |
# File 'lib/libeagle/types.rb', line 51 def Types.PinDirection /^(nc|in|out|io|oc|pwr|pas|hiz|sup)$/i end |
.PinFunction ⇒ Object
55 56 57 |
# File 'lib/libeagle/types.rb', line 55 def Types.PinFunction /^(none|dot|clk|dotclk)$/i end |
.PinLength ⇒ Object
47 48 49 |
# File 'lib/libeagle/types.rb', line 47 def Types.PinLength /^(point|short|middle|long)$/i end |
.PinVisible ⇒ Object
43 44 45 |
# File 'lib/libeagle/types.rb', line 43 def Types.PinVisible /^(off|pad|pin|both)$/i end |
.PolygonPour ⇒ Object
39 40 41 |
# File 'lib/libeagle/types.rb', line 39 def Types.PolygonPour /^(solid|hatch|cutout)$/i end |
.Severity ⇒ Object
71 72 73 |
# File 'lib/libeagle/types.rb', line 71 def Types.Severity /^(info|warning|error)$/i end |
.TextFont ⇒ Object
31 32 33 |
# File 'lib/libeagle/types.rb', line 31 def Types.TextFont /^(vector|proportional|fixed)$/i end |
.VerticalText ⇒ Object
79 80 81 |
# File 'lib/libeagle/types.rb', line 79 def Types.VerticalText /^(up|down)$/i end |
.ViaShape ⇒ Object
27 28 29 |
# File 'lib/libeagle/types.rb', line 27 def Types.ViaShape /^(square|round|octagon)$/i end |
.WireCap ⇒ Object
19 20 21 |
# File 'lib/libeagle/types.rb', line 19 def Types.WireCap /^(flat|round)$/i end |
.WireStyle ⇒ Object
15 16 17 |
# File 'lib/libeagle/types.rb', line 15 def Types.WireStyle /^(continuous|longdash|shortdash|dashdot)$/i end |