try at a more modular recipe architecture.
NOTE: some of this syntax isn't toml i don't think, so this should be treated more like pseudo-toml
This commit is contained in:
parent
39f3116c13
commit
b4e5967845
11 changed files with 204 additions and 0 deletions
46
modular-recipes/peristaltic-pump/bearing_roller.toml
Normal file
46
modular-recipes/peristaltic-pump/bearing_roller.toml
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
[[outputs]]
|
||||||
|
bearing_roller = {quantity=6}
|
||||||
|
|
||||||
|
# inputs list, similar to a cargo.toml file
|
||||||
|
[[inputs]]
|
||||||
|
bearing_hub_top = {version=0.1, type="printed"}
|
||||||
|
bearing_hub = {version=0.1, type="printed"}
|
||||||
|
|
||||||
|
# alternate representation of an element of the inputs list
|
||||||
|
[[inputs.m4_20_shcs]]
|
||||||
|
type = "M4x20 SHCS"
|
||||||
|
quantity = 3
|
||||||
|
comment = """These will hold the bearing rollers. Possibly Button Heads
|
||||||
|
Cap Screws would be better? Probably either will work fine."""
|
||||||
|
|
||||||
|
[[inputs.m4_washer]]
|
||||||
|
type = "M4 washer"
|
||||||
|
quantity = 6
|
||||||
|
dimensions = "12 mm OD, 4.4 mm ID, 1 mm thick"
|
||||||
|
comment = """The upstream repo calls for 12 mm OD but i think that's
|
||||||
|
too big, it hits the outer race of the bearings. Use 8mm OD instead."""
|
||||||
|
|
||||||
|
[[inputs.624_bearing]]
|
||||||
|
type = "624 bearing"
|
||||||
|
quantity = 6
|
||||||
|
comments = "13mm OD, 4mm ID, 5mm wide"
|
||||||
|
|
||||||
|
[[inputs.m4_nuts]]
|
||||||
|
type = "M4 nuts"
|
||||||
|
quantity = 3
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
tools = [
|
||||||
|
"3 mm hex driver",
|
||||||
|
"7 mm nut driver",
|
||||||
|
]
|
||||||
|
operator = {skill="assembly"}
|
||||||
|
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
process = """Assemble the bearing roller. Each of the three roller
|
||||||
|
stacks will consist of: washer, bearing, bearing, washer. All three
|
||||||
|
roller stacks are clamped between the bearing hub top and bottom, and
|
||||||
|
fixed by a screw and nut."""
|
||||||
|
|
||||||
|
|
||||||
33
modular-recipes/peristaltic-pump/peristaltic_pump.toml
Normal file
33
modular-recipes/peristaltic-pump/peristaltic_pump.toml
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
[[inputs]]
|
||||||
|
pump_housing_front_with_stepper = {version = 0.1, quantity=1}
|
||||||
|
bearing_roller = {version=0.1, quantity=1}
|
||||||
|
pump_housing_rear_with_stepper = {version=0.1, quantity=1}
|
||||||
|
tube_support = {version=0.1, quantity=1}
|
||||||
|
|
||||||
|
[[inputs.silicone_tubing]]
|
||||||
|
type = "silicone tubing, 6mm OD, 4mm ID"
|
||||||
|
quantity = "1 meter"
|
||||||
|
comment = "PVC tube isn't flexible enough. Adjust quantity to suit your application."
|
||||||
|
|
||||||
|
[[inputs.m4_25_bhcs]]
|
||||||
|
name = "m4_25_bhcs"
|
||||||
|
type = "M4x25 BHCS"
|
||||||
|
quantity = 4
|
||||||
|
comment = """BHCS is preferred over SHCS so the screw heads sit recessed
|
||||||
|
below the surface of the pump body."""
|
||||||
|
|
||||||
|
[[inputs.m4_nuts]]
|
||||||
|
type = "M4 nuts"
|
||||||
|
quantity = 4
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
tools = [ "3 mm hex driver" ]
|
||||||
|
operator = {skill="assembly"}
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
process = """Press the bearing roller assembly onto the motor shaft of the
|
||||||
|
rear pump housing assembly. Install the tubing so it goes in one port,
|
||||||
|
around the roller, and out the other port. Press the motor shaft of the
|
||||||
|
front pump housing assembly into the other side of the bearing roller.
|
||||||
|
Attach with the screws and nuts."""
|
||||||
|
|
||||||
14
modular-recipes/peristaltic-pump/print/bearing_hub.toml
Normal file
14
modular-recipes/peristaltic-pump/print/bearing_hub.toml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
[[outputs]]
|
||||||
|
bearing_hub={version=0.1, quantity=1, type="printed"}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
filament={}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
printer={type="fdm"}
|
||||||
|
|
||||||
|
[[config]]
|
||||||
|
model="https://github.com/DerSchultze/Peristaltic-Controller@92a4d9b:stl/bearing-hub.STL"
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
print={}
|
||||||
14
modular-recipes/peristaltic-pump/print/bearing_hub_top.toml
Normal file
14
modular-recipes/peristaltic-pump/print/bearing_hub_top.toml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
[[outputs]]
|
||||||
|
bearing_hub_top={version=0.1, quantity=1, type="printed"}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
filament={}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
printer={type="fdm"}
|
||||||
|
|
||||||
|
[[config]]
|
||||||
|
model="https://github.com/DerSchultze/Peristaltic-Controller@92a4d9b:stl/bearing-hub-top.STL"
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
print={}
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
[[outputs]]
|
||||||
|
pump_housing_front_untapped={version=0.1, quantity=1, type="printed"}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
filament={}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
printer={type="fdm"}
|
||||||
|
|
||||||
|
[[config]]
|
||||||
|
model="https://github.com/DerSchultze/Peristaltic-Controller@92a4d9b:stl/pump-top.STL"
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
print={}
|
||||||
14
modular-recipes/peristaltic-pump/print/tube_support.toml
Normal file
14
modular-recipes/peristaltic-pump/print/tube_support.toml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
[[outputs]]
|
||||||
|
tube_support={version=0.1, quantity=1, type="printed"}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
filament={}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
printer={type="fdm"}
|
||||||
|
|
||||||
|
[[config]]
|
||||||
|
model="https://github.com/DerSchultze/Peristaltic-Controller@92a4d9b:stl/tube-support.STL"
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
print={}
|
||||||
14
modular-recipes/peristaltic-pump/pump_housing_front.toml
Normal file
14
modular-recipes/peristaltic-pump/pump_housing_front.toml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
|
||||||
|
[[outputs]]
|
||||||
|
pump_housing_front={quantity=1}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
pump_housing_front_untapped={version=0.1, type="printed"}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
tools = [ "M4 tap" ]
|
||||||
|
operator = {skill="assembly"}
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
process = """Tap the two motor mounting holes."""
|
||||||
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
[[outputs]]
|
||||||
|
pump_housing_front_with_stepper={quantity=1}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
pump_housing_front={version=0.1, quantity=1}
|
||||||
|
m4_5_shcs={quantity=2, description="M4x5 SHCS"}
|
||||||
|
stepper={quantity=1, type="J8ByJ-48"}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
tools = [ "3 mm hex driver" ]
|
||||||
|
operator = {skill="assembly"}
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
process = """Screw the stepper to the printed front housing."""
|
||||||
12
modular-recipes/peristaltic-pump/pump_housing_rear.toml
Normal file
12
modular-recipes/peristaltic-pump/pump_housing_rear.toml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
[[outputs]]
|
||||||
|
pump_housing_rear = {quantity=1}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
pump_housing_rear_untapped = {version=0.1, type="printed", quantity=1, model="https://github.com/DerSchultze/Peristaltic-Controller@92a4d9b:stl/CheapPump.STL"}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
tools = [ "M4 tap" ]
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
process = """Tap the two motor mounting holes."""
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
[[outputs]]
|
||||||
|
pump_housing_rear_with_stepper = {quantity=1}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
pump_housing_rear = {version=0.1, quantity=1}
|
||||||
|
m4_5_shcs = {quantity=2}
|
||||||
|
stepper = {type="J8BYJ-48", quantity=1}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
tools = [ "3 mm hex driver" ]
|
||||||
|
operator = {skill="assembly"}
|
||||||
|
|
||||||
|
[[action]]
|
||||||
|
process = """Screw the stepper to the printed rear housing."""
|
||||||
|
|
||||||
14
modular-recipes/purchase/purchase_stepper.toml
Normal file
14
modular-recipes/purchase/purchase_stepper.toml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
[[outputs]]
|
||||||
|
stepper = {type="J8BYJ-48"}
|
||||||
|
|
||||||
|
[[inputs]]
|
||||||
|
capital={type="usd"}
|
||||||
|
|
||||||
|
[[dependencies]]
|
||||||
|
operator = {skill="vendor interaction"}
|
||||||
|
|
||||||
|
[[action.purchase]]
|
||||||
|
retailers = ["https://www.mouser.com/datasheet/2/758/stepd-01-data-sheet-1143075.pdf",
|
||||||
|
"https://components101.com/motors/28byj-48-stepper-motor"]
|
||||||
|
|
||||||
|
process = "contact retailer and provide capital in exchange for vitamins. then think about how you can produce those vitamins for your enclave."
|
||||||
Loading…
Add table
Add a link
Reference in a new issue