Ver código fonte

add cern license to pcb design. export diy pcb pdf.

Thomas Buck 1 mês atrás
pai
commit
d67819d93a
4 arquivos alterados com 22 adições e 4 exclusões
  1. 3
    0
      pcb/drumkit.kicad_pcb
  2. 3
    0
      pcb/drumkit.kicad_sch
  3. 2
    2
      pcb/generate_fab.sh
  4. 14
    2
      pcb/generate_plot.sh

+ 3
- 0
pcb/drumkit.kicad_pcb Ver arquivo

@@ -9,6 +9,9 @@
9 9
     (title "Drumkit")
10 10
     (date "2024-03-29")
11 11
     (rev "1.5")
12
+    (comment 1 "https://git.xythobuz.de/thomas/drumkit")
13
+    (comment 2 "Licensed under the CERN-OHL-S-2.0+")
14
+    (comment 4 "Copyright (c) 2024 Kauzerei, Thomas Buck")
12 15
   )
13 16
 
14 17
   (layers

+ 3
- 0
pcb/drumkit.kicad_sch Ver arquivo

@@ -8,6 +8,9 @@
8 8
     (title "Drumkit")
9 9
     (date "2024-03-29")
10 10
     (rev "1.5")
11
+    (comment 1 "https://git.xythobuz.de/thomas/drumkit")
12
+    (comment 2 "Licensed under the CERN-OHL-S-2.0+")
13
+    (comment 4 "Copyright (c) 2024 Kauzerei, Thomas Buck")
11 14
   )
12 15
 
13 16
   (lib_symbols

+ 2
- 2
pcb/generate_fab.sh Ver arquivo

@@ -1,10 +1,10 @@
1 1
 #!/bin/bash
2 2
 
3
-# SPDX-FileCopyrightText: 2023 - 2024 Thomas Buck <thomas@xythobuz.de>
3
+# SPDX-FileCopyrightText: 2024 Thomas Buck <thomas@xythobuz.de>
4 4
 # SPDX-License-Identifier: CERN-OHL-S-2.0+
5 5
 #
6 6
 #  ------------------------------------------------------------------------------
7
-# | Copyright (c) 2023 - 2024 Thomas Buck <thomas@xythobuz.de>                   |
7
+# | Copyright (c) 2024 Thomas Buck <thomas@xythobuz.de>                          |
8 8
 # |                                                                              |
9 9
 # | This source describes Open Hardware and is licensed under the CERN-OHL-S v2  |
10 10
 # | or any later version.                                                        |

+ 14
- 2
pcb/generate_plot.sh Ver arquivo

@@ -1,10 +1,10 @@
1 1
 #!/bin/bash
2 2
 
3
-# SPDX-FileCopyrightText: 2023 - 2024 Thomas Buck <thomas@xythobuz.de>
3
+# SPDX-FileCopyrightText: 2024 Thomas Buck <thomas@xythobuz.de>
4 4
 # SPDX-License-Identifier: CERN-OHL-S-2.0+
5 5
 #
6 6
 #  ------------------------------------------------------------------------------
7
-# | Copyright (c) 2023 - 2024 Thomas Buck <thomas@xythobuz.de>                   |
7
+# | Copyright (c) 2024 Thomas Buck <thomas@xythobuz.de>                          |
8 8
 # |                                                                              |
9 9
 # | This source describes Open Hardware and is licensed under the CERN-OHL-S v2  |
10 10
 # | or any later version.                                                        |
@@ -31,6 +31,7 @@ INPCB="drumkit.kicad_pcb"
31 31
 OUTDIR="plot"
32 32
 LAYER_F="F.Cu,F.Mask,F.Paste,F.Silkscreen,Edge.Cuts,User.Drawings"
33 33
 LAYER_B="B.Cu,B.Mask,B.Paste,B.Silkscreen,Edge.Cuts,User.Drawings"
34
+LAYER_MANUAL="B.Cu,Edge.Cuts"
34 35
 
35 36
 cd "$(dirname "$0")"
36 37
 rm -rf $OUTDIR
@@ -75,5 +76,16 @@ do
75 76
             -o $OUTDIR/$IN.$TYPE \
76 77
             $IN
77 78
         echo
79
+
80
+        echo "Exporting DIY board $VAR"
81
+        rm -rf $OUTDIR/${IN}_diy.$TYPE
82
+        kicad-cli pcb export $TYPE \
83
+            -t "KiCad Default"  \
84
+            -l $LAYER_MANUAL \
85
+            --black-and-white \
86
+            --negative \
87
+            -o $OUTDIR/${IN}_diy.$TYPE \
88
+            $IN
89
+        echo
78 90
     done
79 91
 done

Carregando…
Cancelar
Salvar