Skip to content

Commit cf3522d

Browse files
committed
Put V-Cut into seperate layer
1 parent 1b34f0e commit cf3522d

File tree

4 files changed

+112
-174
lines changed

4 files changed

+112
-174
lines changed

.kibot/kibot-double-sided.yaml

Lines changed: 79 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -4,77 +4,84 @@ global:
44
output: '@NAME@-%r-%i.%x'
55
field_lcsc_part: LCSC
66
filters:
7-
- name: fix_rotation
8-
comment: 'Adjust rotation for JLC'
9-
type: rot_footprint
10-
negative_bottom: false
11-
mirror_bottom: true
12-
rotations_and_offsets:
13-
- field: Value
14-
regex: NCP715SQ50T2G
15-
angle: -90.0 # 270° + -90° = 180°
16-
- field: Value
17-
regex: AP63203WU
18-
angle: -90.0 # 90° + -90° = 0°
7+
- name: fix_rotation
8+
comment: 'Adjust rotation for JLC'
9+
type: rot_footprint
10+
negative_bottom: false
11+
mirror_bottom: true
12+
rotations_and_offsets:
13+
- field: Value
14+
regex: NCP715SQ50T2G
15+
angle: -90 # 270° + -90° = 180°
16+
- field: Value
17+
regex: AP63203WU
18+
angle: -90 # 90° + -90° = 0°
1919
import:
20-
- file: JLCPCB
21-
definitions:
22-
_KIBOT_POS_ONLY_SMD: false
23-
_KIBOT_POS_PRE_TRANSFORM: fix_rotation
20+
- file: JLCPCB
21+
definitions:
22+
_KIBOT_POS_ONLY_SMD: false
23+
_KIBOT_POS_PRE_TRANSFORM: fix_rotation
2424
outputs:
25-
- name: Schematic
26-
comment: Print schematic (PDF)
27-
type: pdf_sch_print
28-
options:
29-
output: '@NAME@-%r-Schematic.%x'
30-
- name: PCB TOP image
31-
comment: PNG of the top side of the PCB
32-
type: pcbdraw
33-
options:
34-
output: '@NAME@-%r-Top.%x'
35-
dpi: 1200
36-
format: png
37-
- name: PCB BOTTOM image
38-
comment: PNG of the bottom side of the PCB
39-
type: pcbdraw
40-
options:
41-
output: '@NAME@-%r-Bottom.%x'
42-
dpi: 1200
43-
format: png
44-
bottom: true
45-
- name: 3D Blender top image
46-
comment: '@NAME@ 3D render from top (High Quality)'
47-
type: blender_export
48-
options:
49-
render_options:
50-
background1: '#8FBCF7FF'
51-
background2: '#0B1E35FF'
52-
samples: 20
53-
resolution_y: 1440
54-
resolution_x: 2560
55-
point_of_view:
56-
rotate_x: -5
57-
outputs:
58-
- type: render
59-
output: '@NAME@-%r-Top-3D.png'
60-
- name: 3D Blender bootom image
61-
comment: '@NAME@ 3D render from bottom (High Quality)'
62-
type: blender_export
63-
options:
64-
render_options:
65-
background1: '#8FBCF7FF'
66-
background2: '#0B1E35FF'
67-
samples: 20
68-
resolution_y: 1440
69-
resolution_x: 2560
70-
point_of_view:
71-
rotate_x: 5
72-
rotate_y: 180
73-
outputs:
74-
- type: render
75-
output: '@NAME@-%r-Bottom-3D.png'
76-
- name: Step file
77-
comment: '@NAME@ Step file'
78-
type: export_3d
79-
options:
80-
output: '@NAME@-%r.step'
25+
- name: 'JLCPCB_gerbers'
26+
type: 'gerber'
27+
extends: 'JLCPCB_gerbers'
28+
layers:
29+
- 'all'
30+
- name: 'v-cuts'
31+
suffix: 'v-cuts'
32+
- name: Schematic
33+
comment: Print schematic (PDF)
34+
type: pdf_sch_print
35+
options:
36+
output: '@NAME@-%r-Schematic.%x'
37+
- name: PCB TOP image
38+
comment: PNG of the top side of the PCB
39+
type: pcbdraw
40+
options:
41+
output: '@NAME@-%r-Top.%x'
42+
dpi: 1200
43+
format: png
44+
- name: PCB BOTTOM image
45+
comment: PNG of the bottom side of the PCB
46+
type: pcbdraw
47+
options:
48+
output: '@NAME@-%r-Bottom.%x'
49+
dpi: 1200
50+
format: png
51+
bottom: true
52+
- name: 3D Blender top image
53+
comment: '@NAME@ 3D render from top (High Quality)'
54+
type: blender_export
55+
options:
56+
render_options:
57+
background1: '#8FBCF7FF'
58+
background2: '#0B1E35FF'
59+
samples: 20
60+
resolution_y: 1440
61+
resolution_x: 2560
62+
point_of_view:
63+
rotate_x: -5
64+
outputs:
65+
- type: render
66+
output: '@NAME@-%r-Top-3D.png'
67+
- name: 3D Blender bootom image
68+
comment: '@NAME@ 3D render from bottom (High Quality)'
69+
type: blender_export
70+
options:
71+
render_options:
72+
background1: '#8FBCF7FF'
73+
background2: '#0B1E35FF'
74+
samples: 20
75+
resolution_y: 1440
76+
resolution_x: 2560
77+
point_of_view:
78+
rotate_x: 5
79+
rotate_y: 180
80+
outputs:
81+
- type: render
82+
output: '@NAME@-%r-Bottom-3D.png'
83+
- name: Step file
84+
comment: '@NAME@ Step file'
85+
type: export_3d
86+
options:
87+
output: '@NAME@-%r.step'

