Skip to content

ASSEMBLIES / HUB75-DISPLAY2

Hub75DisplayCase v2

Five-panel plywood enclosure with a 70 mm lower storage compartment

Built in SolidCraft 0.49.0 168 commands

Model preview

Hub75DisplayCase v2 SolidCraft build

Second-generation wooden HUB75 enclosure. It keeps the 844 × 362 mm display opening and five-panel layout while adding a 70 mm clear lower compartment, a 12 mm intermediate shelf, two 12 mm dividers, full-depth side walls with hand slots, and an inset display-only rear board.

Key dimensions: 844 × 362 mm opening; 70 mm lower compartment; 12 mm ply; 120 mm depth; 30/40/30 bays

Open in SolidCraft Web

The editable .sc model is loaded directly from the accepted build branch.

SCPF source

The exact SCPF Python source declared by this build variant.

scpf/model.py
"""Hub75DisplayCase v2 with the lower compartment, assembled from named parts and subassemblies."""

from assemblies.corner_brackets import CornerBrackets
from assemblies.glass_frame import GlassFrame
from assemblies.hub75_panels import HUB75Panels
from assemblies.wood_frame import WoodFrame
from parts.window import Window


class Hub75DisplayCaseV2:
    """Second-generation HUB75 display case with a lower storage compartment."""

    # Coordinate / datum conventions
    #
    # X = 0 : horizontal centre of the cabinet/opening.
    #           Changing frame wood thickness grows the cabinet outwards in ±X;
    #           the opening itself stays centred and keeps opening_width.
    # Y = 0 : front face of the wooden cabinet.
    #           cabinet_depth is the 120 mm base depth of the wooden cabinet.
    #           side_panel_depth is kept separately because the side-wall
    #           recess is defined from that rear edge.
    # Z = 0 : outside bottom face of the wooden cabinet.
    #
    # Vertical stack from Z=0:
    #   bottom board
    #   lower_compartment_height clear storage space
    #   intermediate shelf
    #   opening_height display opening
    #   roof board
    #
    # The bottom, intermediate shelf and roof all use frame_wood_thickness.
    # Therefore the display opening begins at:
    #   2 * frame_wood_thickness + lower_compartment_height
    #
    # Parameter rule: dimensions may move these reference planes, but no
    # dependent part may freeze such a relationship into an occurrence.move.

    # Parameter intent:
    #   lower_case  = native editable SolidCraft model parameter
    #   _lower_case = Forge/build-time input; intentionally not native
    #   UPPER_CASE  = fixed constants in the owning part/assembly module
    #
    # Display / inside opening
    opening_width = 844.0
    opening_height = 362.0
    panel_recess_depth = 25.0

    # Lower storage compartment
    lower_compartment_height = 70.0

    # Wood
    frame_wood_thickness = 12.0
    panel_wood_thickness = 9.0
    cabinet_depth = 120.0
    side_panel_depth = 120.0
    roof_front_overhang = 10.0
    roof_rear_overhang = 1.0
    corner_radius = 4.0

    # Printed corner brackets
    bracket_width = 24.0

    # Glazing retainers
    glazing_wood_width = 12.0
    glazing_wood_depth = 12.0

    def build(self):
        opening_bottom_z = (
            2 * self.frame_wood_thickness
            + self.lower_compartment_height
        )

        panels = HUB75Panels(
            opening_height=self.opening_height,
            opening_bottom_z=opening_bottom_z,
            panel_recess_depth=self.panel_recess_depth,
        )

        frame = WoodFrame(
            opening_width=self.opening_width,
            opening_height=self.opening_height,
            lower_compartment_height=self.lower_compartment_height,
            frame_wood_thickness=self.frame_wood_thickness,
            panel_wood_thickness=self.panel_wood_thickness,
            cabinet_depth=self.cabinet_depth,
            side_panel_depth=self.side_panel_depth,
            roof_front_overhang=self.roof_front_overhang,
            roof_rear_overhang=self.roof_rear_overhang,
            corner_radius=self.corner_radius,
        )

        brackets = CornerBrackets(
            opening_width=self.opening_width,
            opening_height=self.opening_height,
            lower_compartment_height=self.lower_compartment_height,
            frame_wood_thickness=self.frame_wood_thickness,
            cabinet_depth=self.cabinet_depth,
            bracket_width=self.bracket_width,
            corner_radius=self.corner_radius,
        )

        glazing = GlassFrame(
            opening_width=self.opening_width,
            opening_height=self.opening_height,
            opening_bottom_z=opening_bottom_z,
            glazing_wood_width=self.glazing_wood_width,
            glazing_wood_depth=self.glazing_wood_depth,
        )

        window = Window(
            opening_height=self.opening_height,
            opening_bottom_z=opening_bottom_z,
            front_y=self.glazing_wood_depth,
        )

        return panels + frame + brackets + glazing + window
