11 Risks and Technical Debt

This chapter lists the things to check or decide that the models cannot settle on their own. Tick a point off when it is done, and update the source of the value (the constant named in brackets) and its comment ("re-measure on the real part" goes away).

Mini Scales (part on hand)

  • Screws in the −Y corner holes.

    • The head may be at most Ø4.73 mm (BOTTOM_SCREW_HEAD_MAX_D in src/cm3d/pod/electronics/mini_scales.py).

    • An M3 socket head (Ø5.5) does not pass the top half’s corner holes.

    • How are the two screws set today, and which screw type fits?

  • −Y corner screws cannot seat. A head that passes the top half’s corner holes (≤ Ø4.73, BOTTOM_SCREW_HEAD_MAX_D) cannot seat on the Ø4.85 hole (BOTTOM_HOLE_D, and head_seats is False for "bottom -16 left/right"), and no washer passes either. How are these screws set? Confirm on the real part.

  • Contradiction at the −Y screws. Decide this at the start of the pod design.

    • The rule says nothing fixed may come closer than 1 mm to the top half (MINI_SCALES_MIN_LIVE_GAP, an assumption).

    • These screws pass the top half’s holes with only about 0.9 mm radial clearance.

    • Either add an exception for these screws, or state where their heads end up.

  • Grove plug width of the cable in use. The model assumes 10 mm (GROVE.plug_size), exactly the slot width, with no play.

  • Beam deflection under full load (5 kg), against the assumed 1 mm gap around the top half (MINI_SCALES_MIN_LIVE_GAP).

  • Corner holes: Ø4.85 mm with a Ø6.2 × 1.0 mm counterbore (BOTTOM_HOLE_D, BOTTOM_COUNTERBORE_D, BOTTOM_COUNTERBORE_DEPTH).

  • Small top holes. Every top and bottom hole is a MountPoint of mini_scales_mount_points() (the user, 2026-11-13: all usable, except the inner bottom holes under the label). The holes at (±8, −8) and (±8, 0) hold M3 nuts pushed in from the side faces.

  • Side nuts. Check on the real part that an ISO 4032 M3 nut slides into each side slot and seats on the screw axis (SIDE_SLOT_W, SIDE_SLOT_BOTTOM, SIDE_SLOT_TOP in mini_scales.py), and how much room fingers or tweezers need in front of the slot (NUT_ACCESS_ALLOWANCE in boards.py, 10 mm, Claude’s call).

  • Screw length from the top face. A screw from the top face must end above the top half’s underside (z = 12, TOP_HALF_UNDERSIDE, max_screw_depth of each top point). Below it are the bottom half, the inner part or the Grove slot. Into a side nut the screw reaches between 4.29 (thread_depth) and 5.0 mm. The inner part’s top is also at z = 12, so the limit is the live gap to it (MINI_SCALES_MIN_LIVE_GAP) and not max_screw_depth, which still says 6 (see Bottle set: technical debt).

  • Head seat of the corner holes: z = 7.0 with an upper counterbore Ø6.0 up to the boss top at z = 8.0 (BOTTOM_HEAD_SEAT_Z, BOTTOM_UPPER_COUNTERBORE_D, BOTTOM_BOSS_TOP), from the STL only.

  • Top hole sizes: Ø3.2 mm for the small holes (TOP_HOLE_D) and the round Ø5.8 × 3.2 mm counterbore under (0, −16) and (0, 8) (UNDERSIDE_COUNTERBORE_D, UNDERSIDE_COUNTERBORE_DEPTH), from the STL only.

Octopus V1.1 (once the board arrives)

  • Driver height with heat sink: the top of the driver boxes is derived as z = 30.3 mm from the board’s bottom face (DRIVER_TOP, from DRIVER_H and DRIVER_PIN_IN in octopus.py).

  • Board thickness: the model uses 1.6 mm (BOARD_T in octopus_frame.py), but the STEP has 0.73 mm.

  • Mounting hole diameter: the model uses Ø3.2 mm (HOLE_D), but the STEP has pads only.

  • I2C&EEPROM header: 2×4 in the STEP, 1×4 in the pinout picture.

  • V1.0 STEP against the V1.1 board. The model comes from the V1.0 STEP. Check outline, holes and connector positions on the V1.1 board.

  • Plug sizes: XH-4P and XH-3P plug heights, power terminal plug depth, USB-C overmould and the 2×5 Dupont housing (plug_size of each connector in octopus.py).

