Add cutout for motherboard cables in immersion lid
parent
284491ecfb
commit
4a44576708
|
@ -114,25 +114,25 @@ def compound_assembly():
|
|||
compound_lid.color = Color(0.25, 0.64, 0.76, 0.25) # Acrylic
|
||||
|
||||
# ATX Motherboard
|
||||
# mb = import_step(file_name="examples/motherboard.stp")
|
||||
# mb.label = "Motherboard"
|
||||
# compound_mb = Compound.make_compound([(mb)]).locate(
|
||||
# Location(
|
||||
# Vector(
|
||||
# TSLOT_SIZE + 16 + TANK_OFFSET_X + TANK_THICK,
|
||||
# TSLOT_SIZE
|
||||
# + tank_config.tank_length
|
||||
# - TANK_THICK
|
||||
# - WEIR_OFFSET
|
||||
# - MB_PLATE_THICKNESS
|
||||
# - MB_RISER,
|
||||
# 243.84 + 99,
|
||||
# ),
|
||||
# (0, 180, 180),
|
||||
# )
|
||||
# )
|
||||
# compound_mb.label = "Motherboard"
|
||||
# compound_mb.color = Color("ForestGreen", 1.0)
|
||||
mb = import_step(file_name="examples/motherboard.stp")
|
||||
mb.label = "Motherboard"
|
||||
compound_mb = Compound.make_compound([(mb)]).locate(
|
||||
Location(
|
||||
Vector(
|
||||
TSLOT_SIZE + 16 + TANK_OFFSET_X + TANK_THICK,
|
||||
TSLOT_SIZE
|
||||
+ tank_config.tank_length
|
||||
- TANK_THICK
|
||||
- WEIR_OFFSET
|
||||
- MB_PLATE_THICKNESS
|
||||
- MB_RISER,
|
||||
243.84 + 99,
|
||||
),
|
||||
(0, 180, 180),
|
||||
)
|
||||
)
|
||||
compound_mb.label = "Motherboard"
|
||||
compound_mb.color = Color("ForestGreen", 1.0)
|
||||
|
||||
# # Koolance ERM-3K3U
|
||||
# koolance = import_step(file_name="examples/koolance.step")
|
||||
|
@ -264,7 +264,7 @@ def compound_assembly():
|
|||
gpu_compounds[5],
|
||||
gpu_compounds[6],
|
||||
compound_tank,
|
||||
# compound_mb,
|
||||
compound_mb,
|
||||
# compound_koolance,
|
||||
],
|
||||
)
|
||||
|
|
|
@ -10,12 +10,13 @@ TANK_THICK = 9 # XXX from immersion tank, don't set statically
|
|||
TANK_WIDTH = 400 # XXX from immersion_tank
|
||||
TANK_LENGTH = 260 # XXX from immersion_tank
|
||||
TANK_HEIGHT = 380 # XXX from immersion_tank
|
||||
WEIR_OFFSET = 60 # XXX from immersion_tank
|
||||
TSLOT_SIZE = 20
|
||||
MB_PLATE_THICKNESS = 5.6 # XXX from immersion_mb_plate
|
||||
# PSU
|
||||
ATX_PSU_LENGTH = 200 # XXX from atx_psu
|
||||
ATX_PSU_WIDTH = 85 # Width of PSU XXX from atx_psu
|
||||
ATX_PSU_HEIGHT = 150 # XXX from atx_psu
|
||||
|
||||
LID_WIDTH = TANK_WIDTH + (TSLOT_SIZE * 2)
|
||||
LID_LENGTH = TANK_LENGTH + (TSLOT_SIZE * 2) # Full size
|
||||
LID_THICKNESS = TANK_THICK
|
||||
|
@ -108,10 +109,41 @@ def create_plate(
|
|||
|
||||
# Cutout for Weir Hose # XXX add velcro zip tie holes
|
||||
with Locations(
|
||||
(((TANK_WIDTH / 2) + TSLOT_SIZE), (TANK_LENGTH + TSLOT_SIZE)),
|
||||
(
|
||||
(((TANK_WIDTH + TANK_THICK) / 2)),
|
||||
(
|
||||
TANK_LENGTH
|
||||
- (TSLOT_SIZE * 2)
|
||||
- (TANK_THICK * 2)
|
||||
- MB_PLATE_THICKNESS
|
||||
),
|
||||
),
|
||||
):
|
||||
# Size of Weir Hose Cutout
|
||||
Rectangle(30, 80, mode=Mode.SUBTRACT)
|
||||
Rectangle(
|
||||
30,
|
||||
(WEIR_OFFSET + TANK_THICK + MB_PLATE_THICKNESS),
|
||||
align=(Align.MIN, Align.MIN),
|
||||
mode=Mode.SUBTRACT,
|
||||
)
|
||||
|
||||
# Cutout for Motherboard Cables
|
||||
with Locations(
|
||||
(
|
||||
(
|
||||
((TANK_WIDTH + TANK_THICK) / 2),
|
||||
(
|
||||
TANK_LENGTH
|
||||
- TSLOT_SIZE
|
||||
- (TANK_THICK * 2)
|
||||
- MB_PLATE_THICKNESS
|
||||
- WEIR_OFFSET
|
||||
),
|
||||
)
|
||||
)
|
||||
):
|
||||
# Size of Motherboard Cables Cutout
|
||||
Rectangle(84, 40, align=(Align.MIN, Align.MIN), mode=Mode.SUBTRACT)
|
||||
|
||||
extrude(amount=immersion_lid_thickness)
|
||||
|
||||
|
|
Loading…
Reference in New Issue