tons of cad tweaks, plus updating all the assemblies. also updates bom files, and edits the CI to export three boms for each of the three widths
This commit is contained in:
85
.github/workflows/scripts/export-bom.py
vendored
85
.github/workflows/scripts/export-bom.py
vendored
@@ -13,72 +13,79 @@ if not os.path.exists(dirName):
|
|||||||
else:
|
else:
|
||||||
print("Directory " , dirName , " already exists")
|
print("Directory " , dirName , " already exists")
|
||||||
|
|
||||||
|
versions = [
|
||||||
|
["8mm", "bom-8.csv"],
|
||||||
|
["12mm", "bom-12.csv"],
|
||||||
|
["16mm", "bom-16.csv"]
|
||||||
|
]
|
||||||
|
|
||||||
# make html file that will become our BOM
|
for version in versions:
|
||||||
f = open(dirName + "/bom_" + sys.argv[1] + ".html", "w")
|
|
||||||
f.write("""
|
# make html file that will become our BOM
|
||||||
<!DOCTYPE html>
|
f = open(dirName + "/" + version[0] + "_feeder_bom_" + sys.argv[1] + ".html", "w")
|
||||||
<head>
|
f.write("""
|
||||||
<style>
|
<!DOCTYPE html>
|
||||||
body {
|
<head>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
font-family: helvetica;
|
font-family: helvetica;
|
||||||
color: #fff
|
color: #fff
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
color:white;
|
color:white;
|
||||||
}
|
}
|
||||||
.optional {
|
.optional {
|
||||||
background-color: #430;
|
background-color: #430;
|
||||||
}
|
}
|
||||||
tr.titlerow th {
|
tr.titlerow th {
|
||||||
background-color: goldenrod;
|
background-color: goldenrod;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
th, td {
|
th, td {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-bottom: 2px solid #fff
|
border-bottom: 2px solid #fff
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color:goldenrod;
|
color:goldenrod;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#logo {
|
#logo {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 30px;
|
top: 30px;
|
||||||
right: 50px;
|
right: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr:hover {
|
tr:hover {
|
||||||
background-color: #444;
|
background-color: #444;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>
|
<h1>
|
||||||
""")
|
""")
|
||||||
|
|
||||||
#write page title based on script
|
#write page title based on script
|
||||||
f.write("LumenPnP Feeder BOM " + sys.argv[1])
|
f.write("LumenPnP " + version[0] + " Feeder BOM " + sys.argv[1])
|
||||||
|
|
||||||
#write the beginning of table, and row for header
|
#write the beginning of table, and row for header
|
||||||
f.write("</h1><a href='https://www.github.com/opulo-inc/feeder/releases/' target='_blank' rel='noopener noreferrer'><h2>Download the Source Here</h2></a><a href='https://www.opulo.io/' target='_blank' rel='noopener noreferrer'><img src='https://cdn.shopify.com/s/files/1/0570/4256/7355/files/opulo-white-alpha_1200x1200.png?v=1644515300' id='logo'/></a><table>")
|
f.write("</h1><a href='https://www.github.com/opulo-inc/feeder/releases/' target='_blank' rel='noopener noreferrer'><h2>Download the Source Here</h2></a><a href='https://www.opulo.io/' target='_blank' rel='noopener noreferrer'><img src='https://cdn.shopify.com/s/files/1/0570/4256/7355/files/opulo-white-alpha_1200x1200.png?v=1644515300' id='logo'/></a><table>")
|
||||||
|
|
||||||
with open('bom.csv') as bom:
|
with open(version[1]) as bom:
|
||||||
csv_reader = csv.reader(bom, delimiter=',')
|
csv_reader = csv.reader(bom, delimiter=',')
|
||||||
line_count = 0
|
line_count = 0
|
||||||
|
|
||||||
@@ -114,7 +121,5 @@ with open('bom.csv') as bom:
|
|||||||
f.write("</tr>")
|
f.write("</tr>")
|
||||||
line_count += 1
|
line_count += 1
|
||||||
|
|
||||||
f.write("</table></body></html>")
|
f.write("</table></body></html>")
|
||||||
|
f.close()
|
||||||
|
|
||||||
f.close()
|
|
||||||
25
bom-12.csv
Normal file
25
bom-12.csv
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
Part Name,Image,Quantity,Part Type,Source 1,Source 2,Optional,Note
|
||||||
|
frame-12,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
drive-motor-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
drive-motor-cover,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
peel-gear-frame-8-12,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
peel-gear-8-12,,2,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
peel-worm-gear,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
release-lever-8-12,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
slot-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
tape-guide-8-12,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,Used to guide tape into feeder for spools mounted beneath the machine.
|
||||||
|
"PLA-filament ",https://90a1c75758623581b3f8-5c119c3de181c9857fcb2784776b17ef.ssl.cf2.rackcdn.com/611532_989269_03_front_zoom.jpg,1.2,FIL,https://www.microcenter.com/product/611532/inland-175mm-black-pla-3d-printer-filament-1kg-spool-(22-lbs),,,Units in kg. Print both nozzle-rack and 2x z-gantry in a black color. Print top-light-mount and bottom-light-mount in a white color.
|
||||||
|
M5-t-slot-nut,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/946/94645a102-@1x_637691238154449529.png?ver=ImageNotFound,1,FST,https://www.mcmaster.com/94645A102/,,,
|
||||||
|
M3x14mm-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/920/92095A168p1-b01-digitall@2x_636621121852034289.png,3,FST,https://www.mcmaster.com/92095A168/,,,
|
||||||
|
M5x10mm-socket-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/901/90128a234-@4x_637648793587366175.png,1,FST,https://www.mcmaster.com/90128A234/,,,ISO4762
|
||||||
|
M3x8mm-self-tapping-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/958/95893a189_5471d27b-8a4e-4cd5-bc6c-43c4b611d281@2x_637901339772075158.png,1,FST,https://www.mcmaster.com/95893A189/,,,
|
||||||
|
M3x12mm-self-tapping-flat-head,https://www.mcmaster.com/mvC/Contents/gfx/ImageCache/958/95893a403_0b3fd3a3-a747-4eb1-aca3-e40b2b59fed1@4x_637858920453111883.png,11,FST,https://www.mcmaster.com/95893A403/,,,
|
||||||
|
mobo,,1,PCA,,,,Click link above to download source
|
||||||
|
slot,,1,PCA,,,,Click link above to download source
|
||||||
|
drive-wheel,,1,PCB,,,,Click link above to download source
|
||||||
|
light-diffusion,,1,PCB,,,,Click link above to download source
|
||||||
|
photon-12mm-fid,,1,PCB,,,,Click link above to download source
|
||||||
|
slot-harness,,1,CHA,,,,Click link above to download source
|
||||||
|
n20-motor,https://www.makerfabs.com/image/cache/makerfabs/N20%20DC%20Gear%20Motor/N20%20DC%20Gear%20Motor_3-1000x750.jpg,4,MISC,https://www.servocity.com/110-rpm-micro-gear-motor/,,,1:210 gear ratio.
|
||||||
|
right-angle-n20,https://sharvielectronics.com/wp-content/uploads/2022/06/N20-3V-50-RPM-Micro-Metal-Gear-Motor-With-Encoder_-Sharvielectronics.jpg,2,MISC,https://www.aliexpress.com/w/wholesale-worm-n20-encoder.html?catId=0&initiative_id=SB_20230324123628&SearchText=worm+n20+encoder,,,14-tick per revolution encoder. 1:1030 gear ratio gearbox.
|
||||||
|
shaft-collar,https://m.media-amazon.com/images/I/51dc5w8vG5L._AC_.jpg,2,MISC,https://www.amazon.com/gp/product/B01EA912P8/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8,,,
|
||||||
|
25
bom-16.csv
Normal file
25
bom-16.csv
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
Part Name,Image,Quantity,Part Type,Source 1,Source 2,Optional,Note
|
||||||
|
frame-16,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
drive-motor-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
drive-motor-cover,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
peel-gear-frame-16,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
peel-gear-16,,2,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
peel-worm-gear,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
release-lever-16,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
slot-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
tape-guide-16,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,Used to guide tape into feeder for spools mounted beneath the machine.
|
||||||
|
"PLA-filament ",https://90a1c75758623581b3f8-5c119c3de181c9857fcb2784776b17ef.ssl.cf2.rackcdn.com/611532_989269_03_front_zoom.jpg,1.2,FIL,https://www.microcenter.com/product/611532/inland-175mm-black-pla-3d-printer-filament-1kg-spool-(22-lbs),,,Units in kg. Print both nozzle-rack and 2x z-gantry in a black color. Print top-light-mount and bottom-light-mount in a white color.
|
||||||
|
M5-t-slot-nut,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/946/94645a102-@1x_637691238154449529.png?ver=ImageNotFound,1,FST,https://www.mcmaster.com/94645A102/,,,
|
||||||
|
M3x18mm-flat-head,https://www.mcmaster.com/mvC/Contents/gfx/ImageCache/912/91294A135_6cdeb25e-0730-4c87-b88e-234fec2c64ab@4x_637977128906584194.png,3,FST,https://www.mcmaster.com/91294A135/,,,
|
||||||
|
M5x10mm-socket-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/901/90128a234-@4x_637648793587366175.png,1,FST,https://www.mcmaster.com/90128A234/,,,ISO4762
|
||||||
|
M3x8mm-self-tapping-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/958/95893a189_5471d27b-8a4e-4cd5-bc6c-43c4b611d281@2x_637901339772075158.png,1,FST,https://www.mcmaster.com/95893A189/,,,
|
||||||
|
M3x12mm-self-tapping-flat-head,https://www.mcmaster.com/mvC/Contents/gfx/ImageCache/958/95893a403_0b3fd3a3-a747-4eb1-aca3-e40b2b59fed1@4x_637858920453111883.png,11,FST,https://www.mcmaster.com/95893A403/,,,
|
||||||
|
mobo,,1,PCA,,,,Click link above to download source
|
||||||
|
slot,,1,PCA,,,,Click link above to download source
|
||||||
|
drive-wheel,,1,PCB,,,,Click link above to download source
|
||||||
|
light-diffusion,,1,PCB,,,,Click link above to download source
|
||||||
|
photon-16mm-fid,,1,PCB,,,,Click link above to download source
|
||||||
|
slot-harness,,1,CHA,,,,Click link above to download source
|
||||||
|
n20-motor,https://www.makerfabs.com/image/cache/makerfabs/N20%20DC%20Gear%20Motor/N20%20DC%20Gear%20Motor_3-1000x750.jpg,4,MISC,https://www.servocity.com/110-rpm-micro-gear-motor/,,,1:210 gear ratio.
|
||||||
|
right-angle-n20,https://sharvielectronics.com/wp-content/uploads/2022/06/N20-3V-50-RPM-Micro-Metal-Gear-Motor-With-Encoder_-Sharvielectronics.jpg,2,MISC,https://www.aliexpress.com/w/wholesale-worm-n20-encoder.html?catId=0&initiative_id=SB_20230324123628&SearchText=worm+n20+encoder,,,14-tick per revolution encoder. 1:1030 gear ratio gearbox.
|
||||||
|
shaft-collar,https://m.media-amazon.com/images/I/51dc5w8vG5L._AC_.jpg,2,MISC,https://www.amazon.com/gp/product/B01EA912P8/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8,,,
|
||||||
|
@@ -1,22 +1,21 @@
|
|||||||
Part Name,Image,Quantity,Part Type,Source 1,Source 2,Optional,Note
|
Part Name,Image,Quantity,Part Type,Source 1,Source 2,Optional,Note
|
||||||
frame,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
frame-8,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
drive-motor-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
drive-motor-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
drive-motor-cover,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
drive-motor-cover,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
peel-gear-frame,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
peel-gear-frame-8-12,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
peel-gear,,2,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
peel-gear-8-12,,2,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
peel-worm-gear,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
peel-worm-gear,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
release-lever,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
release-lever-8-12,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
spool-holder,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
spool-holder,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
thimble,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
thimble,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
slot-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
slot-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
|
||||||
|
tape-guide-8-12,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,Yes,Replaces the spool arm and thimble. Used to guide tape into feeder for spools mounted beneath the machine.
|
||||||
"PLA-filament ",https://90a1c75758623581b3f8-5c119c3de181c9857fcb2784776b17ef.ssl.cf2.rackcdn.com/611532_989269_03_front_zoom.jpg,1.2,FIL,https://www.microcenter.com/product/611532/inland-175mm-black-pla-3d-printer-filament-1kg-spool-(22-lbs),,,Units in kg. Print both nozzle-rack and 2x z-gantry in a black color. Print top-light-mount and bottom-light-mount in a white color.
|
"PLA-filament ",https://90a1c75758623581b3f8-5c119c3de181c9857fcb2784776b17ef.ssl.cf2.rackcdn.com/611532_989269_03_front_zoom.jpg,1.2,FIL,https://www.microcenter.com/product/611532/inland-175mm-black-pla-3d-printer-filament-1kg-spool-(22-lbs),,,Units in kg. Print both nozzle-rack and 2x z-gantry in a black color. Print top-light-mount and bottom-light-mount in a white color.
|
||||||
M3-hex-nut,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/905/90592A085p1-b01-digitall@4x_636713274654410000.png?ver=ImageNotFound,11,FST,https://www.mcmaster.com/90592A085/,,,ISO4032
|
|
||||||
M5-t-slot-nut,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/946/94645a102-@1x_637691238154449529.png?ver=ImageNotFound,1,FST,https://www.mcmaster.com/94645A102/,,,
|
M5-t-slot-nut,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/946/94645a102-@1x_637691238154449529.png?ver=ImageNotFound,1,FST,https://www.mcmaster.com/94645A102/,,,
|
||||||
M3x12mm-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/920/92095A181p1-b01-digitall@2x_636621119072096469.png,2,FST,https://www.mcmaster.com/92095A181/,,,
|
M3x14mm-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/920/92095A168p1-b01-digitall@2x_636621121852034289.png,3,FST,https://www.mcmaster.com/92095A168/,,,
|
||||||
M3x14mm-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/920/92095A168p1-b01-digitall@2x_636621121852034289.png,2,FST,https://www.mcmaster.com/92095A168/,,,
|
|
||||||
M3x15mm-flat-head,https://www.mcmaster.com/mvC/Contents/gfx/ImageCache/912/91292a115-@4x_637619456157301135.png,10,FST,https://www.mcmaster.com/91292A115,,,
|
|
||||||
M5x10mm-socket-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/901/90128a234-@4x_637648793587366175.png,1,FST,https://www.mcmaster.com/90128A234/,,,ISO4762
|
M5x10mm-socket-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/901/90128a234-@4x_637648793587366175.png,1,FST,https://www.mcmaster.com/90128A234/,,,ISO4762
|
||||||
M3x8mm-self-tapping-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/958/95893a189_5471d27b-8a4e-4cd5-bc6c-43c4b611d281@2x_637901339772075158.png,1,FST,https://www.mcmaster.com/95893A189/,,,
|
M3x8mm-self-tapping-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/958/95893a189_5471d27b-8a4e-4cd5-bc6c-43c4b611d281@2x_637901339772075158.png,1,FST,https://www.mcmaster.com/95893A189/,,,
|
||||||
|
M3x12mm-self-tapping-flat-head,https://www.mcmaster.com/mvC/Contents/gfx/ImageCache/958/95893a403_0b3fd3a3-a747-4eb1-aca3-e40b2b59fed1@4x_637858920453111883.png,11,FST,https://www.mcmaster.com/95893A403/,,,
|
||||||
mobo,,1,PCA,,,,Click link above to download source
|
mobo,,1,PCA,,,,Click link above to download source
|
||||||
slot,,1,PCA,,,,Click link above to download source
|
slot,,1,PCA,,,,Click link above to download source
|
||||||
drive-wheel,,1,PCB,,,,Click link above to download source
|
drive-wheel,,1,PCB,,,,Click link above to download source
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cad/asm12.FCStd
BIN
cad/asm12.FCStd
Binary file not shown.
BIN
cad/asm16.FCStd
BIN
cad/asm16.FCStd
Binary file not shown.
BIN
cad/asm8.FCStd
BIN
cad/asm8.FCStd
Binary file not shown.
Reference in New Issue
Block a user