Pod design (decide when it starts)

  • Mounting points as Locations. Both parts publish MountPoints (octopus_mount_points(), mini_scales_mount_points()). The function mount_location() gives the frame.

  • Screwdriver access to the MOTOR_POWER and POWER screw terminals from +Z. No keep-out is modelled for it.

Pump: check on the first prototype

These points are estimated, not measured.

  • Roller force (estimated 30 to 60 N, see CM3D-012: Pump rotor support and bearings: front support bearing and 608ZZ) and with it the load on the printed stub of the lid.

  • Start-up torque with the smallest bed (1.5 mm): the ramps are steeper than before (pressure angle 33.8°, limit 35°), so the first print checks that the motor starts under load (CM3D-011: Pump occlusion: gap variants 1.5 to 1.8 mm and a U-shaped bed with 140° dwell).

  • The smallest gap that still seals the line: start with 1.7 mm and go down in steps.

  • Wear of the printed stub. Fallback: a lid variant with an M8 bolt as axle.

  • Whether the lock screw of the hub stays tight. It is held by the thread it cuts in the hub. If it works loose, the pump keeps running on the D bore, with play. Fallback: a hub variant for an M3 × 10 and a self-locking M3 nut (DIN 985). Housing and guide stay as they are.

  • Lifting the bed and laying the tube under its front lip.

  • Tightening the bed with the lid on, without seeing the tube.

Bottle set: check on the first build

  • The three bottles. Measure them as the bottle spec asks (body, height and lean, base, shoulder, finish, bore) and replace the values of the drawing in MILK_BOTTLE_1L. The thickness of the glass floor (base_t) and its spread between bottles (base_t_spread, 3.0 mm) set the gap of the dip end.

  • The gaps hold with real bottles. With each bottle in the seat and the arm closed, nothing fixed touches the seat or the bottle. Check the cap over the rim of the tallest bottle (2.0 mm, budget 1.7 mm), the neck ring round the finish (4.72 mm, budget 4.70 mm), the tube in the neck to the bore (budget 5.05 mm) and the dip end over the thickest floor (4.8 mm over the thinnest, budget 4.69 mm).

  • The buoyancy span factor. The dipped tube and the end piece hang from the fixed side, so the reading should drop about 0.7 % more than the drink that left. Weigh several dispenses on a separate scale and find the span factor for the Pod firmware.

  • The arm closes onto its stop with the tube in place. The arm draws the tube back while it closes, and its weight still closes it against a tube resistance of up to about 0.29 N (tube_closing_budget_n), close to the 0.27 N that the review accepted. Check that the arm comes down onto its closed stop by its own weight.

  • The tube slides into the loop on opening and back on closing. Opening pushes about 80 mm of tube down through the spine (tube_travel). Check that it slides down the channel and does not bulge behind the spine, outside the room that the envelope keeps for the free tube.

  • The open arm stays on its rest stop with the tube in place. The model checks this only for the bare arm (test_bottle_arm_rests_open). With the arm open, the tube’s resistance to sliding pushes back on the guide in the closing sense, against the small holding moment of the arm’s weight and the hanging dip end. Check that the open arm stays on its stop with the tube in place, also after the tube is pulled through the grip for a bottle change.

  • The dip end rides over the rim by up to about 1.2 mm while the arm opens through its first 45°. Check that it slides over the glass and does not catch.

  • The friction of the glass on the floor. The fingers bring a nudged full bottle back to within the 1.1 mm (CENTRING_OFFSET) that the neck ring’s budget takes. The model computes 0.99 mm for a friction of 0.3 (GLASS_FRICTION, Claude’s call), and the offset holds only up to a friction of about 0.32. With a friction of 0.4 it would be 1.63 mm. Measure the friction, or the offset of a nudged full bottle, on the real seat.

  • The strain of the fingers. The fingers bend 1.7 % at their preload plus the full travel of a leaning bottle. Check after many bottle changes that no finger cracks or stays bent.

  • The mark of the dip length. The budget of the dip end takes a mark set by hand to within 1.0 mm (MARK_TOL, Claude’s call). Check how closely the tip comes back to its height after a few bottle changes.

  • The worst case of the cell screws. With the length tolerance of the screw and of the printed floor, an M3 × 8 reaches 4.31 to 5.29 mm into the load cell (the comment on CELL_SCREW in params.py). Short: the tip ends 0.02 mm past the far face of the side nut, and about 1.4 mm of full thread engages it. Long: the tip ends 0.71 mm above the inner part, less than MINI_SCALES_MIN_LIVE_GAP (1.0 mm). Check on the real stack that every screw holds and that none touches the inner part.

  • The nut slots of the side stops. Their nuts go into the side bosses along the wall, with the axis of the nut level. No fit coupon prints a nut slot in this orientation, and its floor and its nibs lie half a layer off the layer grid. Check that the nuts slide in, snap past the nibs and stay on the screw axis, and that the nut does not push through the thin outer wall.

  • The pocket of the spine’s foot. Its fit is on no coupon (COUPON_EXEMPT). Check that the foot drops into it without force and without play you can feel.

  • The down stops on the bench. Check that a down stop set with the 3 kg weight still engages at 3 to 3.5 kg after the base has been screwed into the Pod.

  • The arm print stands. The arm prints on its brim pad and touches the bed only along a narrow line at the front of the half-ring. Check that the first layers hold, and how large the scar of the brim is.

  • The spine print stands. The spine takes 238.6 × 208.3 mm of the 240 × 210 mm of the bed, so no brim fits. Check that the ends of its long bed face do not lift.

  • CO₂ of carbonated drinks, a later test. Measure how much CO₂ a chilled carbonated drink loses in the almost closed milk bottle while the pump draws it. If it is too much, the carbonated drinks stay in their own bottles with pinch valves, which is a later design.

