SUBASSEMBLIES / HUB75-SCREEN
BasicHub75Screen
Five shared native HUB75 occurrences with two 180° rotations
Model preview
Five panels on the source project's 800 × 320 mm nominal grid. One reusable detailed panel component is reused at X=-320, -160, 0, 160 and 320 mm. Columns 2 and 4 reverse direction for the rear data chain, and all occurrences stand upright in XZ.
Key dimensions: Five 159.70 × 319.71 × 14.50 mm panels; X pitch 160 mm
SolidCraft model
Open in SolidCraft Web
The editable .sc model is loaded directly from the accepted build branch.
Source
SCPF source
The exact SCPF Python source declared by this build variant.
scpf/model.py
"""Five physically upright HUB75 panels in the XZ display plane.
World coordinates (shared with the wooden-frame project):
X: left/right along the display
Y: front/rear panel depth (front face at Y=0, rear at Y=-14.5)
Z: vertical, up
The detailed Hub75Panel component is authored in its native XY plane with
its depth along +Z. Each occurrence gets one complete constructor/copy
Placement. Alternating panels use one composed absolute axis-angle rotation
(180 degrees about [0, 1, -1]).
"""
from scpf import Placement, half
from models.components.hub75_panel.detailed.scpf.model import Hub75Panel
# This model represents one fixed five-panel 160 x 320 mm nominal grid.
# These dimensions define the product layout; they are not editable native
# SolidCraft parameters. The physical panel envelope remains in
# models/components/hub75_panel/detailed/scpf/model.py.
NOMINAL_PITCH_X = 160.0
NOMINAL_HEIGHT = 320.0
class BasicHub75Screen:
def build(self):
center_z = half(NOMINAL_HEIGHT)
central = Hub75Panel(
placement=Placement(
z=center_z,
rotation=((1, 0, 0), 90),
)
)
screen = central
for index in (0, 1, 3, 4):
x = (index - 2) * NOMINAL_PITCH_X
rotation = (
((0, 1, -1), 180)
if index in (1, 3)
else ((1, 0, 0), 90)
)
screen = screen + central.copy(
placement=Placement(
x=x,
z=center_z,
rotation=rotation,
)
)
return screen
Generated output SolidCraft command sequence 138 generated operations · expand to inspect
component.create{ "grounded": true, "name": "Hub75Panel" }sketch.create{ "name": "d1_Hub75Panel__Hub75Panel footprint", "plane": "XY" }sketch.rectangle.two_point{ "p0": [ -79.85, -159.855 ], "p1": [ 79.85, 159.855 ] }sketch.finishsolid.extrude{ "body_name": "Hub75Panel", "distance": 2 }sketch.create{ "name": "d1_Hub75Panel__Hub75Panel rear start", "offset": 2, "plane": "XY" }sketch.rectangle.two_point{ "p0": [ -79.85, -159.855 ], "p1": [ 79.85, 159.855 ] }sketch.finishsketch.create{ "name": "d1_Hub75Panel__Hub75Panel rear perimeter", "offset": 14.5, "plane": "XY" }sketch.rectangle.two_point{ "p0": [ -78.6, -158.605 ], "p1": [ 78.6, 158.605 ] }sketch.finishsolid.loft{ "operation": "join", "sections": [ { "sketch": "d1_Hub75Panel__Hub75Panel rear start" }, { "sketch": "d1_Hub75Panel__Hub75Panel rear perimeter" } ], "targets": [ "Hub75Panel" ] }model.faces{ "body": "Hub75Panel" }sketch.create{ "name": "d1_Hub75Panel__Achtervakken met afgeronde hoeken en versmallingen", "plane": { "body": "Hub75Panel", "face": "$d1_Hub75Panel_face_point_1", "index": "$d1_Hub75Panel_face_index_1" }, "project_edges": false }sketch.line{ "connect": true, "points": [ [ -62.38281249999999, -149.11474218749998 ], [ -17.969156249999997, -149.11474218749998 ] ] }sketch.line{ "connect": true, "points": [ [ -17.969156249999997, -149.11474218749998 ], [ -14.971874999999999, -152.11202343749997 ] ] }sketch.line{ "connect": true, "points": [ [ -14.971874999999999, -152.11202343749997 ], [ 14.971874999999999, -152.11202343749997 ] ] }sketch.line{ "connect": true, "points": [ [ 14.971874999999999, -152.11202343749997 ], [ 17.969156249999997, -149.11474218749998 ] ] }sketch.line{ "connect": true, "points": [ [ 17.969156249999997, -149.11474218749998 ], [ 62.38281249999999, -149.11474218749998 ] ] }sketch.arc.center_point{ "center": [ 62.38281249999999, -144.1241171875 ], "clockwise": false, "connect": true, "end": [ 67.3734375, -144.1241171875 ], "start": [ 62.38281249999999, -149.11474218749998 ] }sketch.line{ "connect": true, "points": [ [ 67.3734375, -144.1241171875 ], [ 67.3734375, -94.90906249999999 ] ] }sketch.arc.center_point{ "center": [ 62.38281249999999, -94.90906249999999 ], "clockwise": false, "connect": true, "end": [ 62.38281249999999, -89.9184375 ], "start": [ 67.3734375, -94.90906249999999 ] }sketch.line{ "connect": true, "points": [ [ 62.38281249999999, -89.9184375 ], [ 17.969156249999997, -89.9184375 ] ] }sketch.line{ "connect": true, "points": [ [ 17.969156249999997, -89.9184375 ], [ 14.971874999999999, -86.92115625 ] ] }sketch.line{ "connect": true, "points": [ [ 14.971874999999999, -86.92115625 ], [ -14.971874999999999, -86.92115625 ] ] }sketch.line{ "connect": true, "points": [ [ -14.971874999999999, -86.92115625 ], [ -17.969156249999997, -89.9184375 ] ] }sketch.line{ "connect": true, "points": [ [ -17.969156249999997, -89.9184375 ], [ -62.38281249999999, -89.9184375 ] ] }sketch.arc.center_point{ "center": [ -62.38281249999999, -94.90906249999999 ], "clockwise": false, "connect": true, "end": [ -67.3734375, -94.90906249999999 ], "start": [ -62.38281249999999, -89.9184375 ] }sketch.line{ "connect": true, "points": [ [ -67.3734375, -94.90906249999999 ], [ -67.3734375, -144.1241171875 ] ] }sketch.arc.center_point{ "center": [ -62.38281249999999, -144.1241171875 ], "clockwise": false, "connect": true, "end": [ -62.38281249999999, -149.11474218749998 ], "start": [ -67.3734375, -144.1241171875 ] }sketch.line{ "connect": true, "points": [ [ -62.38281249999999, -69.9365625 ], [ -17.969156249999997, -69.9365625 ] ] }sketch.line{ "connect": true, "points": [ [ -17.969156249999997, -69.9365625 ], [ -14.971874999999999, -72.93384375 ] ] }sketch.line{ "connect": true, "points": [ [ -14.971874999999999, -72.93384375 ], [ 14.971874999999999, -72.93384375 ] ] }sketch.line{ "connect": true, "points": [ [ 14.971874999999999, -72.93384375 ], [ 17.969156249999997, -69.9365625 ] ] }sketch.line{ "connect": true, "points": [ [ 17.969156249999997, -69.9365625 ], [ 62.38281249999999, -69.9365625 ] ] }sketch.arc.center_point{ "center": [ 62.38281249999999, -64.9459375 ], "clockwise": false, "connect": true, "end": [ 67.3734375, -64.9459375 ], "start": [ 62.38281249999999, -69.9365625 ] }sketch.line{ "connect": true, "points": [ [ 67.3734375, -64.9459375 ], [ 67.3734375, -14.981562499999999 ] ] }sketch.arc.center_point{ "center": [ 62.38281249999999, -14.981562499999999 ], "clockwise": false, "connect": true, "end": [ 62.38281249999999, -9.9909375 ], "start": [ 67.3734375, -14.981562499999999 ] }sketch.line{ "connect": true, "points": [ [ 62.38281249999999, -9.9909375 ], [ 17.969156249999997, -9.9909375 ] ] }sketch.line{ "connect": true, "points": [ [ 17.969156249999997, -9.9909375 ], [ 14.971874999999999, -6.99365625 ] ] }sketch.line{ "connect": true, "points": [ [ 14.971874999999999, -6.99365625 ], [ -14.971874999999999, -6.99365625 ] ] }sketch.line{ "connect": true, "points": [ [ -14.971874999999999, -6.99365625 ], [ -17.969156249999997, -9.9909375 ] ] }sketch.line{ "connect": true, "points": [ [ -17.969156249999997, -9.9909375 ], [ -62.38281249999999, -9.9909375 ] ] }sketch.arc.center_point{ "center": [ -62.38281249999999, -14.981562499999999 ], "clockwise": false, "connect": true, "end": [ -67.3734375, -14.981562499999999 ], "start": [ -62.38281249999999, -9.9909375 ] }sketch.line{ "connect": true, "points": [ [ -67.3734375, -14.981562499999999 ], [ -67.3734375, -64.9459375 ] ] }sketch.arc.center_point{ "center": [ -62.38281249999999, -64.9459375 ], "clockwise": false, "connect": true, "end": [ -62.38281249999999, -69.9365625 ], "start": [ -67.3734375, -64.9459375 ] }sketch.line{ "connect": true, "points": [ [ -62.38281249999999, 9.9909375 ], [ -17.969156249999997, 9.9909375 ] ] }sketch.line{ "connect": true, "points": [ [ -17.969156249999997, 9.9909375 ], [ -14.971874999999999, 6.99365625 ] ] }sketch.line{ "connect": true, "points": [ [ -14.971874999999999, 6.99365625 ], [ 14.971874999999999, 6.99365625 ] ] }sketch.line{ "connect": true, "points": [ [ 14.971874999999999, 6.99365625 ], [ 17.969156249999997, 9.9909375 ] ] }sketch.line{ "connect": true, "points": [ [ 17.969156249999997, 9.9909375 ], [ 62.38281249999999, 9.9909375 ] ] }sketch.arc.center_point{ "center": [ 62.38281249999999, 14.981562499999999 ], "clockwise": false, "connect": true, "end": [ 67.3734375, 14.981562499999999 ], "start": [ 62.38281249999999, 9.9909375 ] }sketch.line{ "connect": true, "points": [ [ 67.3734375, 14.981562499999999 ], [ 67.3734375, 64.9459375 ] ] }sketch.arc.center_point{ "center": [ 62.38281249999999, 64.9459375 ], "clockwise": false, "connect": true, "end": [ 62.38281249999999, 69.9365625 ], "start": [ 67.3734375, 64.9459375 ] }sketch.line{ "connect": true, "points": [ [ 62.38281249999999, 69.9365625 ], [ 17.969156249999997, 69.9365625 ] ] }sketch.line{ "connect": true, "points": [ [ 17.969156249999997, 69.9365625 ], [ 14.971874999999999, 72.93384375 ] ] }sketch.line{ "connect": true, "points": [ [ 14.971874999999999, 72.93384375 ], [ -14.971874999999999, 72.93384375 ] ] }sketch.line{ "connect": true, "points": [ [ -14.971874999999999, 72.93384375 ], [ -17.969156249999997, 69.9365625 ] ] }sketch.line{ "connect": true, "points": [ [ -17.969156249999997, 69.9365625 ], [ -62.38281249999999, 69.9365625 ] ] }sketch.arc.center_point{ "center": [ -62.38281249999999, 64.9459375 ], "clockwise": false, "connect": true, "end": [ -67.3734375, 64.9459375 ], "start": [ -62.38281249999999, 69.9365625 ] }sketch.line{ "connect": true, "points": [ [ -67.3734375, 64.9459375 ], [ -67.3734375, 14.981562499999999 ] ] }sketch.arc.center_point{ "center": [ -62.38281249999999, 14.981562499999999 ], "clockwise": false, "connect": true, "end": [ -62.38281249999999, 9.9909375 ], "start": [ -67.3734375, 14.981562499999999 ] }sketch.line{ "connect": true, "points": [ [ -62.38281249999999, 89.9184375 ], [ -17.969156249999997, 89.9184375 ] ] }sketch.line{ "connect": true, "points": [ [ -17.969156249999997, 89.9184375 ], [ -14.971874999999999, 86.92115625 ] ] }sketch.line{ "connect": true, "points": [ [ -14.971874999999999, 86.92115625 ], [ 14.971874999999999, 86.92115625 ] ] }sketch.line{ "connect": true, "points": [ [ 14.971874999999999, 86.92115625 ], [ 17.969156249999997, 89.9184375 ] ] }sketch.line{ "connect": true, "points": [ [ 17.969156249999997, 89.9184375 ], [ 62.38281249999999, 89.9184375 ] ] }sketch.arc.center_point{ "center": [ 62.38281249999999, 94.90906249999999 ], "clockwise": false, "connect": true, "end": [ 67.3734375, 94.90906249999999 ], "start": [ 62.38281249999999, 89.9184375 ] }sketch.line{ "connect": true, "points": [ [ 67.3734375, 94.90906249999999 ], [ 67.3734375, 144.1241171875 ] ] }sketch.arc.center_point{ "center": [ 62.38281249999999, 144.1241171875 ], "clockwise": false, "connect": true, "end": [ 62.38281249999999, 149.11474218749998 ], "start": [ 67.3734375, 144.1241171875 ] }sketch.line{ "connect": true, "points": [ [ 62.38281249999999, 149.11474218749998 ], [ 17.969156249999997, 149.11474218749998 ] ] }sketch.line{ "connect": true, "points": [ [ 17.969156249999997, 149.11474218749998 ], [ 14.971874999999999, 152.11202343749997 ] ] }sketch.line{ "connect": true, "points": [ [ 14.971874999999999, 152.11202343749997 ], [ -14.971874999999999, 152.11202343749997 ] ] }sketch.line{ "connect": true, "points": [ [ -14.971874999999999, 152.11202343749997 ], [ -17.969156249999997, 149.11474218749998 ] ] }sketch.line{ "connect": true, "points": [ [ -17.969156249999997, 149.11474218749998 ], [ -62.38281249999999, 149.11474218749998 ] ] }sketch.arc.center_point{ "center": [ -62.38281249999999, 144.1241171875 ], "clockwise": false, "connect": true, "end": [ -67.3734375, 144.1241171875 ], "start": [ -62.38281249999999, 149.11474218749998 ] }sketch.line{ "connect": true, "points": [ [ -67.3734375, 144.1241171875 ], [ -67.3734375, 94.90906249999999 ] ] }sketch.arc.center_point{ "center": [ -62.38281249999999, 94.90906249999999 ], "clockwise": false, "connect": true, "end": [ -62.38281249999999, 89.9184375 ], "start": [ -67.3734375, 94.90906249999999 ] }sketch.finishsolid.extrude{ "direction": "negative", "distance": 12.5, "name": "Achtervakken met afgeronde hoeken en versmallingen", "operation": "cut", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 0.8, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ -72, -152, 14.5 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ -72, -152, 2 ], "diameter": 8.5, "height": 13, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 0.8, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ -72, 0, 14.5 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ -72, 0, 2 ], "diameter": 8.5, "height": 13, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 0.8, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ -72, 152, 14.5 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ -72, 152, 2 ], "diameter": 8.5, "height": 13, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 0.8, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ 72, -152, 14.5 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ 72, -152, 2 ], "diameter": 8.5, "height": 13, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 0.8, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ 72, 0, 14.5 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ 72, 0, 2 ], "diameter": 8.5, "height": 13, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 0.8, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ 72, 152, 14.5 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ 72, 152, 2 ], "diameter": 8.5, "height": 13, "operation": "join", "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ -72, -141, 2 ], "diameter": 14, "height": 12.5, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 2.5, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ -72, -141, 14.5 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 10, "diameter": 2.5, "direction": [ 0, 0, -1 ], "position": [ -72, -141, 12 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ 72, -141, 2 ], "diameter": 14, "height": 12.5, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 2.5, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ 72, -141, 14.5 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 10, "diameter": 2.5, "direction": [ 0, 0, -1 ], "position": [ 72, -141, 12 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ 72, 11, 2 ], "diameter": 14, "height": 12.5, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 2.5, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ 72, 11, 14.5 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 10, "diameter": 2.5, "direction": [ 0, 0, -1 ], "position": [ 72, 11, 12 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ -72, -11, 2 ], "diameter": 14, "height": 12.5, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 2.5, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ -72, -11, 14.5 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 10, "diameter": 2.5, "direction": [ 0, 0, -1 ], "position": [ -72, -11, 12 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ -72, 141, 2 ], "diameter": 14, "height": 12.5, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 2.5, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ -72, 141, 14.5 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 10, "diameter": 2.5, "direction": [ 0, 0, -1 ], "position": [ -72, 141, 12 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ 72, 141, 2 ], "diameter": 14, "height": 12.5, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 2.5, "diameter": 10, "direction": [ 0, 0, -1 ], "position": [ 72, 141, 14.5 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 10, "diameter": 2.5, "direction": [ 0, 0, -1 ], "position": [ 72, 141, 12 ], "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ 75, 110, 14.5 ], "diameter": 3, "height": 3, "operation": "join", "targets": [ "Hub75Panel" ] }solid.cylinder{ "axis": "Z", "base": [ -75, -110, 14.5 ], "diameter": 3, "height": 3, "operation": "join", "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 13, "diameter": 3, "direction": [ 0, 0, -1 ], "position": [ -72, -152, 15 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 13, "diameter": 3, "direction": [ 0, 0, -1 ], "position": [ -72, 0, 15 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 13, "diameter": 3, "direction": [ 0, 0, -1 ], "position": [ -72, 152, 15 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 13, "diameter": 3, "direction": [ 0, 0, -1 ], "position": [ 72, -152, 15 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 13, "diameter": 3, "direction": [ 0, 0, -1 ], "position": [ 72, 0, 15 ], "targets": [ "Hub75Panel" ] }solid.hole{ "depth": 13, "diameter": 3, "direction": [ 0, 0, -1 ], "position": [ 72, 152, 15 ], "targets": [ "Hub75Panel" ] }sketch.create{ "name": "d1_Hub75Panel__Vlakke zijwand trim links", "plane": "XZ" }sketch.line{ "closed": true, "ids": [ "a", "b", "c", "d" ], "points": [ [ -79.85, -2 ], [ -78.6, -14.5 ], [ -84.85, -14.5 ], [ -84.85, -2 ] ] }sketch.finishsolid.extrude{ "direction": "symmetric", "distance": 321.71, "operation": "cut", "targets": [ "Hub75Panel" ] }sketch.create{ "name": "d1_Hub75Panel__Vlakke zijwand trim rechts", "plane": "XZ" }sketch.line{ "closed": true, "ids": [ "a", "b", "c", "d" ], "points": [ [ 79.85, -2 ], [ 78.6, -14.5 ], [ 84.85, -14.5 ], [ 84.85, -2 ] ] }sketch.finishsolid.extrude{ "direction": "symmetric", "distance": 321.71, "operation": "cut", "targets": [ "Hub75Panel" ] }material.create{ "color": "#B8B8B8", "density_g_cm3": 1.2, "name": "HUB75 housing" }material.assign{ "bodies": [ "Hub75Panel" ], "material": "HUB75 housing" }component.activate{ "component": "root" }occurrence.copy{ "component": "Hub75Panel" }occurrence.copy{ "component": "Hub75Panel" }occurrence.copy{ "component": "Hub75Panel" }occurrence.copy{ "component": "Hub75Panel" }occurrence.move{ "angle": "90 deg", "axis": [ 1, 0, 0 ], "move_grounded": true, "occurrence": "$hub75panel_occurrence_1", "translate": [ 0, 0, 160 ] }occurrence.move{ "angle": "90 deg", "axis": [ 1, 0, 0 ], "occurrence": "$hub75panel_occurrence_2", "translate": [ -320, 0, 160 ] }occurrence.move{ "angle": "180 deg", "axis": [ 0, 1, -1 ], "occurrence": "$hub75panel_occurrence_3", "translate": [ -160, 0, 160 ] }occurrence.move{ "angle": "180 deg", "axis": [ 0, 1, -1 ], "occurrence": "$hub75panel_occurrence_4", "translate": [ 160, 0, 160 ] }occurrence.move{ "angle": "90 deg", "axis": [ 1, 0, 0 ], "occurrence": "$hub75panel_occurrence_5", "translate": [ 320, 0, 160 ] }
Durable build evidence
Build information
- Build scope
main- Build variant
hub75-screen- Physical owner
hub75-screen- Built source
1f2fdb32d67d9af42779500c949f2900ee59c7ae- Forge
v0.23.0 ·- SolidCraft
0.49.0- Runtime
ghcr.io/brainboxemb/cad-solidcraft:v0.3.6
