Fix offset, disable mb render

main
Jeff Moe 2024-01-22 15:05:44 -07:00
parent 64768187b9
commit ea00d3837c
1 changed files with 21 additions and 21 deletions

View File

@ -22,7 +22,7 @@ TSLOT_SIZE = 20 # Size of extrusion (e.g. 20mm x 20mm)
MB_OFFSET = (
8 # Distance between motherboard to mount plate. ~Size of standoff bolt heads.
)
MB_PLATE_OFFSET = 60 # Distance between back of tank and MB plate. Size of hot side.
MB_PLATE_OFFSET = 60 + 9 # Distance between back of tank and MB plate. Size of hot side.
GPU_OFFSET = 12 # Distance between GPU and Motherboard
TANK_OFFSET_X = 0
TANK_OFFSET_Y = 0
@ -70,25 +70,25 @@ def compound_assembly():
compound_plate.label = "MB Mount Plate"
compound_plate.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 + 9,
TANK_OFFSET_Y
+ tank_config.tank_length
- MB_PLATE_OFFSET
- MB_OFFSET
- plate_config.immersion_mb_plate_thickness,
TANK_OFFSET_Z + 243.84 + 99,
),
(0, 180, 180),
)
)
compound_mb.label = "Motherboard"
compound_mb.color = Color("ForestGreen", 1.0)
# # 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 + 9,
# TANK_OFFSET_Y
# + tank_config.tank_length
# - MB_PLATE_OFFSET
# - MB_OFFSET
# - plate_config.immersion_mb_plate_thickness,
# TANK_OFFSET_Z + 243.84 + 99,
# ),
# (0, 180, 180),
# )
# )
# compound_mb.label = "Motherboard"
# compound_mb.color = Color("ForestGreen", 1.0)
# PCIe GPUs for Immersion
def create_gpu(label, location):
@ -145,7 +145,7 @@ def compound_assembly():
gpu_compounds[5],
gpu_compounds[6],
compound_tank,
compound_mb,
# compound_mb,
],
)