mv PSUs to top of chassis

main
Jeff Moe 2024-01-23 13:24:20 -07:00
parent a23037eabf
commit ab1eec8f53
1 changed files with 19 additions and 5 deletions

View File

@ -144,11 +144,18 @@ def compound_assembly():
"PSU1",
Location(
Vector(
# PSU on back of chassis
# (psu1_config.atx_psu_width * 2) - TSLOT_SIZE,
# TSLOT_DEEP_LEN + (TSLOT_SIZE * 2),
# TSLOT_HI_LEN - psu1_config.atx_psu_height - (TSLOT_SIZE * 2) - (TSLOT_SIZE / 2),
# ),
# (0, 0, 90),
# PSU on top of chassis
(psu1_config.atx_psu_width * 2) - TSLOT_SIZE,
TSLOT_DEEP_LEN + (TSLOT_SIZE * 2),
TSLOT_HI_LEN - psu1_config.atx_psu_height - (TSLOT_SIZE * 2) - 10,
TSLOT_HI_LEN,
),
(0, 0, 90),
(90, 0, 90),
),
)
compound_psu1.label = "PSU 1"
@ -160,11 +167,18 @@ def compound_assembly():
"PSU2",
Location(
Vector(
TSLOT_WIDE_LEN - (TSLOT_SIZE / 2), # wut
# PSU on back of chassis
# TSLOT_WIDE_LEN - (TSLOT_SIZE / 2), # wut
# TSLOT_DEEP_LEN + (TSLOT_SIZE * 2),
# TSLOT_HI_LEN - psu1_config.atx_psu_height - (TSLOT_SIZE * 2) - (TSLOT_SIZE / 2), # XXX
# ),
# (0, 0, 90),
# PSU on top of chassis
TSLOT_WIDE_LEN - (TSLOT_SIZE / 2), # XXX
TSLOT_DEEP_LEN + (TSLOT_SIZE * 2),
TSLOT_HI_LEN - psu1_config.atx_psu_height - (TSLOT_SIZE * 2) - (TSLOT_SIZE / 2), # wut,
TSLOT_HI_LEN,
),
(0, 0, 90),
(90, 0, 90),
),
)
compound_psu2.label = "PSU 2"