Bottle set: technical debt

  • The bottle seat and the bottle spine predate the house style. They keep the 0.5 mm bed chamfer (bed_chamfer_size()) instead of EDGE, and they are migrated in their own refactor commit (CM3D-023). The bottle base and the twist key are hidden, so the house style does not apply to them.

  • The spine does not follow rule 2 of CM3D-023 against warping. Its bed outline is about 281 mm long with sharp corners, and the rule asks for corners of at least 5 mm over 150 mm. The print fills the bed diagonally, so neither corners nor a brim fit without a change to the spine.

  • No up stops. The base has no stop against lifting the seat (CM3D-025). A bottle that dried syrup has glued down and that someone lifts by hand loads the top half of the load cell and its five screws. Only the service rule protects it: loosen a stuck bottle with warm water and never pull it up by force (Servicing the bottle set).

  • The down stops are set from below. Their screws turn from the underside of the base, so the base comes out of the Pod to set them again.

  • The back corner holes of the load cell (its own −Y pair) stay empty. No screw head that passes the corner holes of the top half seats on them (see the Mini Scales points above). So only the two other corner holes hold the load cell on the base, the ones at the front of the bottle set.

  • The LED ring is a placeholder. The LED wall of the base and the room of its cable fit a ring that is not chosen yet. Check them once the LED ring is chosen.

  • The screw limit of the side nuts in the electronics interface. max_screw_depth of the Mini Scales side nuts is 6 (mini_scales.py), but the live gap to the inner part allows only 5.0 mm. Set it to 5.0, or re-measure the inner part on the real load cell. Until then, test_bottle_cell_screws_engage_and_end_in_top_half checks the 5.0 mm limit itself.

