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
|
compound_lid.color = Color(0.25, 0.64, 0.76, 0.25) # Acrylic
|
||||||
|
|
||||||
# ATX Motherboard
|
# ATX Motherboard
|
||||||
# mb = import_step(file_name="examples/motherboard.stp")
|
mb = import_step(file_name="examples/motherboard.stp")
|
||||||
# mb.label = "Motherboard"
|
mb.label = "Motherboard"
|
||||||
# compound_mb = Compound.make_compound([(mb)]).locate(
|
compound_mb = Compound.make_compound([(mb)]).locate(
|
||||||
# Location(
|
Location(
|
||||||
# Vector(
|
Vector(
|
||||||
# TSLOT_SIZE + 16 + TANK_OFFSET_X + TANK_THICK,
|
TSLOT_SIZE + 16 + TANK_OFFSET_X + TANK_THICK,
|
||||||
# TSLOT_SIZE
|
TSLOT_SIZE
|
||||||
# + tank_config.tank_length
|
+ tank_config.tank_length
|
||||||
# - TANK_THICK
|
- TANK_THICK
|
||||||
# - WEIR_OFFSET
|
- WEIR_OFFSET
|
||||||
# - MB_PLATE_THICKNESS
|
- MB_PLATE_THICKNESS
|
||||||
# - MB_RISER,
|
- MB_RISER,
|
||||||
# 243.84 + 99,
|
243.84 + 99,
|
||||||
# ),
|
),
|
||||||
# (0, 180, 180),
|
(0, 180, 180),
|
||||||
# )
|
)
|
||||||
# )
|
)
|
||||||
# compound_mb.label = "Motherboard"
|
compound_mb.label = "Motherboard"
|
||||||
# compound_mb.color = Color("ForestGreen", 1.0)
|
compound_mb.color = Color("ForestGreen", 1.0)
|
||||||
|
|
||||||
# # Koolance ERM-3K3U
|
# # Koolance ERM-3K3U
|
||||||
# koolance = import_step(file_name="examples/koolance.step")
|
# koolance = import_step(file_name="examples/koolance.step")
|
||||||
|
@ -264,7 +264,7 @@ def compound_assembly():
|
||||||
gpu_compounds[5],
|
gpu_compounds[5],
|
||||||
gpu_compounds[6],
|
gpu_compounds[6],
|
||||||
compound_tank,
|
compound_tank,
|
||||||
# compound_mb,
|
compound_mb,
|
||||||
# compound_koolance,
|
# 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_WIDTH = 400 # XXX from immersion_tank
|
||||||
TANK_LENGTH = 260 # XXX from immersion_tank
|
TANK_LENGTH = 260 # XXX from immersion_tank
|
||||||
TANK_HEIGHT = 380 # XXX from immersion_tank
|
TANK_HEIGHT = 380 # XXX from immersion_tank
|
||||||
|
WEIR_OFFSET = 60 # XXX from immersion_tank
|
||||||
TSLOT_SIZE = 20
|
TSLOT_SIZE = 20
|
||||||
|
MB_PLATE_THICKNESS = 5.6 # XXX from immersion_mb_plate
|
||||||
# PSU
|
# PSU
|
||||||
ATX_PSU_LENGTH = 200 # XXX from atx_psu
|
ATX_PSU_LENGTH = 200 # XXX from atx_psu
|
||||||
ATX_PSU_WIDTH = 85 # Width of PSU XXX from atx_psu
|
ATX_PSU_WIDTH = 85 # Width of PSU XXX from atx_psu
|
||||||
ATX_PSU_HEIGHT = 150 # XXX from atx_psu
|
ATX_PSU_HEIGHT = 150 # XXX from atx_psu
|
||||||
|
|
||||||
LID_WIDTH = TANK_WIDTH + (TSLOT_SIZE * 2)
|
LID_WIDTH = TANK_WIDTH + (TSLOT_SIZE * 2)
|
||||||
LID_LENGTH = TANK_LENGTH + (TSLOT_SIZE * 2) # Full size
|
LID_LENGTH = TANK_LENGTH + (TSLOT_SIZE * 2) # Full size
|
||||||
LID_THICKNESS = TANK_THICK
|
LID_THICKNESS = TANK_THICK
|
||||||
|
@ -108,10 +109,41 @@ def create_plate(
|
||||||
|
|
||||||
# Cutout for Weir Hose # XXX add velcro zip tie holes
|
# Cutout for Weir Hose # XXX add velcro zip tie holes
|
||||||
with Locations(
|
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
|
# 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)
|
extrude(amount=immersion_lid_thickness)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue