From 42503a909abb2e4f388ec154ca3bf6e70338697e Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 12 Jul 2022 08:44:05 -0300 Subject: [PATCH] [SCH][Print] A global option to cross components without a body. - Only for KiCad 6 Closes #219 --- CHANGELOG.md | 2 +- README.md | 1 + kibot/globals.py | 2 + kibot/gs.py | 1 + kibot/kicad/v6_sch.py | 7 + .../kicad_6/test_cross_units/.gitignore | 1 + .../print_svg_no_ics.kibot.yaml | 28 + .../kicad_6/test_cross_units/t1.kicad_sch | 876 ++++++++++++++++++ 8 files changed, 917 insertions(+), 1 deletion(-) create mode 100644 tests/board_samples/kicad_6/test_cross_units/.gitignore create mode 100644 tests/board_samples/kicad_6/test_cross_units/print_svg_no_ics.kibot.yaml create mode 100644 tests/board_samples/kicad_6/test_cross_units/t1.kicad_sch diff --git a/CHANGELOG.md b/CHANGELOG.md index 1faceadd..066a5ec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Try to download missing tools and Python modules. The user also gets more information when something is missing. It can be disabled from the command line. - +- A global option to cross components without a body. ## [1.2.0] - 2022-06-15 ### Added diff --git a/README.md b/README.md index 3aa7217a..fb2b14db 100644 --- a/README.md +++ b/README.md @@ -617,6 +617,7 @@ global: - *copper_finish*: Alias for pcb_finish. - `copper_thickness`: [number|string] Copper thickness in micrometers (1 Oz is 35 micrometers). KiCad 6: you should set this in the Board Setup -> Physical Stackup. + - `cross_no_body`: [boolean=false] Cross components even when they don't have a body. Only for KiCad 6. - `date_format`: [string='%Y-%m-%d'] Format used for the day we started the script. Is also used for the PCB/SCH date formatting when `time_reformat` is enabled (default behavior). Uses the `strftime` format. diff --git a/kibot/globals.py b/kibot/globals.py index cefbd661..dcfff3e2 100644 --- a/kibot/globals.py +++ b/kibot/globals.py @@ -100,6 +100,8 @@ class Globals(FiltersOptions): self.copper_thickness = 35 """ [number|string] Copper thickness in micrometers (1 Oz is 35 micrometers). KiCad 6: you should set this in the Board Setup -> Physical Stackup """ + self.cross_no_body = False + """ Cross components even when they don't have a body. Only for KiCad 6 """ self.date_format = '%Y-%m-%d' """ Format used for the day we started the script. Is also used for the PCB/SCH date formatting when `time_reformat` is enabled (default behavior). diff --git a/kibot/gs.py b/kibot/gs.py index 049e0100..55bf9765 100644 --- a/kibot/gs.py +++ b/kibot/gs.py @@ -99,6 +99,7 @@ class GS(object): class_for_global_opts = None global_castellated_pads = None global_copper_thickness = None + global_cross_no_body = None global_date_format = None global_date_time_format = None global_dir = None diff --git a/kibot/kicad/v6_sch.py b/kibot/kicad/v6_sch.py index ae837d92..dcfe5c14 100644 --- a/kibot/kicad/v6_sch.py +++ b/kibot/kicad/v6_sch.py @@ -897,15 +897,22 @@ class LibComponent(object): name = self.name+"_"+str(c+1) box = Box() units_with_graphs = [] + unit_without_graphs = None for unit in self.units: # Unit 0 is part of unit 1 if unit.name.startswith(name) or (c == 0 and unit.name.startswith(name0)): box.union(unit.box) if len(unit.draw): + # We can have more than one drawing. This is used for the alternative version units_with_graphs.append(unit) + else: + unit_without_graphs = unit if units_with_graphs: for u in units_with_graphs: u.cross_box = box + elif unit_without_graphs is not None and GS.global_cross_no_body: + unit_without_graphs.cross_box = box + # Note: if unit_without_graphs is None is because we are inside a unit and it doesn't have a sub-unit def write_cross(s, sdata): """ Add the cross drawing """ diff --git a/tests/board_samples/kicad_6/test_cross_units/.gitignore b/tests/board_samples/kicad_6/test_cross_units/.gitignore new file mode 100644 index 00000000..1ee4dc09 --- /dev/null +++ b/tests/board_samples/kicad_6/test_cross_units/.gitignore @@ -0,0 +1 @@ +no_ics diff --git a/tests/board_samples/kicad_6/test_cross_units/print_svg_no_ics.kibot.yaml b/tests/board_samples/kicad_6/test_cross_units/print_svg_no_ics.kibot.yaml new file mode 100644 index 00000000..1c501b66 --- /dev/null +++ b/tests/board_samples/kicad_6/test_cross_units/print_svg_no_ics.kibot.yaml @@ -0,0 +1,28 @@ +# Example KiBot config file +kibot: + version: 1 + +globals: + cross_no_body: true + +filters: + - name: 'no_ics' + comment: 'ICs removed' + type: generic + exclude_refs: + - U* + +variants: + - name: 'no_ics' + comment: 'ICs removed' + type: kibom + file_id: '_(no_ics)' + dnf_filter: 'no_ics' + +outputs: + - name: 'no_ics' + comment: "ICs removed" + type: svg_sch_print + dir: no_ics + options: + variant: 'no_ics' diff --git a/tests/board_samples/kicad_6/test_cross_units/t1.kicad_sch b/tests/board_samples/kicad_6/test_cross_units/t1.kicad_sch new file mode 100644 index 00000000..d17acfbd --- /dev/null +++ b/tests/board_samples/kicad_6/test_cross_units/t1.kicad_sch @@ -0,0 +1,876 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid c69b8655-cba8-45d8-8793-85552c213f21) + + (paper "A4") + + (lib_symbols + (symbol "74xx:74LS00" (pin_names (offset 1.016)) (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 0 1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS00" (id 1) (at 0 -1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74ls00" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "TTL nand 2-input" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "quad 2-input NAND gate" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "DIP*W7.62mm* SO14*" (id 7) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "74LS00_1_1" + (arc (start 0 -3.81) (mid 3.81 0) (end 0 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy 0 3.81) + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 0 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_1_2" + (arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 3.81) + (xy -0.635 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -0.635 3.81) + (xy -3.81 3.81) + (xy -3.81 3.81) + (xy -3.556 3.4036) + (xy -3.0226 2.2606) + (xy -2.6924 1.0414) + (xy -2.6162 -0.254) + (xy -2.7686 -1.4986) + (xy -3.175 -2.7178) + (xy -3.81 -3.81) + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width -25.4) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input inverted (at -7.62 2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 -2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_2_1" + (arc (start 0 -3.81) (mid 3.81 0) (end 0 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy 0 3.81) + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 0 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_2_2" + (arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 3.81) + (xy -0.635 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -0.635 3.81) + (xy -3.81 3.81) + (xy -3.81 3.81) + (xy -3.556 3.4036) + (xy -3.0226 2.2606) + (xy -2.6924 1.0414) + (xy -2.6162 -0.254) + (xy -2.7686 -1.4986) + (xy -3.175 -2.7178) + (xy -3.81 -3.81) + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width -25.4) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input inverted (at -7.62 2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 -2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_3_1" + (arc (start 0 -3.81) (mid 3.81 0) (end 0 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy 0 3.81) + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 0 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 -2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_3_2" + (arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 3.81) + (xy -0.635 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -0.635 3.81) + (xy -3.81 3.81) + (xy -3.81 3.81) + (xy -3.556 3.4036) + (xy -3.0226 2.2606) + (xy -2.6924 1.0414) + (xy -2.6162 -0.254) + (xy -2.7686 -1.4986) + (xy -3.175 -2.7178) + (xy -3.81 -3.81) + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width -25.4) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input inverted (at -7.62 -2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_4_1" + (arc (start 0 -3.81) (mid 3.81 0) (end 0 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy 0 3.81) + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 0 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_4_2" + (arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -3.81 3.81) + (xy -0.635 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -0.635 3.81) + (xy -3.81 3.81) + (xy -3.81 3.81) + (xy -3.556 3.4036) + (xy -3.0226 2.2606) + (xy -2.6924 1.0414) + (xy -2.6162 -0.254) + (xy -2.7686 -1.4986) + (xy -3.175 -2.7178) + (xy -3.81 -3.81) + (xy -3.81 -3.81) + (xy -0.635 -3.81) + ) + (stroke (width -25.4) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output line (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin input inverted (at -7.62 -2.54 0) (length 4.318) + (name "~" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_5_0" + (pin power_in line (at 0 12.7 270) (length 5.08) + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 -12.7 90) (length 5.08) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS00_5_1" + (rectangle (start -5.08 7.62) (end 5.08 -7.62) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + ) + ) + (symbol "Amplifier_Audio:OPA1622" (pin_names (offset 0.127)) (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 3.81 6.35 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "OPA1622" (id 1) (at 3.81 3.81 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "Package_SON:Texas_S-PVSON-N10" (id 2) (at 0 -10.16 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/opa1622.pdf" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "dual opamp audio" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "High-Fidelity, Bipolar-Input, Audio Operational Amplifier, VSON-10" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "Texas*PVSON*" (id 7) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "OPA1622_1_1" + (polyline + (pts + (xy -5.08 5.08) + (xy 5.08 0) + (xy -5.08 -5.08) + (xy -5.08 5.08) + (xy -5.08 5.08) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 2.54 0) (length 2.54) + (name "+" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 2.54) + (name "-" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 0 7.62 270) (length 5.08) + (name "EN" (effects (font (size 0.508 0.508)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 2.54) + (name "~" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "OPA1622_2_1" + (polyline + (pts + (xy -5.08 5.08) + (xy 5.08 0) + (xy -5.08 -5.08) + (xy -5.08 5.08) + (xy -5.08 5.08) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 2.54 0) (length 2.54) + (name "+" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 2.54) + (name "-" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 2.54) + (name "~" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "OPA1622_3_1" + (pin passive line (at -2.54 -7.62 90) (length 3.81) hide + (name "V-" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at -2.54 7.62 270) (length 3.81) + (name "V+" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 -7.62 90) (length 5.08) + (name "GND" (effects (font (size 0.508 0.508)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at -2.54 -7.62 90) (length 3.81) + (name "V-" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "Amplifier_Operational:TL082" (pin_names (offset 0.127)) (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 0 5.08 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "TL082" (id 1) (at 0 -5.08 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl081.pdf" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "dual opamp" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Dual JFET-Input Operational Amplifiers, DIP-8/SOIC-8/SSOP-8" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOIC*3.9x4.9mm*P1.27mm* DIP*W7.62mm* TO*99* OnSemi*Micro8* TSSOP*3x3mm*P0.65mm* TSSOP*4.4x3mm*P0.65mm* MSOP*3x3mm*P0.65mm* SSOP*3.9x4.9mm*P0.635mm* LFCSP*2x2mm*P0.5mm* *SIP* SOIC*5.3x6.2mm*P1.27mm*" (id 7) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "TL082_1_1" + (polyline + (pts + (xy -5.08 5.08) + (xy 5.08 0) + (xy -5.08 -5.08) + (xy -5.08 5.08) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output line (at 7.62 0 180) (length 2.54) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 2.54) + (name "-" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 2.54 0) (length 2.54) + (name "+" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "TL082_2_1" + (polyline + (pts + (xy -5.08 5.08) + (xy 5.08 0) + (xy -5.08 -5.08) + (xy -5.08 5.08) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 2.54 0) (length 2.54) + (name "+" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 -2.54 0) (length 2.54) + (name "-" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 7.62 0 180) (length 2.54) + (name "~" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "TL082_3_1" + (pin power_in line (at -2.54 -7.62 90) (length 3.81) + (name "V-" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at -2.54 7.62 270) (length 3.81) + (name "V+" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + ) + ) + ) + + + (symbol (lib_id "74xx:74LS00") (at 143.51 109.22 0) (unit 5) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 08c7ea0d-40da-4f74-b380-ff052300f9a5) + (property "Reference" "U2" (id 0) (at 143.51 100.33 0)) + (property "Value" "74LS00" (id 1) (at 143.51 102.87 0)) + (property "Footprint" "" (id 2) (at 143.51 109.22 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74ls00" (id 3) (at 143.51 109.22 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid b14dd112-07b0-4193-bbe0-a05bf1f4197a)) + (pin "2" (uuid 378f5661-1b9b-4aa6-bab6-c5b5c9161641)) + (pin "3" (uuid fc7bcf77-2b8b-4a4e-86cc-7b820c87308d)) + (pin "4" (uuid 38a81a27-47f4-4070-9157-c15042e74244)) + (pin "5" (uuid b040802d-593c-4a88-812e-c0dbd705adb0)) + (pin "6" (uuid 363c3a7f-f0f1-4d46-9444-0fd35b38085b)) + (pin "10" (uuid 46e51765-218d-4d06-a055-e50f4899b3e3)) + (pin "8" (uuid 8baacc94-7ff3-42c9-8817-68402e829277)) + (pin "9" (uuid 5928a97b-2802-4d1a-8198-04b2a17672c5)) + (pin "11" (uuid dca471a7-009a-432c-ad9d-769573b37e70)) + (pin "12" (uuid f5c69468-f5ce-4af6-8d0b-a8fb8352ebf4)) + (pin "13" (uuid 642514ef-6a79-4821-acf2-db73124c5fcb)) + (pin "14" (uuid b19f6349-be78-4dc4-8a3c-cdf4a3456070)) + (pin "7" (uuid aad5751b-584e-463c-8f94-4851ddbbc34b)) + ) + + (symbol (lib_id "Amplifier_Operational:TL082") (at 101.6 55.88 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 1e1ca8d6-377c-40fc-a219-9557ca619436) + (property "Reference" "U1" (id 0) (at 101.6 45.72 0)) + (property "Value" "TL082" (id 1) (at 101.6 48.26 0)) + (property "Footprint" "" (id 2) (at 101.6 55.88 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl081.pdf" (id 3) (at 101.6 55.88 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid a558ac98-49af-4149-a992-72090606dfb0)) + (pin "2" (uuid 1d34145d-74d9-484f-b4b0-75264cdd17af)) + (pin "3" (uuid b0cc960d-0d25-4a18-894b-ce7513abd864)) + (pin "5" (uuid 8309c6cb-3ea9-402c-bb6a-ae2ee26589e2)) + (pin "6" (uuid c0cbc188-3787-47f9-8bce-e4b0ca171e28)) + (pin "7" (uuid 4d3a7aff-80e1-45ee-b809-ef5451b18ba5)) + (pin "4" (uuid c07a8215-d563-47f0-a324-7e45ea8a038d)) + (pin "8" (uuid 6f3d3599-e7e2-4735-b377-d7563c307e59)) + ) + + (symbol (lib_id "74xx:74LS00") (at 124.46 118.11 0) (unit 4) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 3dff43c1-b44f-4d57-a326-efa83f1f1640) + (property "Reference" "U2" (id 0) (at 124.46 109.22 0)) + (property "Value" "74LS00" (id 1) (at 124.46 111.76 0)) + (property "Footprint" "" (id 2) (at 124.46 118.11 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74ls00" (id 3) (at 124.46 118.11 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 2d07360a-26b2-494b-b6c2-82a9684dc10b)) + (pin "2" (uuid f0266d4d-cede-40fb-9c85-e9d46f7acb1e)) + (pin "3" (uuid 750281e5-9286-49ab-a0a1-facf821e03e2)) + (pin "4" (uuid 2457bb63-3c92-4355-ab8d-d66d35d23083)) + (pin "5" (uuid 6d5820dd-7632-4d1e-a96b-2f8512ccc930)) + (pin "6" (uuid 55614579-c49b-4799-91bd-1dd69eb1c5a7)) + (pin "10" (uuid c9b3420f-b4e2-423c-abbf-4c9e63344eb3)) + (pin "8" (uuid 0f7e3a1d-9f7f-4347-b359-4be84a6a502e)) + (pin "9" (uuid da81dc56-cb47-410e-a391-9d80d9b47a0e)) + (pin "11" (uuid 0b004f09-a1ae-4a2a-9fcd-05551e5c8130)) + (pin "12" (uuid 4eefcabb-8c5e-4e11-aba6-2a5fb96a55ce)) + (pin "13" (uuid d7d7cea8-1298-421b-8d3f-9a1d2bf39b8d)) + (pin "14" (uuid 13efc39b-f513-4411-ab99-dc33c170d63a)) + (pin "7" (uuid 12e5d125-0493-4d70-a285-a5a626b4fd40)) + ) + + (symbol (lib_id "74xx:74LS00") (at 124.46 101.6 0) (unit 2) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 4cbe322b-9235-466a-aaf5-5914af55a0cf) + (property "Reference" "U2" (id 0) (at 124.46 92.71 0)) + (property "Value" "74LS00" (id 1) (at 124.46 95.25 0)) + (property "Footprint" "" (id 2) (at 124.46 101.6 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74ls00" (id 3) (at 124.46 101.6 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 0327b308-0fc4-4014-aef9-5dbb51ca088b)) + (pin "2" (uuid c78247ce-9ff5-4bc3-950c-a808d66953c1)) + (pin "3" (uuid ad7f5f9f-25fb-42df-8c48-13e7da6f5a5b)) + (pin "4" (uuid 2457bb63-3c92-4355-ab8d-d66d35d23082)) + (pin "5" (uuid 6d5820dd-7632-4d1e-a96b-2f8512ccc92f)) + (pin "6" (uuid 55614579-c49b-4799-91bd-1dd69eb1c5a6)) + (pin "10" (uuid c9b3420f-b4e2-423c-abbf-4c9e63344eb2)) + (pin "8" (uuid 0f7e3a1d-9f7f-4347-b359-4be84a6a502d)) + (pin "9" (uuid da81dc56-cb47-410e-a391-9d80d9b47a0d)) + (pin "11" (uuid 0b004f09-a1ae-4a2a-9fcd-05551e5c812f)) + (pin "12" (uuid 4eefcabb-8c5e-4e11-aba6-2a5fb96a55cd)) + (pin "13" (uuid d7d7cea8-1298-421b-8d3f-9a1d2bf39b8c)) + (pin "14" (uuid 13efc39b-f513-4411-ab99-dc33c170d639)) + (pin "7" (uuid 12e5d125-0493-4d70-a285-a5a626b4fd3f)) + ) + + (symbol (lib_id "Amplifier_Operational:TL082") (at 125.73 55.88 0) (unit 2) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 65db8ac6-ded4-4a25-95f7-15d187d5be51) + (property "Reference" "U1" (id 0) (at 125.73 45.72 0)) + (property "Value" "TL082" (id 1) (at 125.73 48.26 0)) + (property "Footprint" "" (id 2) (at 125.73 55.88 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tl081.pdf" (id 3) (at 125.73 55.88 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid b6f6010c-a999-481f-9807-7e3e1395134d)) + (pin "2" (uuid 829ad40f-c032-483b-b1da-dedb183fcce1)) + (pin "3" (uuid aac4e453-f8f8-4911-a458-52a125be105d)) + (pin "5" (uuid 2c3cfc74-d636-47a0-b72c-855fe882af1b)) + (pin "6" (uuid c4ff7aa5-0e98-4c52-8593-e021547861f5)) + (pin "7" (uuid 5c703d9f-888d-48f0-b3ff-9c72f07109c5)) + (pin "4" (uuid 1c23c77c-b459-4604-b6e9-da1024272894)) + (pin "8" (uuid c4166321-beb8-4345-a714-553945a4b624)) + ) + + (symbol (lib_id "Amplifier_Audio:OPA1622") (at 218.44 82.55 0) (unit 2) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 70d3ab22-ba40-4dfb-9a42-c6f4f8c4781e) + (property "Reference" "U3" (id 0) (at 218.44 72.39 0)) + (property "Value" "OPA1622" (id 1) (at 218.44 74.93 0)) + (property "Footprint" "Package_SON:Texas_S-PVSON-N10" (id 2) (at 218.44 92.71 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/opa1622.pdf" (id 3) (at 218.44 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 72fe778f-51fa-4a0f-8827-bdaa23c58bd2)) + (pin "10" (uuid b38d8c3c-4be6-4bfe-8f87-fadb4a45673c)) + (pin "8" (uuid fe32c341-bed5-40d8-a91e-84e414006eed)) + (pin "9" (uuid cb29bc44-f10b-4b92-be54-ff6e781a55fa)) + (pin "5" (uuid cb11c266-3a3b-4b0a-ac08-da4d01fd7f0d)) + (pin "6" (uuid bd246786-3d03-45cd-80a1-096699d2f7e8)) + (pin "7" (uuid f1b8319c-5d21-453f-9ae6-fa6e15b4f1cd)) + (pin "11" (uuid 7aa5e835-babe-4173-a8a4-b541536cb331)) + (pin "2" (uuid e993605e-cebe-4060-81bd-e0d08a1af8d1)) + (pin "3" (uuid 3ad2ef8b-3ae1-4f5d-bd81-ea4345d5f3a8)) + (pin "4" (uuid 258f1720-168d-4af8-bdc7-926755f7b12a)) + ) + + (symbol (lib_id "74xx:74LS00") (at 105.41 101.6 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 8e2fe8d6-25cf-4d75-ade3-645d09b2879a) + (property "Reference" "U2" (id 0) (at 105.41 92.71 0)) + (property "Value" "74LS00" (id 1) (at 105.41 95.25 0)) + (property "Footprint" "" (id 2) (at 105.41 101.6 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74ls00" (id 3) (at 105.41 101.6 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 6b230b96-d887-4e17-a5f2-57f8fccfe05f)) + (pin "2" (uuid c2dcc494-be4a-4b2c-a72e-bfd6f688f1df)) + (pin "3" (uuid 73006e06-abd7-4748-b8f6-4e73ae701058)) + (pin "4" (uuid 2457bb63-3c92-4355-ab8d-d66d35d23084)) + (pin "5" (uuid 6d5820dd-7632-4d1e-a96b-2f8512ccc931)) + (pin "6" (uuid 55614579-c49b-4799-91bd-1dd69eb1c5a8)) + (pin "10" (uuid c9b3420f-b4e2-423c-abbf-4c9e63344eb4)) + (pin "8" (uuid 0f7e3a1d-9f7f-4347-b359-4be84a6a502f)) + (pin "9" (uuid da81dc56-cb47-410e-a391-9d80d9b47a0f)) + (pin "11" (uuid 0b004f09-a1ae-4a2a-9fcd-05551e5c8131)) + (pin "12" (uuid 4eefcabb-8c5e-4e11-aba6-2a5fb96a55cf)) + (pin "13" (uuid d7d7cea8-1298-421b-8d3f-9a1d2bf39b8e)) + (pin "14" (uuid 13efc39b-f513-4411-ab99-dc33c170d63b)) + (pin "7" (uuid 12e5d125-0493-4d70-a285-a5a626b4fd41)) + ) + + (symbol (lib_id "Amplifier_Audio:OPA1622") (at 195.58 82.55 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 99f6e59f-be1d-4388-9444-f37d4dc88faa) + (property "Reference" "U3" (id 0) (at 195.58 90.17 0)) + (property "Value" "OPA1622" (id 1) (at 195.58 92.71 0)) + (property "Footprint" "Package_SON:Texas_S-PVSON-N10" (id 2) (at 195.58 92.71 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/opa1622.pdf" (id 3) (at 195.58 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 39b77d72-7112-4c2b-91e6-eacf18843b2d)) + (pin "10" (uuid 2c94d543-dabc-43ba-b3da-066ad0862665)) + (pin "8" (uuid 76f462d5-e7c6-48b1-a45e-540314f3edca)) + (pin "9" (uuid f0f0a621-50f9-4911-806c-407de96e0d6c)) + (pin "5" (uuid 38db8803-f20a-4230-8722-ddb39b8b8c53)) + (pin "6" (uuid 7d93e0ff-fcad-4b10-9214-f4e678632450)) + (pin "7" (uuid d615f8ea-5049-4e19-b476-6b8d8f9eb0ad)) + (pin "11" (uuid 9c006d45-7d32-4a3e-96ba-754260303e82)) + (pin "2" (uuid 0db9788d-1d79-478d-ac64-2b37cfaf5842)) + (pin "3" (uuid 59b47cb7-b2a4-4c31-ab3b-1bd7c4b5cef2)) + (pin "4" (uuid 065f8bbb-c5df-47a5-b39c-221317dc0616)) + ) + + (symbol (lib_id "74xx:74LS00") (at 105.41 118.11 0) (unit 3) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 9acb89c1-8c79-4791-b703-982b43c21f2e) + (property "Reference" "U2" (id 0) (at 105.41 109.22 0)) + (property "Value" "74LS00" (id 1) (at 105.41 111.76 0)) + (property "Footprint" "" (id 2) (at 105.41 118.11 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74ls00" (id 3) (at 105.41 118.11 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 219eca6a-93bc-4aee-95f8-94b7da665c08)) + (pin "2" (uuid c16274e6-ce5d-4fd5-871f-e8eb8a38883a)) + (pin "3" (uuid 14d853a4-ab1b-47e9-b474-0e9ee4a49c20)) + (pin "4" (uuid 2457bb63-3c92-4355-ab8d-d66d35d23085)) + (pin "5" (uuid 6d5820dd-7632-4d1e-a96b-2f8512ccc932)) + (pin "6" (uuid 55614579-c49b-4799-91bd-1dd69eb1c5a9)) + (pin "10" (uuid c9b3420f-b4e2-423c-abbf-4c9e63344eb5)) + (pin "8" (uuid 0f7e3a1d-9f7f-4347-b359-4be84a6a5030)) + (pin "9" (uuid da81dc56-cb47-410e-a391-9d80d9b47a10)) + (pin "11" (uuid 0b004f09-a1ae-4a2a-9fcd-05551e5c8132)) + (pin "12" (uuid 4eefcabb-8c5e-4e11-aba6-2a5fb96a55d0)) + (pin "13" (uuid d7d7cea8-1298-421b-8d3f-9a1d2bf39b8f)) + (pin "14" (uuid 13efc39b-f513-4411-ab99-dc33c170d63c)) + (pin "7" (uuid 12e5d125-0493-4d70-a285-a5a626b4fd42)) + ) + + (symbol (lib_id "Amplifier_Audio:OPA1622") (at 236.22 82.55 0) (unit 3) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid ecb7818c-f6ea-4984-a87b-017a024c377f) + (property "Reference" "U3" (id 0) (at 237.49 81.2799 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "OPA1622" (id 1) (at 237.49 83.8199 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "Package_SON:Texas_S-PVSON-N10" (id 2) (at 236.22 92.71 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/opa1622.pdf" (id 3) (at 236.22 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 86c9f38a-8686-47ff-862e-4b509ed07491)) + (pin "10" (uuid 6d287fb4-9574-435d-b978-18dcb26d7c17)) + (pin "8" (uuid 2d2c747c-9754-42c4-84bc-ad28b3210b8f)) + (pin "9" (uuid ed308b41-9161-4543-a608-dc9a7b7e00a1)) + (pin "5" (uuid 8fdd3335-3923-418b-9e6e-1bfe00996740)) + (pin "6" (uuid 05e521dc-6237-4b19-942f-d13918a73e0e)) + (pin "7" (uuid 2fc8d37e-e76e-46e5-aafd-5b6fd7ffa519)) + (pin "11" (uuid 3cf2662e-4a4f-456b-a718-ba79146c3f18)) + (pin "2" (uuid bc4aa52e-26af-414c-a27c-b5aa04608383)) + (pin "3" (uuid c7bd3a2e-6560-4011-bb45-331be426de5c)) + (pin "4" (uuid 4e3bbecf-e758-44c3-8111-d9527c3ef29d)) + ) + + (sheet_instances + (path "/" (page "1")) + ) + + (symbol_instances + (path "/1e1ca8d6-377c-40fc-a219-9557ca619436" + (reference "U1") (unit 1) (value "TL082") (footprint "") + ) + (path "/65db8ac6-ded4-4a25-95f7-15d187d5be51" + (reference "U1") (unit 2) (value "TL082") (footprint "") + ) + (path "/8e2fe8d6-25cf-4d75-ade3-645d09b2879a" + (reference "U2") (unit 1) (value "74LS00") (footprint "") + ) + (path "/4cbe322b-9235-466a-aaf5-5914af55a0cf" + (reference "U2") (unit 2) (value "74LS00") (footprint "") + ) + (path "/9acb89c1-8c79-4791-b703-982b43c21f2e" + (reference "U2") (unit 3) (value "74LS00") (footprint "") + ) + (path "/3dff43c1-b44f-4d57-a326-efa83f1f1640" + (reference "U2") (unit 4) (value "74LS00") (footprint "") + ) + (path "/08c7ea0d-40da-4f74-b380-ff052300f9a5" + (reference "U2") (unit 5) (value "74LS00") (footprint "") + ) + (path "/99f6e59f-be1d-4388-9444-f37d4dc88faa" + (reference "U3") (unit 1) (value "OPA1622") (footprint "Package_SON:Texas_S-PVSON-N10") + ) + (path "/70d3ab22-ba40-4dfb-9a42-c6f4f8c4781e" + (reference "U3") (unit 2) (value "OPA1622") (footprint "Package_SON:Texas_S-PVSON-N10") + ) + (path "/ecb7818c-f6ea-4984-a87b-017a024c377f" + (reference "U3") (unit 3) (value "OPA1622") (footprint "Package_SON:Texas_S-PVSON-N10") + ) + ) +)