BSH-Board.kicad_pcb

Lines changed: 31 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
(39 "User.1" user)
3838
(41 "User.2" user)
3939
(43 "User.3" user)
40-
(45 "User.4" user)
40+
(45 "User.4" user "V-Cuts")
4141
)
4242
(setup
4343
(pad_to_mask_clearance 0)
@@ -13767,6 +13767,26 @@
1376713767
)
1376813768
(embedded_fonts no)
1376913769
)
13770+
(gr_line
13771+
(start 108 61.3)
13772+
(end 136 61.3)
13773+
(stroke
13774+
(width 0.05)
13775+
(type solid)
13776+
)
13777+
(layer "F.SilkS")
13778+
(uuid "37d2116d-85f1-4888-b15f-7ebee16231c1")
13779+
)
13780+
(gr_line
13781+
(start 108 61.3)
13782+
(end 136 61.3)
13783+
(stroke
13784+
(width 0.05)
13785+
(type solid)
13786+
)
13787+
(layer "B.SilkS")
13788+
(uuid "f5b02096-c5e7-4843-857f-b23c1fa29cb2")
13789+
)
1377013790
(gr_arc
1377113791
(start 134.007107 90)
1377213792
(mid 133.714214 90.707109)
@@ -13931,16 +13951,6 @@
1393113951
(layer "Edge.Cuts")
1393213952
(uuid "cf58ecc9-c0d2-41d6-bf66-86aa285f5517")
1393313953
)
13934-
(gr_line
13935-
(start 108 61.3)
13936-
(end 136 61.3)
13937-
(stroke
13938-
(width 0.05)
13939-
(type solid)
13940-
)
13941-
(layer "Edge.Cuts")
13942-
(uuid "db899a92-0016-47b2-837f-9eae488df0a5")
13943-
)
1394413954
(gr_line
1394513955
(start 116.9 88.5)
1394613956
(end 119.983084 88.5)
@@ -13982,6 +13992,16 @@
1398213992
(layer "User.2")
1398313993
(uuid "92280bd8-101c-48a3-9a82-a1b968943b96")
1398413994
)
13995+
(gr_line
13996+
(start 108 61.3)
13997+
(end 136 61.3)
13998+
(stroke
13999+
(width 0.05)
14000+
(type solid)
14001+
)
14002+
(layer "User.4")
14003+
(uuid "db899a92-0016-47b2-837f-9eae488df0a5")
14004+
)
1398514005
(gr_text "23"
1398614006
(at 128.4 67.6 0)
1398714007
(layer "B.SilkS")
@@ -14213,18 +14233,6 @@
1421314233
(justify left bottom mirror)
1421414234
)
1421514235
)
14216-
(gr_text "V-Cut"
14217-
(at 136 61.9 0)
14218-
(layer "Edge.Cuts")
14219-
(uuid "9fe3507a-5584-414b-80f9-2ffc3c4c374b")
14220-
(effects
14221-
(font
14222-
(size 1 1)
14223-
(thickness 0.15)
14224-
)
14225-
(justify left bottom)
14226-
)
14227-
)
1422814236
(dimension
1422914237
(type orthogonal)
1423014238
(layer "User.1")
@@ -14339,82 +14347,6 @@
1433914347
)
1434014348
)
1434114349
)
14342-
(dimension
14343-
(type orthogonal)
14344-
(layer "User.4")
14345-
(uuid "4e7db6cd-4700-4ffa-97e2-294c507df620")
14346-
(pts
14347-
(xy 110 53.975) (xy 134 53.975)
14348-
)
14349-
(height -3.85)
14350-
(orientation 0)
14351-
(format
14352-
(prefix "")
14353-
(suffix "")
14354-
(units 3)
14355-
(units_format 0)
14356-
(precision 4)
14357-
(suppress_zeroes yes)
14358-
)
14359-
(style
14360-
(thickness 0.1)
14361-
(arrow_length 1.27)
14362-
(text_position_mode 0)
14363-
(arrow_direction outward)
14364-
(extension_height 0.58642)
14365-
(extension_offset 0.5)
14366-
(keep_text_aligned yes)
14367-
)
14368-
(gr_text "24"
14369-
(at 122 48.975 0)
14370-
(layer "User.4")
14371-
(uuid "4e7db6cd-4700-4ffa-97e2-294c507df620")
14372-
(effects
14373-
(font
14374-
(size 1 1)
14375-
(thickness 0.15)
14376-
)
14377-
)
14378-
)
14379-
)
14380-
(dimension
14381-
(type orthogonal)
14382-
(layer "User.4")
14383-
(uuid "f122ab6b-e171-49c4-a485-9cf7baa0af14")
14384-
(pts
14385-
(xy 133 91) (xy 133 53)
14386-
)
14387-
(height 6.75)
14388-
(orientation 1)
14389-
(format
14390-
(prefix "")
14391-
(suffix "")
14392-
(units 3)
14393-
(units_format 0)
14394-
(precision 4)
14395-
(suppress_zeroes yes)
14396-
)
14397-
(style
14398-
(thickness 0.1)
14399-
(arrow_length 1.27)
14400-
(text_position_mode 0)
14401-
(arrow_direction outward)
14402-
(extension_height 0.58642)
14403-
(extension_offset 0.5)
14404-
(keep_text_aligned yes)
14405-
)
14406-
(gr_text "38"
14407-
(at 138.6 72 90)
14408-
(layer "User.4")
14409-
(uuid "f122ab6b-e171-49c4-a485-9cf7baa0af14")
14410-
(effects
14411-
(font
14412-
(size 1 1)
14413-
(thickness 0.15)
14414-
)
14415-
)
14416-
)
14417-
)
1441814350
(segment
1441914351
(start 117.15 61.85)
1442014352
(end 117.2 61.9)

BSH-Board.kicad_prl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"board": {
3-
"active_layer": 0,
3+
"active_layer": 5,
44
"active_layer_preset": "",
55
"auto_track_width": true,
66
"hidden_netclasses": [],

metadata.env

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ NAME=BSH-Board
22
KIBOT_CONFIG=.kibot/kibot-double-sided.yaml
33
VERSION=1.0
44
PCB_FILE=./BSH-Board.kicad_pcb
5-
SCH_FILE=./BSH-Board.kicad_sch
6-
5+
SCH_FILE=./BSH-Board.kicad_sch

0 commit comments

Comments
 (0)