# Tube Tail Folding Machine — Build Plan

## Overall envelope and layout

A floor-standing, single-lane rotary tube tail folder for filling tubes, based on a common compact pharmaceutical/cosmetic packaging machine. Target envelope is approximately **1.75 m wide × 1.35 m deep × 1.85 m high** (excluding the operator panel). The painted cabinet and leveling feet occupy the lower 0.85 m; the indexing turret is centered above it with an eight-position carrier at about 1.15 m elevation. A short discharge conveyor extends from the cabinet toward the front-right. The guarded process area is above the cabinet, with a fold station at the front-right quadrant of the turret.

Coordinates: X is machine width, Y is front/back (operator at -Y), and Z is vertical. Rest pose is a tube holder aligned at the front-right fold station with a filled tube upright, its open tail above the holder.

## Rigid bodies and contained parts

- **base** (root): welded/plinth cabinet, top deck, access seams, feet, turret column and stationary bearing support, open twin-upright fold-station frame and fixed guide rails, conveyor frame/supports, fixed guard-frame posts/roof, control-panel mount, warning/brand plates, fixed fasteners and indicator hardware.
- **carousel**: rotary plate/hub and eight radial tube nests. Each nest includes a formed clamp saddle, two locating fingers, and its own sample tube held cap-down with an open, flared tail at the top. All are rigidly fixed to the turret plate.
- **folding_jaw_left**, **folding_jaw_right**: short hinged fingers on the fold-station crosshead, with pivot bosses, gold tool pads, and hinge hardware. They swing inward across the open tail from opposite sides.
- **crimp_die**: sliding platen with two polished die faces, guide blocks, and an actuator rod, moving on the fold-station's horizontal guide axis to flatten the folded tube tail.
- **conveyor_drive_roller**: transverse drive roller with rubber lagging and steel end caps, rotating continuously under the dark belt surface. The belt surface and cleats are integrated into the fixed conveyor frame so the rendered top run stays taut.
- **guard_door_left**, **guard_door_right**: clear polycarbonate panes in powder-coated frames, with handles and hinge knuckles; each swings outward from its fixed guard frame.

## Joints and mounts

All points are world coordinates in metres; all rest values are zero and limits include zero.

- `carousel_index`: **continuous**, base → carousel; vertical Z axis through the turret column center `(0, 0, 1.16)`. The eight-position holder plate indexes around the fixed column.
- `folding_jaw_left_hinge`: **revolute**, base → folding_jaw_left; Y axis through `(-0.060, -0.390, 1.602)`, limits `[0, +90°]`. A 45 mm finger swings over the open tail.
- `folding_jaw_right_hinge`: **revolute**, base → folding_jaw_right; Y axis through `(+0.060, -0.390, 1.602)`, limits `[-90°, 0]`. The mirrored finger closes from the other side with clearance.
- `die_slide`: **prismatic**, base → crimp_die; +Y axis at `(0, -0.54, 1.59)`, limits `[0, 0.029]` m. Its 50 × 15 mm contact face starts about 25 mm from the folded tail and advances to contact it.
- `belt_drive`: **continuous**, base → conveyor_drive_roller; Y axis through the drive roller center `(1.02, -0.35, 0.94)`. The dark top-run belt is modeled taut across the visible conveyor frame.
- `guard_door_left_hinge`: **revolute**, base → guard_door_left; vertical Z axis through `(-0.59, -0.64, 1.43)`, limits `[0, 83°]`.
- `guard_door_right_hinge`: **revolute**, base → guard_door_right; vertical Z axis through `(0.59, -0.64, 1.43)`, limits `[-83°, 0]`.

The stationary fold crosshead, twin uprights, and die rails are part of the base. The jaws mount on the crosshead at their hinge axes; the narrow die slides on parallel fixed guide rails. The carousel mounts on the turret column bearing. The drive roller mounts on the conveyor frame and sits directly under the top-run belt. Guard hinges mount on the fixed guard posts. The rear safety glass is set outside the carousel and holder envelope, with corner posts supporting it.

## Visual treatment

Use satin light-grey industrial powder coat for the cabinet, deep teal/blue panels and accent plates, stainless/brushed metal for the turret, tooling, clamps, and fasteners, charcoal rubber for the belt and tube nests, and translucent smoke-tinted polycarbonate for the safety doors. Show service-panel seams, louvered vents, recessed fasteners, feet, bearing rings, a central turret cap, radial nests with tube clamps, and representative tubes with white laminate bodies and colored printed bands. The fold station gets visible crosshead, guide rods, hinge pins, gold-toned replaceable jaw inserts, and a polished crimp die face. The conveyor gets rollers, belt cleats, side rails, and a discharge guard. Add a slanted operator panel with a dark display, colored pushbuttons, emergency stop, and small machine ID/safety labels. Chamfer exposed sheet-metal edges and keep every detail touching its support or integrated into its parent rigid body.
