Commit 84e1b6af authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Add kicad versions of PCBs & models of some parts

parent b1758168
......@@ -4,4 +4,5 @@
*.s#*
.mayaSwatches
.idea
node_modules
\ No newline at end of file
node_modules
*.kicad_pcb-bak
......@@ -55,8 +55,9 @@ const replacers = {
[ 'at', '0', '0' ],
[ 'size', size[0], size[0] ],
[ 'drill', ...drill ],
[ 'layers', '*.Cu' ],
[ 'layers', '*.Cu', '*.Mask' ],
[ 'net', '1', 'GND' ],
[ 'solder_mask_margin', (drill[0]-size[0])/2 ],
[ 'zone_connect', '2' ] ] ]
},
module: a => {
......@@ -70,7 +71,7 @@ const replacers = {
return [...a,
[
'model',
'${KISYS3DMOD}/'+path,
path.indexOf('$') < 0 ? '${KISYS3DMOD}/'+path : path,
['at', ['xyz', ...at]],
['scale', ['xyz', ...scale]],
['rotate', ['xyz', ...rotate]],
......@@ -78,15 +79,16 @@ const replacers = {
]
}
const map = {
/*
missing:
- L1812 (cívka)
- MSS-1290 (přepínač)
*/
SOD123: {
path: 'smd_diode/sod123.wrl',
rotate: [0,0,180],
},
L1812: {
path: 'smd_inductors/inductor_smd_6.5x4.8mm.wrl',
rotate: [0,0,-90],
scale: [.7, .7, .7],
},
C0805: 'Capacitors_SMD.3dshapes/C_0805.wrl',
C0603: 'Capacitors_SMD.3dshapes/C_0603.wrl',
R0805: 'Resistors_SMD.3dshapes/R_0805.wrl',
......@@ -106,6 +108,13 @@ const replacers = {
path: 'Capacitors_Tantalum_SMD.3dshapes/CP_Tantalum_Case-B_EIA-3528-21.wrl',
rotate: [0,0,180],
},
SMC_C: {
path: 'Capacitors_Tantalum_SMD.3dshapes/CP_Tantalum_Case-C_EIA-6032-28.wrl',
rotate: [0,0,180],
},
SML0603: 'LEDs.3dshapes/LED_0603.wrl',
SO8: 'smd_dil/so-8.wrl',
CHIPLED_0805: {
path: 'LEDs.3dshapes/LED_0805.wrl',
......@@ -124,7 +133,7 @@ const replacers = {
SOT23: 'TO_SOT_Packages_SMD.3dshapes/SOT-23.wrl',
'SOT-23': {
path: 'TO_SOT_Packages_SMD.3dshapes/SOT-23.wrl',
rotate: [0,0,-180],
rotate: [0,0,90],
},
'SOT23-BEC': 'TO_SOT_Packages_SMD.3dshapes/SOT-23.wrl',
'502774-0891': {
......@@ -132,11 +141,17 @@ const replacers = {
at: [-0.1161417322834646, 0.3248031496062992, 0],
rotate: [0, 0, -180]
},
'GU1604': {
path: 'smd_inductors/inductor_smd_4.8x2.8mm.wrl',
scale: [.8, .8, .8],
},
S1G1_JUM: 'pin_strip/pin_socket_1.wrl',
S1G2_JUM: 'Pin_Headers.3dshapes/Pin_Header_Straight_1x02_Pitch2.54mm.wrl',
S1G4_JUM: 'Socket_Strips.3dshapes/Socket_Strip_Straight_1x04_Pitch2.54mm.wrl',
S1G5_JUM: 'Socket_Strips.3dshapes/Socket_Strip_Straight_1x05_Pitch2.54mm.wrl',
'MA06-1_THT_2.54_180': 'Socket_Strips.3dshapes/Socket_Strip_Straight_1x06_Pitch2.54mm.wrl',
S1G7_JUM: 'Socket_Strips.3dshapes/Socket_Strip_Straight_1x07_Pitch2.54mm.wrl',
S1G3_JUM: 'Pin_Headers.3dshapes/Pin_Header_Straight_1x03_Pitch2.54mm.wrl',
S1G4_JUM: 'pin_strip/pin_socket_4.wrl',
S1G5_JUM: 'pin_strip/pin_socket_5.wrl',
'MA06-1_THT_2.54_180': 'pin_strip/pin_socket_6.wrl',
S1G7_JUM: 'pin_strip/pin_socket_7.wrl',
PIN1: {
path: 'Pin_Headers.3dshapes/Pin_Header_Straight_1x01_Pitch2.54mm.wrl',
at: [0, 0.03937007874015748, 0.015748031496063],
......@@ -152,6 +167,38 @@ const replacers = {
at: [0, 0.03937007874015748, 0.015748031496063],
rotate: [90, 0, 0],
},
PIN4: {
path: 'Pin_Headers.3dshapes/Pin_Header_Straight_1x04_Pitch2.54mm.wrl',
at: [0, -1.5*0.03937007874015748, 0.015748031496063],
rotate: [90, 0, 0],
},
'MSS-1290': {
path: '${KIPRJMOD}/../part_models/mss-1290.x3d',
at: [0.003937007874015749, 0.007874015748031498, 0],
scale: [43, 43, 43],
rotate: [-90, 0, 180],
},
'TGS8100': {
path: '${KIPRJMOD}/../part_models/tgs8100.x3d',
at: [0.04921259842519685, 0.03937007874015748, 0],
scale: [43, 43, 43],
rotate: [-90, 0, 0],
},
'TGS8100': {
path: '${KIPRJMOD}/../part_models/tgs8100.x3d',
at: [0.04921259842519685, 0.03937007874015748, 0],
scale: [43, 43, 43],
rotate: [-90, 0, 0],
},
'UBLOX_MAX-6': {
path: '${KIPRJMOD}/../part_models/ublox-gps-max-m8.wrl',
at: [0.01181102362204724, -0.003937007874015749, 0.015748031496063],
scale: [0.393701, 0.393701, 0.393701],
},
IPEX: {
path: '${KIPRJMOD}/../part_models/IPEX.WRL',
scale: [450,450,450],
},
}
if(map[a[1]]) return model(map[a[1]])
return a
......
This diff is collapsed.
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
This source diff could not be displayed because it is too large. You can view the blob instead.
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
This source diff could not be displayed because it is too large. You can view the blob instead.
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
This diff is collapsed.
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
This diff is collapsed.
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
This diff is collapsed.
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
This diff is collapsed.
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
This diff is collapsed.
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries