From 1f0152ebf0bb4cec45e1138eaae232f2ea21c53e Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 13 Nov 2018 10:28:06 +0800 Subject: [PATCH] hardware: sw-spst: replace 3d model with local copy This is another example of a 3D model that has gotten moved, causing kicad to not work between versions. Use a local copy of the 3D model. Signed-off-by: Sean Cross --- .../pcb/tomu-fpga.pretty/SPST-NO-Button.kicad_mod | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hardware/pcb/tomu-fpga.pretty/SPST-NO-Button.kicad_mod b/hardware/pcb/tomu-fpga.pretty/SPST-NO-Button.kicad_mod index 3a0dd48..b5da2a1 100644 --- a/hardware/pcb/tomu-fpga.pretty/SPST-NO-Button.kicad_mod +++ b/hardware/pcb/tomu-fpga.pretty/SPST-NO-Button.kicad_mod @@ -1,9 +1,10 @@ -(module SPST-NO-Button (layer F.Cu) (tedit 5BD9231F) - (fp_text reference SW? (at 3.4 3.9) (layer F.SilkS) +(module SPST-NO-Button (layer F.Cu) (tedit 5BEA3682) + (attr smd) + (fp_text reference SW3 (at -0.25 -0.25) (layer F.SilkS) (effects (font (size 1 1) (thickness 0.15))) ) - (fp_text value Button (at -1 3.8) (layer F.Fab) - (effects (font (size 1 1) (thickness 0.15))) + (fp_text value 6 (at 0 -6) (layer F.SilkS) + (effects (font (size 2 2) (thickness 0.25))) ) (fp_line (start -4.6 3) (end -4.6 -3.1) (layer F.CrtYd) (width 0.2)) (fp_line (start 4.6 3) (end -4.6 3) (layer F.CrtYd) (width 0.2)) @@ -21,9 +22,9 @@ (solder_mask_margin 0.07)) (pad 4 smd rect (at 3.2 1.9) (size 1.6 1) (layers F.Cu F.Paste F.Mask) (solder_mask_margin 0.07)) - (model Buttons_Switches_SMD.3dshapes/SW_SPST_PTS645.wrl + (model ${KIPRJMOD}/tomu-fpga.pretty/SW_SPST_PTS645.wrl (at (xyz 0 0 0)) - (scale (xyz 0.8 0.8 0.25)) + (scale (xyz 1 1 1)) (rotate (xyz 0 0 0)) ) )