Skip to content

COMPONENTS / HUB75-FRAME-TUBE-10MM

HUB75 Frame Tube — Ø10 × 1 mm

Reusable 360 mm hollow aluminum tube for the two-panel display frame

Built in SolidCraft 0.49.0 11 commands

Model preview

HUB75 Frame Tube — Ø10 × 1 mm SolidCraft build

One reusable purchased aluminum tube component shared by the top and bottom positions of the HUB75 tube-supported frame. The retained native source uses identical Ø10 mm outside / Ø8 mm inside geometry for both occurrences, so placement belongs to the assembly rather than to separate physical owners.

Key dimensions: 360 mm default length; Ø10 mm OD; Ø8 mm ID; 1 mm wall; editable length

Open in SolidCraft Web

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

Tube profile review

The end view verifies the annular Ø10/Ø8 section; the side view verifies the 360 mm source-derived default length.

End profile — Ø10 outside, Ø8 inside, 1 mm wall End view of the HUB75 frame tube showing the annular hollow profile
Side view — 360 mm default two-panel frame length Side view of the HUB75 frame tube showing its full default length

SCPF source

The exact SCPF Python source declared by this build variant.

scpf/model.py
"""Reusable Ø10 × 1 mm aluminum tube for HUB75 display frames.

The retained native frame source owns separate top/bottom tube components, but
both use the same hollow Ø10/Ø8 profile and length.  This catalog owner keeps
one physical component and leaves top/bottom placement to the assembly.
"""

from scpf import Circle2D, Sketch, component


@component(include=("length",))
class Hub75FrameTube10mm:
    """Hollow aluminum tube with editable length."""

    length = 360.0

    OUTER_DIAMETER = 10.0
    WALL = 1.0
    INNER_DIAMETER = OUTER_DIAMETER - 2 * WALL

    def build(self):
        # Forge v0.19 standalone Sketch authoring accepts one closed profile per
        # Sketch. Keep both boundaries native/editable as two sketch features:
        # outer extrusion followed by the concentric bore cut.
        with Sketch(name="Tube outer profile", plane="YZ") as outer_profile:
            Circle2D(d=self.OUTER_DIAMETER)
        tube = outer_profile.extrude(self.length, sym=True)

        with Sketch(name="Tube bore profile", plane="YZ") as bore_profile:
            Circle2D(d=self.INNER_DIAMETER)
        bore = bore_profile.extrude(self.length + 2.0, sym=True)
        tube = tube - bore

        return tube.with_material(
            "Aluminium",
            density_g_cm3=2.70,
            color="#C4C8CB",
        )


Hub75FrameTube10mm()
SolidCraft command sequence 11 generated operations · expand to inspect
  1. parameters.add
    {
       "expression": "360",
       "name": "length",
       "unit": "mm"
    }
    
  2. sketch.create
    {
       "name": "Tube outer profile",
       "plane": "YZ"
    }
    
  3. sketch.circle.center
    {
       "center": [
          0,
          0
       ],
       "diameter": 10
    }
    
  4. sketch.finish
  5. solid.extrude
    {
       "body_name": "Hub75FrameTube10mm",
       "direction": "symmetric",
       "distance": "length"
    }
    
  6. sketch.create
    {
       "name": "Tube bore profile",
       "plane": "YZ"
    }
    
  7. sketch.circle.center
    {
       "center": [
          0,
          0
       ],
       "diameter": 8
    }
    
  8. sketch.finish
  9. solid.extrude
    {
       "direction": "symmetric",
       "distance": "length + 2 mm",
       "operation": "cut",
       "targets": [
          "Hub75FrameTube10mm"
       ]
    }
    
  10. material.create
    {
       "color": "#C4C8CB",
       "density_g_cm3": 2.7,
       "name": "Aluminium"
    }
    
  11. material.assign
    {
       "bodies": [
          "Hub75FrameTube10mm"
       ],
       "material": "Aluminium"
    }
    

Build information

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