Pod electronics: values to re-measure on the real part

  • Octopus board thickness (1.6 mm, the STEP has 0.73 mm).

  • Octopus mounting hole diameter (3.2 mm, the STEP has pads only).

  • Driver module height with heat sink, and so the top of the driver boxes (z = 30.3 mm, not in the STEP).

  • The 2×4 header next to the Raspberry Pi header, which the pinout calls 1×4.

  • Plug sizes and cable allowance of the Octopus connectors: the XH-4P and XH-3P plug heights, the power terminal plug depth, the USB-C overmould and the 2×5 Dupont housing.

  • Grove plug size and the cable you use. The width is assumed equal to the slot width.

  • Mini Scales corner holes: diameter 4.85 mm and the 6.2 × 1.0 mm counterbore.

  • Mini Scales side nut slots and the room in front of them (10 mm, Claude’s call).

  • Mini Scales small top holes (Ø3.2 mm) and the counterbore under the centre ones (Ø5.8 × 3.2 mm), from the STL only.

  • Mini Scales head seat of the corner holes (z = 7) and the upper counterbore (Ø6 mm, boss top at z = 8).

  • The narrowest place of the top half’s corner holes (Ø4.73 mm in the STL), which limits the -Y screw heads.

  • The deflection of the beam under full load, against the 1 mm gap around the top half (Claude’s call).

Station frame: check on the first build

  • Connector sizes. The sizes of the Motedis corner connectors, inner angles and T-nuts come from the drawings. Measure them on the real parts before the guides and ledges are printed.

  • Masses. The stability check uses estimated masses until M2 and M5 build the parts. Weigh the Station with filled show columns and run the check again.

  • Levelling range. A foot levels about 1 mm up and 1.5 mm down, because its screw must end under the line carrier. Check that this levels the Station on a real table, or give the carrier of M3 a hole over each front foot for a longer screw.

  • Strip joint. A printed dowel joins the two segments of a front corner strip. Check that the joint stays flush when a hand presses on the corner.

  • Pane bottom edge. The bottom edge of a pane stands on ledges next to the line carrier, which M3 builds.

Machine concept

These points came out of the machine concept and its reviews. Each goes to the round in brackets.

  • Drink path from the Pod to the outlet. The drink lines come in at the inlet low in the back face and run on to the outlet, and couplings or unbroken lines need a System decision. (Pod and Station)

  • Declaration of the bottle. Ask Octopus Concept or Kautex for the declaration under EU 10/2011 of the bottle and the lid, covering food simulant D1. The fallback is the Kartell square 2000 ml bottle. (Pod)

  • Lid ring. Cut the tamper ring off the blue lid before the first fill. (Pod)

  • Lid with tube. How the tube is held in the lid, the size of the vent, and whether the line twists when the lid turns. (Pod)

  • Show column floor. Test the cast silicone floor with one show column, filled for some weeks under the real light. (Station)

  • Light line channel. Measure the width of the strip on edge, its bend and its colour order on the roll before printing all channels. (Station)

  • Light line length. The lines take about 4570 mm of a 4950 mm roll, so longer lines need a second roll. (Station)

  • Air pumps and weighing. The Pod stands freely now, so the check is a shared table or cart: weigh while a show column bubbles. (Station and Pod)

  • Air pump life. A small diaphragm pump runs about 83 hours, about 30,000 pours of 10 s each. (Station)

  • Carbonated bottles. The room is reserved, and the valves are not designed yet. The raised roof over them must become part of the shape. (Pod)

  • Level faces. The top of the Station falls at least 35° (CM3D-038), and a test checks it. Check with real glasses, dry and wet, that 35° is enough. The roof lids of the Pod are open. (Station and Pod)

  • Bottle mix-ups. Each bottle place needs a mark or a key besides the indicator LED (IF-05-R02). (Pod)

  • Show column service. How a pane and its blind come off and how a show column comes out for its yearly liquid change. (Station)

  • Light line channels across the gap. The bottom corner arcs of the light lines cross the 2 mm gap between the center face and a pane at a steep angle, over 6 to 18 mm of height. A channel and its diffuser must bridge the center face and the line carrier there. (Station, light lines)

  • Contour strip. The contour line is a straight top-emitting strip of the chip family of the light lines (CM3D-038). Choose the product, its density and its diffuser. (Station, light lines)

  • Display size. The band is 140 mm high for a display of about 194 × 120 mm. Check the outline of the real Touch Display 2. (Station, band)

  • The Station stands alone. Check that the Station does not tip with filled show columns and the drip tray in front, and with a hand on the tray. (Station, frame)

  • Second Pod. How its drink lines join the outlet, and whether its ingredients get show columns. (later Pod round)