SolidCraft command sequence 168 generated operations · expand to inspect
  1. component.create
    {
       "activate": false,
       "grounded": false,
       "name": "HUB75Panels"
    }
    
  2. component.create
    {
       "activate": false,
       "grounded": false,
       "name": "WoodBoxFrame"
    }
    
  3. component.create
    {
       "activate": false,
       "grounded": false,
       "name": "CornerBrackets"
    }
    
  4. component.create
    {
       "activate": false,
       "grounded": false,
       "name": "WoodGlassFrame"
    }
    
  5. component.create
    {
       "grounded": false,
       "name": "Hub75PanelBasic",
       "parent": "HUB75Panels"
    }
    
  6. sketch.create
    {
       "name": "d1_Hub75PanelBasic__Profile",
       "plane": "XZ"
    }
    
  7. sketch.line
    {
       "closed": true,
       "ids": [
          "a",
          "b",
          "c",
          "d"
       ],
       "points": [
          [
             -79.85,
             0
          ],
          [
             79.85,
             0
          ],
          [
             79.85,
             -319.71
          ],
          [
             -79.85,
             -319.71
          ]
       ]
    }
    
  8. sketch.finish
  9. solid.extrude
    {
       "body_name": "Hub75PanelBasic",
       "direction": "symmetric",
       "distance": 14.5
    }
    
  10. material.create
    {
       "color": "#242B32",
       "density_g_cm3": 1.2,
       "name": "LED panel envelope"
    }
    
  11. material.assign
    {
       "bodies": [
          "Hub75PanelBasic"
       ],
       "material": "LED panel envelope"
    }
    
  12. component.activate
    {
       "component": "root"
    }
    
  13. occurrence.copy
    {
       "component": "Hub75PanelBasic"
    }
    
  14. occurrence.copy
    {
       "component": "Hub75PanelBasic"
    }
    
  15. occurrence.copy
    {
       "component": "Hub75PanelBasic"
    }
    
  16. occurrence.copy
    {
       "component": "Hub75PanelBasic"
    }
    
  17. parameters.add
    {
       "expression": "12",
       "name": "frame_wood_thickness",
       "unit": "mm"
    }
    
  18. parameters.add
    {
       "expression": "120",
       "name": "side_panel_depth",
       "unit": "mm"
    }
    
  19. parameters.add
    {
       "expression": "70",
       "name": "lower_compartment_height",
       "unit": "mm"
    }
    
  20. parameters.add
    {
       "expression": "362",
       "name": "opening_height",
       "unit": "mm"
    }
    
  21. component.create
    {
       "grounded": false,
       "name": "SideBoard",
       "parent": "WoodBoxFrame"
    }
    
  22. solid.box
    {
       "body_name": "SideBoard",
       "corner": [
          "-(frame_wood_thickness / 2)",
          0,
          0
       ],
       "height": "(lower_compartment_height + (frame_wood_thickness)) + (opening_height)",
       "length": "frame_wood_thickness",
       "width": "side_panel_depth"
    }
    
  23. sketch.create
    {
       "name": "d2_SideBoard__Side hand slot",
       "plane": "YZ"
    }
    
  24. sketch.slot.center_to_center
    {
       "p0": [
          85,
          177
       ],
       "p1": [
          85,
          349
       ],
       "width": 30
    }
    
  25. sketch.finish
  26. solid.extrude
    {
       "direction": "symmetric",
       "distance": "frame_wood_thickness + 2 mm",
       "name": "Side hand slot",
       "operation": "cut",
       "targets": [
          "SideBoard"
       ]
    }
    
  27. material.create
    {
       "color": "#CBA36B",
       "density_g_cm3": 0.55,
       "name": "LIGHTPLY side board"
    }
    
  28. material.assign
    {
       "bodies": [
          "SideBoard"
       ],
       "material": "LIGHTPLY side board"
    }
    
  29. component.activate
    {
       "component": "root"
    }
    
  30. occurrence.copy
    {
       "component": "SideBoard"
    }
    
  31. parameters.add
    {
       "expression": "844",
       "name": "opening_width",
       "unit": "mm"
    }
    
  32. parameters.add
    {
       "expression": "4",
       "name": "corner_radius",
       "unit": "mm"
    }
    
  33. component.create
    {
       "grounded": false,
       "name": "Board",
       "parent": "WoodBoxFrame"
    }
    
  34. solid.box
    {
       "body_name": "Board",
       "corner": [
          "-((opening_width + (frame_wood_thickness * 2)) / 2)",
          0,
          0
       ],
       "height": "frame_wood_thickness",
       "length": "opening_width + (frame_wood_thickness * 2)",
       "width": "side_panel_depth"
    }
    
  35. solid.fillet
    {
       "body": "Board",
       "edges": [
          [
             -434,
             60,
             0
          ],
          [
             434,
             60,
             0
          ]
       ],
       "radius": "corner_radius"
    }
    
  36. material.create
    {
       "color": "#CBA36B",
       "density_g_cm3": 0.55,
       "name": "LIGHTPLY bottom"
    }
    
  37. material.assign
    {
       "bodies": [
          "Board"
       ],
       "material": "LIGHTPLY bottom"
    }
    
  38. component.activate
    {
       "component": "root"
    }
    
  39. parameters.add
    {
       "expression": "120",
       "name": "cabinet_depth",
       "unit": "mm"
    }
    
  40. component.create
    {
       "grounded": false,
       "name": "Board 2",
       "parent": "WoodBoxFrame"
    }
    
  41. solid.box
    {
       "body_name": "Board_2",
       "corner": [
          "-(opening_width / 2)",
          0,
          0
       ],
       "height": "frame_wood_thickness",
       "length": "opening_width",
       "width": "cabinet_depth - 10 mm"
    }
    
  42. material.create
    {
       "color": "#CBA36B",
       "density_g_cm3": 0.55,
       "name": "LIGHTPLY intermediate shelf"
    }
    
  43. material.assign
    {
       "bodies": [
          "Board_2"
       ],
       "material": "LIGHTPLY intermediate shelf"
    }
    
  44. component.activate
    {
       "component": "root"
    }
    
  45. component.create
    {
       "grounded": false,
       "name": "Board 3",
       "parent": "WoodBoxFrame"
    }
    
  46. solid.box
    {
       "body_name": "Board_3",
       "corner": [
          "-(frame_wood_thickness / 2)",
          0,
          0
       ],
       "height": "lower_compartment_height",
       "length": "frame_wood_thickness",
       "width": "cabinet_depth - 10 mm"
    }
    
  47. material.create
    {
       "color": "#CBA36B",
       "density_g_cm3": 0.55,
       "name": "LIGHTPLY lower divider"
    }
    
  48. material.assign
    {
       "bodies": [
          "Board_3"
       ],
       "material": "LIGHTPLY lower divider"
    }
    
  49. component.activate
    {
       "component": "root"
    }
    
  50. occurrence.copy
    {
       "component": "Board 3"
    }
    
  51. parameters.add
    {
       "expression": "1",
       "name": "roof_rear_overhang",
       "unit": "mm"
    }
    
  52. parameters.add
    {
       "expression": "10",
       "name": "roof_front_overhang",
       "unit": "mm"
    }
    
  53. component.create
    {
       "grounded": false,
       "name": "Board 4",
       "parent": "WoodBoxFrame"
    }
    
  54. solid.box
    {
       "body_name": "Board_4",
       "corner": [
          "-((opening_width + (frame_wood_thickness * 2)) / 2)",
          0,
          0
       ],
       "height": "frame_wood_thickness",
       "length": "opening_width + (frame_wood_thickness * 2)",
       "width": "(side_panel_depth + (roof_rear_overhang)) - (-(roof_front_overhang))"
    }
    
  55. solid.fillet
    {
       "body": "Board_4",
       "edges": [
          [
             -434,
             65.5,
             12
          ],
          [
             434,
             65.5,
             12
          ]
       ],
       "radius": "corner_radius"
    }
    
  56. material.create
    {
       "color": "#CBA36B",
       "density_g_cm3": 0.55,
       "name": "LIGHTPLY roof"
    }
    
  57. material.assign
    {
       "bodies": [
          "Board_4"
       ],
       "material": "LIGHTPLY roof"
    }
    
  58. component.activate
    {
       "component": "root"
    }
    
  59. parameters.add
    {
       "expression": "9",
       "name": "panel_wood_thickness",
       "unit": "mm"
    }
    
  60. component.create
    {
       "grounded": false,
       "name": "RearBoard",
       "parent": "WoodBoxFrame"
    }
    
  61. solid.box
    {
       "body_name": "RearBoard",
       "corner": [
          "-(opening_width / 2)",
          0,
          0
       ],
       "height": "(((frame_wood_thickness + (lower_compartment_height)) + (frame_wood_thickness)) + (opening_height)) - (frame_wood_thickness + (lower_compartment_height))",
       "length": "opening_width",
       "width": "panel_wood_thickness"
    }
    
  62. sketch.create
    {
       "name": "d7_RearBoard__Rear side openings",
       "plane": "XZ"
    }
    
  63. sketch.rectangle.rounded
    {
       "p0": [
          "(-((opening_width / 2) - 50 mm + 35 mm)) + (-35 mm)",
          "((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height))) + ((((frame_wood_thickness + 364 mm) - (frame_wood_thickness + (lower_compartment_height))) - ((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height)))) / 2) + (-((((frame_wood_thickness + 364 mm) - (frame_wood_thickness + (lower_compartment_height))) - ((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height)))) / 2))"
       ],
       "p1": [
          "(-((opening_width / 2) - 50 mm + 35 mm)) + (35 mm)",
          "((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height))) + ((((frame_wood_thickness + 364 mm) - (frame_wood_thickness + (lower_compartment_height))) - ((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height)))) / 2) + ((((frame_wood_thickness + 364 mm) - (frame_wood_thickness + (lower_compartment_height))) - ((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height)))) / 2)"
       ],
       "radius": 20
    }
    
  64. sketch.rectangle.rounded
    {
       "p0": [
          "((opening_width / 2) - 50 mm + 35 mm) + (-35 mm)",
          "((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height))) + ((((frame_wood_thickness + 364 mm) - (frame_wood_thickness + (lower_compartment_height))) - ((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height)))) / 2) + (-((((frame_wood_thickness + 364 mm) - (frame_wood_thickness + (lower_compartment_height))) - ((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height)))) / 2))"
       ],
       "p1": [
          "((opening_width / 2) - 50 mm + 35 mm) + (35 mm)",
          "((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height))) + ((((frame_wood_thickness + 364 mm) - (frame_wood_thickness + (lower_compartment_height))) - ((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height)))) / 2) + ((((frame_wood_thickness + 364 mm) - (frame_wood_thickness + (lower_compartment_height))) - ((frame_wood_thickness + 162 mm) - (frame_wood_thickness + (lower_compartment_height)))) / 2)"
       ],
       "radius": 20
    }
    
  65. sketch.finish
  66. solid.extrude
    {
       "direction": "symmetric",
       "distance": "panel_wood_thickness + 2 mm",
       "name": "Rear side openings",
       "operation": "cut",
       "targets": [
          "RearBoard"
       ]
    }
    
  67. material.create
    {
       "color": "#A87D4D",
       "density_g_cm3": 0.55,
       "name": "LIGHTPLY rear"
    }
    
  68. material.assign
    {
       "bodies": [
          "RearBoard"
       ],
       "material": "LIGHTPLY rear"
    }
    
  69. component.activate
    {
       "component": "root"
    }
    
  70. parameters.add
    {
       "expression": "24",
       "name": "bracket_width",
       "unit": "mm"
    }
    
  71. component.create
    {
       "grounded": false,
       "name": "CornerBracket",
       "parent": "CornerBrackets"
    }
    
  72. sketch.create
    {
       "name": "d8_CornerBracket__Profile",
       "plane": "XZ"
    }
    
  73. sketch.line
    {
       "closed": true,
       "ids": [
          "i_corner",
          "tip_hor_relief",
          "o_hor_tip",
          "o_hor_bevel",
          "o_hor",
          "o_corner",
          "o_vert",
          "o_vert_bevel",
          "o_vert_end",
          "tip_vert_relief",
          "v_tip"
       ],
       "points": [
          [
             0,
             0
          ],
          [
             59.4,
             0
          ],
          [
             60,
             -0.6
          ],
          [
             60,
             -9
          ],
          [
             57,
             -12
          ],
          [
             -6,
             -12
          ],
          [
             -12,
             -6
          ],
          [
             -12,
             57
          ],
          [
             -9,
             60
          ],
          [
             -0.6,
             60
          ],
          [
             0,
             59.4
          ]
       ]
    }
    
  74. sketch.finish
  75. solid.extrude
    {
       "body_name": "CornerBracket",
       "direction": "symmetric",
       "distance": "bracket_width"
    }
    
  76. solid.fillet
    {
       "body": "CornerBracket",
       "edges": [
          [
             0,
             0,
             -0
          ]
       ],
       "radius": "corner_radius"
    }
    
  77. solid.chamfer
    {
       "body": "CornerBracket",
       "distance": 2,
       "edges": [
          [
             60,
             -12,
             4.8
          ],
          [
             58.5,
             -12,
             10.5
          ],
          [
             25.5,
             -12,
             12
          ],
          [
             -9,
             -12,
             9
          ],
          [
             -12,
             -12,
             -25.5
          ],
          [
             -10.5,
             -12,
             -58.5
          ],
          [
             -4.8,
             -12,
             -60
          ],
          [
             60,
             12,
             4.8
          ],
          [
             58.5,
             12,
             10.5
          ],
          [
             25.5,
             12,
             12
          ],
          [
             -9,
             12,
             9
          ],
          [
             -12,
             12,
             -25.5
          ],
          [
             -10.5,
             12,
             -58.5
          ],
          [
             -4.8,
             12,
             -60
          ]
       ]
    }
    
  78. solid.chamfer
    {
       "body": "CornerBracket",
       "distance": 0.6,
       "edges": [
          [
             29.7,
             -12,
             -0
          ],
          [
             29.7,
             12,
             -0
          ]
       ]
    }
    
  79. sketch.create
    {
       "name": "d8_CornerBracket__Horizontal tip relief +Y",
       "plane": {
          "origin": [
             57.292893218813454,
             12.707106781186548,
             0
          ],
          "x_dir": [
             0.7071067811865476,
             0.7071067811865475,
             0
          ],
          "y_dir": [
             0,
             0,
             1
          ]
       }
    }
    
  80. sketch.line
    {
       "closed": true,
       "ids": [
          "a",
          "b",
          "c"
       ],
       "points": [
          [
             -1.6,
             -1
          ],
          [
             1,
             -1
          ],
          [
             1,
             1.6
          ]
       ]
    }
    
  81. sketch.finish
  82. solid.extrude
    {
       "direction": "positive",
       "distance": 4.82842712474619,
       "operation": "cut",
       "targets": [
          "CornerBracket"
       ]
    }
    
  83. sketch.create
    {
       "name": "d8_CornerBracket__Horizontal tip relief -Y",
       "plane": {
          "origin": [
             57.292893218813454,
             -12.707106781186548,
             0
          ],
          "x_dir": [
             0.7071067811865476,
             -0.7071067811865475,
             0
          ],
          "y_dir": [
             0,
             0,
             1
          ]
       }
    }
    
  84. sketch.line
    {
       "closed": true,
       "ids": [
          "a",
          "b",
          "c"
       ],
       "points": [
          [
             -1.6,
             -1
          ],
          [
             1,
             -1
          ],
          [
             1,
             1.6
          ]
       ]
    }
    
  85. sketch.finish
  86. solid.extrude
    {
       "direction": "negative",
       "distance": 4.82842712474619,
       "operation": "cut",
       "targets": [
          "CornerBracket"
       ]
    }
    
  87. sketch.create
    {
       "name": "d8_CornerBracket__Vertical tip relief +Y",
       "plane": {
          "origin": [
             0,
             9.292893218813452,
             -60.707106781186546
          ],
          "x_dir": [
             0,
             0.7071067811865476,
             -0.7071067811865475
          ],
          "y_dir": [
             -1,
             0,
             0
          ]
       }
    }
    
  88. sketch.line
    {
       "closed": true,
       "ids": [
          "a",
          "b",
          "c"
       ],
       "points": [
          [
             -1.6,
             -1
          ],
          [
             1,
             -1
          ],
          [
             1,
             1.6
          ]
       ]
    }
    
  89. sketch.finish
  90. solid.extrude
    {
       "direction": "positive",
       "distance": 4.82842712474619,
       "operation": "cut",
       "targets": [
          "CornerBracket"
       ]
    }
    
  91. sketch.create
    {
       "name": "d8_CornerBracket__Vertical tip relief -Y",
       "plane": {
          "origin": [
             0,
             -9.292893218813452,
             -60.707106781186546
          ],
          "x_dir": [
             0,
             -0.7071067811865476,
             -0.7071067811865475
          ],
          "y_dir": [
             -1,
             0,
             0
          ]
       }
    }
    
  92. sketch.line
    {
       "closed": true,
       "ids": [
          "a",
          "b",
          "c"
       ],
       "points": [
          [
             -1.6,
             -1
          ],
          [
             1,
             -1
          ],
          [
             1,
             1.6
          ]
       ]
    }
    
  93. sketch.finish
  94. solid.extrude
    {
       "direction": "negative",
       "distance": 4.82842712474619,
       "operation": "cut",
       "targets": [
          "CornerBracket"
       ]
    }
    
  95. solid.hole
    {
       "depth": 1,
       "diameter": 10.4,
       "direction": [
          0,
          0,
          -1
       ],
       "position": [
          24,
          0,
          12
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  96. solid.hole
    {
       "cs_angle": 90,
       "cs_diameter": 10.4,
       "depth": 11,
       "diameter": 5.4,
       "direction": [
          0,
          0,
          -1
       ],
       "position": [
          24,
          0,
          11
       ],
       "targets": [
          "CornerBracket"
       ],
       "type": "countersink"
    }
    
  97. solid.hole
    {
       "depth": 0.2,
       "diameter": 10.8,
       "direction": [
          0,
          0,
          -1
       ],
       "position": [
          24,
          0,
          12
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  98. solid.hole
    {
       "depth": 0.2,
       "diameter": 5.800000000000001,
       "direction": [
          0,
          0,
          1
       ],
       "position": [
          24,
          0,
          0
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  99. solid.hole
    {
       "depth": 1,
       "diameter": 10.4,
       "direction": [
          0,
          0,
          -1
       ],
       "position": [
          42,
          0,
          12
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  100. solid.hole
    {
       "cs_angle": 90,
       "cs_diameter": 10.4,
       "depth": 11,
       "diameter": 5.4,
       "direction": [
          0,
          0,
          -1
       ],
       "position": [
          42,
          0,
          11
       ],
       "targets": [
          "CornerBracket"
       ],
       "type": "countersink"
    }
    
  101. solid.hole
    {
       "depth": 0.2,
       "diameter": 10.8,
       "direction": [
          0,
          0,
          -1
       ],
       "position": [
          42,
          0,
          12
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  102. solid.hole
    {
       "depth": 0.2,
       "diameter": 5.800000000000001,
       "direction": [
          0,
          0,
          1
       ],
       "position": [
          42,
          0,
          0
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  103. solid.hole
    {
       "depth": 1,
       "diameter": 10.4,
       "direction": [
          1,
          0,
          0
       ],
       "position": [
          -12,
          0,
          -24
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  104. solid.hole
    {
       "cs_angle": 90,
       "cs_diameter": 10.4,
       "depth": 11,
       "diameter": 5.4,
       "direction": [
          1,
          0,
          0
       ],
       "position": [
          -11,
          0,
          -24
       ],
       "targets": [
          "CornerBracket"
       ],
       "type": "countersink"
    }
    
  105. solid.hole
    {
       "depth": 0.2,
       "diameter": 10.8,
       "direction": [
          1,
          0,
          0
       ],
       "position": [
          -12,
          0,
          -24
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  106. solid.hole
    {
       "depth": 0.2,
       "diameter": 5.800000000000001,
       "direction": [
          -1,
          0,
          0
       ],
       "position": [
          0,
          0,
          -24
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  107. solid.hole
    {
       "depth": 1,
       "diameter": 10.4,
       "direction": [
          1,
          0,
          0
       ],
       "position": [
          -12,
          0,
          -42
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  108. solid.hole
    {
       "cs_angle": 90,
       "cs_diameter": 10.4,
       "depth": 11,
       "diameter": 5.4,
       "direction": [
          1,
          0,
          0
       ],
       "position": [
          -11,
          0,
          -42
       ],
       "targets": [
          "CornerBracket"
       ],
       "type": "countersink"
    }
    
  109. solid.hole
    {
       "depth": 0.2,
       "diameter": 10.8,
       "direction": [
          1,
          0,
          0
       ],
       "position": [
          -12,
          0,
          -42
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  110. solid.hole
    {
       "depth": 0.2,
       "diameter": 5.800000000000001,
       "direction": [
          -1,
          0,
          0
       ],
       "position": [
          0,
          0,
          -42
       ],
       "targets": [
          "CornerBracket"
       ]
    }
    
  111. component.activate
    {
       "component": "root"
    }
    
  112. occurrence.copy
    {
       "component": "CornerBracket"
    }
    
  113. occurrence.copy
    {
       "component": "CornerBracket"
    }
    
  114. occurrence.copy
    {
       "component": "CornerBracket"
    }
    
  115. occurrence.copy
    {
       "component": "CornerBracket"
    }
    
  116. occurrence.copy
    {
       "component": "CornerBracket"
    }
    
  117. occurrence.copy
    {
       "component": "CornerBracket"
    }
    
  118. occurrence.copy
    {
       "component": "CornerBracket"
    }
    
  119. parameters.add
    {
       "expression": "12",
       "name": "glazing_wood_depth",
       "unit": "mm"
    }
    
  120. parameters.add
    {
       "expression": "12",
       "name": "glazing_wood_width",
       "unit": "mm"
    }
    
  121. component.create
    {
       "grounded": false,
       "name": "GlassStrip",
       "parent": "WoodGlassFrame"
    }
    
  122. sketch.create
    {
       "name": "d9_GlassStrip__Profile",
       "plane": "XZ"
    }
    
  123. sketch.line
    {
       "closed": true,
       "ids": [
          "a",
          "b",
          "c",
          "d"
       ],
       "points": [
          [
             "-(opening_width / 2)",
             0
          ],
          [
             "opening_width / 2",
             0
          ],
          [
             "(opening_width / 2) - (glazing_wood_width)",
             "-(glazing_wood_width)"
          ],
          [
             "(-(opening_width / 2)) + (glazing_wood_width)",
             "-(glazing_wood_width)"
          ]
       ]
    }
    
  124. sketch.finish
  125. solid.extrude
    {
       "body_name": "GlassStrip",
       "direction": "positive",
       "distance": "glazing_wood_depth"
    }
    
  126. material.create
    {
       "color": "#E3BF80",
       "density_g_cm3": 0.55,
       "name": "PINE glazing horizontal"
    }
    
  127. material.assign
    {
       "bodies": [
          "GlassStrip"
       ],
       "material": "PINE glazing horizontal"
    }
    
  128. component.activate
    {
       "component": "root"
    }
    
  129. occurrence.copy
    {
       "component": "GlassStrip"
    }
    
  130. component.create
    {
       "grounded": false,
       "name": "GlassStrip 2",
       "parent": "WoodGlassFrame"
    }
    
  131. sketch.create
    {
       "name": "d10_GlassStrip_2__Profile",
       "plane": "XZ"
    }
    
  132. sketch.line
    {
       "closed": true,
       "ids": [
          "a",
          "b",
          "c",
          "d"
       ],
       "points": [
          [
             "-(opening_height / 2)",
             0
          ],
          [
             "opening_height / 2",
             0
          ],
          [
             "(opening_height / 2) - (glazing_wood_width)",
             "-(glazing_wood_width)"
          ],
          [
             "(-(opening_height / 2)) + (glazing_wood_width)",
             "-(glazing_wood_width)"
          ]
       ]
    }
    
  133. sketch.finish
  134. solid.extrude
    {
       "body_name": "GlassStrip_2",
       "direction": "positive",
       "distance": "glazing_wood_depth"
    }
    
  135. material.create
    {
       "color": "#A9793E",
       "density_g_cm3": 0.55,
       "name": "PINE glazing vertical"
    }
    
  136. material.assign
    {
       "bodies": [
          "GlassStrip_2"
       ],
       "material": "PINE glazing vertical"
    }
    
  137. component.activate
    {
       "component": "root"
    }
    
  138. occurrence.copy
    {
       "component": "GlassStrip 2"
    }
    
  139. component.create
    {
       "grounded": false,
       "name": "Window"
    }
    
  140. solid.box
    {
       "body_name": "Window",
       "corner": [
          -420,
          "glazing_wood_depth",
          "((frame_wood_thickness * 2) + (lower_compartment_height)) + ((opening_height - 360 mm) / 2)"
       ],
       "height": 360,
       "length": 840,
       "width": 4
    }
    
  141. material.create
    {
       "color": "#B7DAEF",
       "density_g_cm3": 1.19,
       "name": "Plexiglass"
    }
    
  142. material.assign
    {
       "bodies": [
          "Window"
       ],
       "material": "Plexiglass"
    }
    
  143. component.activate
    {
       "component": "root"
    }
    
  144. parameters.add
    {
       "expression": "25 mm",
       "name": "panel_recess_depth"
    }
    
  145. occurrence.move
    {
       "occurrence": "$hub75panelbasic_occurrence_1",
       "translate": [
          0,
          "panel_recess_depth + 7.25 mm",
          "((frame_wood_thickness * 2) + (lower_compartment_height)) + ((opening_height - 319.71 mm) / 2)"
       ]
    }
    
  146. occurrence.move
    {
       "occurrence": "$hub75panelbasic_occurrence_2",
       "translate": [
          -320,
          "panel_recess_depth + 7.25 mm",
          "((frame_wood_thickness * 2) + (lower_compartment_height)) + ((opening_height - 319.71 mm) / 2)"
       ]
    }
    
  147. occurrence.move
    {
       "occurrence": "$hub75panelbasic_occurrence_3",
       "translate": [
          -160,
          "panel_recess_depth + 7.25 mm",
          "((frame_wood_thickness * 2) + (lower_compartment_height)) + ((opening_height - 319.71 mm) / 2)"
       ]
    }
    
  148. occurrence.move
    {
       "occurrence": "$hub75panelbasic_occurrence_4",
       "translate": [
          160,
          "panel_recess_depth + 7.25 mm",
          "((frame_wood_thickness * 2) + (lower_compartment_height)) + ((opening_height - 319.71 mm) / 2)"
       ]
    }
    
  149. occurrence.move
    {
       "occurrence": "$hub75panelbasic_occurrence_5",
       "translate": [
          320,
          "panel_recess_depth + 7.25 mm",
          "((frame_wood_thickness * 2) + (lower_compartment_height)) + ((opening_height - 319.71 mm) / 2)"
       ]
    }
    
  150. occurrence.move
    {
       "occurrence": "$left",
       "translate": [
          "-((opening_width / 2) + (frame_wood_thickness / 2))",
          0,
          "frame_wood_thickness"
       ]
    }
    
  151. occurrence.move
    {
       "occurrence": "$right",
       "translate": [
          "(opening_width / 2) + (frame_wood_thickness / 2)",
          0,
          "frame_wood_thickness"
       ]
    }
    
  152. occurrence.move
    {
       "occurrence": "$intermediate_shelf",
       "translate": [
          0,
          0,
          "frame_wood_thickness + (lower_compartment_height)"
       ]
    }
    
  153. occurrence.move
    {
       "occurrence": "$lower_divider_left",
       "translate": [
          "-(((opening_width / 2) - ((opening_width - (frame_wood_thickness * 2)) * 0.3)) - (frame_wood_thickness / 2))",
          0,
          "frame_wood_thickness"
       ]
    }
    
  154. occurrence.move
    {
       "occurrence": "$lower_divider_right",
       "translate": [
          "((opening_width / 2) - ((opening_width - (frame_wood_thickness * 2)) * 0.3)) - (frame_wood_thickness / 2)",
          0,
          "frame_wood_thickness"
       ]
    }
    
  155. occurrence.move
    {
       "occurrence": "$roof",
       "translate": [
          0,
          "-(roof_front_overhang)",
          "((frame_wood_thickness + (lower_compartment_height)) + (frame_wood_thickness)) + (opening_height)"
       ]
    }
    
  156. occurrence.move
    {
       "occurrence": "$rear",
       "translate": [
          0,
          "cabinet_depth - (panel_wood_thickness)",
          "frame_wood_thickness + (lower_compartment_height)"
       ]
    }
    
  157. occurrence.move
    {
       "occurrence": "$cornerbracket_occurrence_1",
       "translate": [
          "-((opening_width / 2) + (frame_wood_thickness))",
          "bracket_width / 2",
          "(lower_compartment_height + (opening_height)) + (frame_wood_thickness * 3)"
       ]
    }
    
  158. occurrence.move
    {
       "occurrence": "$cornerbracket_occurrence_2",
       "translate": [
          "-((opening_width / 2) + (frame_wood_thickness))",
          "cabinet_depth - (bracket_width / 2)",
          "(lower_compartment_height + (opening_height)) + (frame_wood_thickness * 3)"
       ]
    }
    
  159. occurrence.move
    {
       "angle": "90 deg",
       "axis": [
          0,
          1,
          0
       ],
       "occurrence": "$cornerbracket_occurrence_3",
       "translate": [
          "(opening_width / 2) + (frame_wood_thickness)",
          "bracket_width / 2",
          "(lower_compartment_height + (opening_height)) + (frame_wood_thickness * 3)"
       ]
    }
    
  160. occurrence.move
    {
       "angle": "90 deg",
       "axis": [
          0,
          1,
          0
       ],
       "occurrence": "$cornerbracket_occurrence_4",
       "translate": [
          "(opening_width / 2) + (frame_wood_thickness)",
          "cabinet_depth - (bracket_width / 2)",
          "(lower_compartment_height + (opening_height)) + (frame_wood_thickness * 3)"
       ]
    }
    
  161. occurrence.move
    {
       "angle": "180 deg",
       "axis": [
          0,
          1,
          0
       ],
       "occurrence": "$cornerbracket_occurrence_5",
       "translate": [
          "(opening_width / 2) + (frame_wood_thickness)",
          "bracket_width / 2",
          0
       ]
    }
    
  162. occurrence.move
    {
       "angle": "180 deg",
       "axis": [
          0,
          1,
          0
       ],
       "occurrence": "$cornerbracket_occurrence_6",
       "translate": [
          "(opening_width / 2) + (frame_wood_thickness)",
          "cabinet_depth - (bracket_width / 2)",
          0
       ]
    }
    
  163. occurrence.move
    {
       "angle": "270 deg",
       "axis": [
          0,
          1,
          0
       ],
       "occurrence": "$cornerbracket_occurrence_7",
       "translate": [
          "-((opening_width / 2) + (frame_wood_thickness))",
          "bracket_width / 2",
          0
       ]
    }
    
  164. occurrence.move
    {
       "angle": "270 deg",
       "axis": [
          0,
          1,
          0
       ],
       "occurrence": "$cornerbracket_occurrence_8",
       "translate": [
          "-((opening_width / 2) + (frame_wood_thickness))",
          "cabinet_depth - (bracket_width / 2)",
          0
       ]
    }
    
  165. occurrence.move
    {
       "occurrence": "$glassstrip_occurrence_1",
       "translate": [
          0,
          0,
          "(frame_wood_thickness * 2) + (lower_compartment_height)"
       ]
    }
    
  166. occurrence.move
    {
       "angle": "180 deg",
       "axis": [
          1,
          0,
          0
       ],
       "occurrence": "$glassstrip_occurrence_2",
       "translate": [
          0,
          "glazing_wood_depth",
          "((frame_wood_thickness * 2) + (lower_compartment_height)) + (opening_height)"
       ]
    }
    
  167. occurrence.move
    {
       "angle": "90 deg",
       "axis": [
          0,
          1,
          0
       ],
       "occurrence": "$glassstrip_2_occurrence_1",
       "translate": [
          "-(opening_width / 2)",
          0,
          "(((frame_wood_thickness * 2) + (lower_compartment_height)) + (((frame_wood_thickness * 2) + (lower_compartment_height)) + (opening_height))) / 2"
       ]
    }
    
  168. occurrence.move
    {
       "angle": "-90 deg",
       "axis": [
          0,
          1,
          0
       ],
       "occurrence": "$glassstrip_2_occurrence_2",
       "translate": [
          "opening_width / 2",
          0,
          "(((frame_wood_thickness * 2) + (lower_compartment_height)) + (((frame_wood_thickness * 2) + (lower_compartment_height)) + (opening_height))) / 2"
       ]
    }
    

Build information

Build scope
main
Build variant
hub75-display2
Physical owner
hub75-display2
Built source
1f2fdb32d67d9af42779500c949f2900ee59c7ae
Forge
v0.23.0 ·
SolidCraft
0.49.0
Runtime
ghcr.io/brainboxemb/cad-solidcraft:v0.3.6