# Aqua-Drone: 3D model, viewers and assembly walkthrough

**APPROXIMATE, FOR PLANNING ONLY.** Many dimensions are scaled from photos. Verify every ESTIMATE before cutting carbon or ordering parts.

Aqua-Drone is a coaxial X8 tethered spray drone, a one-for-one replica of the Apellix B1. This folder was generated on 1 Dec 2026 from the project files in `/workspace/aqua_drone/` (the old path `/workspace/apellix_b1_replica` is a symlink to it). No source file was modified.

## Open it
| What | File |
|---|---|
| Hub, with links to everything | `site/index.html` |
| Main viewer (assembled ↔ exploded, part list, dimensions) | `site/Aqua-Drone_viewer.html` (single file, works offline) |
| Section viewers | `site/sections/Aqua-Drone_<frame / propulsion / electronics / wiring / batteries / spray>_viewer.html` |
| Step-by-step assembly (17 steps) | `site/Aqua-Drone_assembly_steps.html` |
| Parts, prices, alternatives, running BOM total | `site/parts.html` |
| GLB | `glb/Aqua-Drone_assembly.glb`, `glb/Aqua-Drone_exploded.glb`, `glb/Aqua-Drone_<section>.glb` |
| STEP (mm, named products) | `step/Aqua-Drone_assembly.step.zip`, `step/Aqua-Drone_<section>.step` |
| Preview renders | `previews/Aqua-Drone_{hero,front,top,side,underside,exploded}.png` |
| Build checks | `data/checks.json` |
| Parts metadata | `data/parts_meta.json` |
| Steps | `data/assembly_steps.json` |
| BOM mapping | `bom/bom_mapping_report.json`, `bom/alternatives.json` |

**Viewer controls:** drag to orbit, scroll to zoom, right-drag to pan. Each page embeds three.js r147 and its GLB as base64, so every HTML file opens offline from a single file.

**Rebuild:**
```
cd model3d/src
../../.cadenv/bin/python build_aqua_drone.py   # GLB, STEP, checks
python3 make_site.py                           # HTML pages
```
`src/aqua_params.py` is the single parameter file. It mirrors `cad/params.scad`.

**Model structure:**
- 112 solid parts and 67 wires/hoses, each a named parent node (e.g. `plate_top`, `arm_FL`, `motor_FL_top`, `prop_FL_bottom`, `battery_L`, `cube_orange`, `gps_mast`, `hose_line`, `spray_lance`, `nozzle_tee`, `leg_FL`, `skid_L`) with named child meshes (`motor_FL_top__bell`, etc.).
- glTF is Y-up, in metres. Source frame: +X forward, +Y left, +Z up, mm, ground at z = 0.
- Section GLB/STEP files use the same coordinates as the full assembly.

**Materials (PBR):**
- Carbon: procedural 2×2 twill (base colour, normal and roughness maps) with a light clearcoat.
- Yellow body: gloss with a clearcoat.
- Aluminium joints and motor mounts.
- Motor bells: brushed (roughness streak map).
- Props: matte black.
- Battery wrap: label texture.
- Wires: red/black power. Signal colours are FR orange, FL yellow, RL white, RR violet; GPS blue, CAN green, 12 V rail orange.
- Fittings: stainless and brass.

## Sources
1. `cad/params.scad`, `cad/plates.scad`, `cad/assembly.scad`, `cad/gps_riser.scad`. The plate outlines and holes are regenerated from the same logic.
2. `docs/dimension_sources.md`: SPEC / DATASHEET / ESTIMATE tags and tolerances.
3. `docs/assembly_instructions.md`, which the walkthrough follows.
4. `docs/fluid_system.md`: 3/8" QC, swivel, line, lance, and twin size-10 nozzles on a tee.
5. `wiring/power_wiring.*`, `signal_wiring.*` and `motor_numbering.*`.
6. `bom/bom.json` and `bom/bom.csv`, plus web-checked alternatives in `bom/alternatives.json`.
7. `/workspace/aqua_drone_ref/b1_bay_photos.png`: B1 bay layout (yellow tub, fans at the ends, RCNUN DC-DC, Cube at the centre).
8. The brief from Reverse Engineer, relayed for Sam.

## Where each dimension comes from
| Item | Value | Basis |
|---|---|---|
| Overall | 1160 W × 1320 L × 450 H | SPEC (Apellix manuals) |
| Props | 22.2×7.2 (564 mm); spec 22" (559) | user / SPEC |
| Motor rectangle | 761 × 601, diagonal 970, arms ±38.3° | ESTIMATE ±40 (overall minus one prop) |
| Centre plates | 330 × 190, 3 mm, 40 mm gap, lobes to the hinge | ESTIMATE (gap is DATASHEET Z30) |
| Z30 joint | 114×58×40, hinge at r = 175 | DATASHEET / ESTIMATE ±20 |
| Arm tube | Ø30/28 | SPEC (user) |
| Motors | SunnySky X6215S Ø69.3 × 43 | DATASHEET |
| Coax spacing / D30 mount | 45 mm block, 88 mm motor-to-motor | ESTIMATE ±8/±12 |
| Legs / skids | Ø25, 20° splay, skids 500 | ESTIMATE |
| Ground → bottom plate | 354 | ESTIMATE ±30 |
| Batteries | Tattu 22000 6S, 200×91×64 | DATASHEET |
| PM08-CAN | 45×41 | DATASHEET |
| Cube carrier / core | 94.5×44 / 38×38 | approximate datasheet |
| Lance | 500 mm, 6° nose-down | ESTIMATE ±80 |
| GPS riser | Ø80 cap, 45 mm | ESTIMATE (params.scad) |

## Assumptions made only for this 3D model (not in the source files)
- **Batteries on the sides (per the brief):** packs stood on edge in carbon side cradles on aluminium angle brackets under the bottom plate.
  - Inner face 128 mm from the centreline. That leaves about 9 mm to the Z30 joints and keeps the underside clear.
  - The source CAD and assembly step 7 put them on a tray under the body. The tray is not modelled.
- **Yellow centre body:** an open-top tub, 340×200×38 mm, on the top plate, styled from the B1 bay photos. Not in the BOM.
- **Two 40 mm bay fans:** from the photos. Not in the BOM.
- **ESC size:** 78×36×20 mm, one on top of and one under each arm at r = 330.
- **Bay layout:** positions of the PM08, DC-DC, relay, ELRS receiver (which also carries CRSF telemetry) and fans.
- **Wire routing:** follows the wiring diagrams. Exact paths are illustrative.
- **Spray system details:**
  - A bulkhead elbow, swivel and QC plug stack under the Ø22 hole, with a QC socket and a tether stub that stops above the ground.
  - The onboard hose loops sideways around the swivel.
  - Lance root at x = 80, passing through the two P-clips.
  - A tee with street elbows and two forward-facing size-10 nozzles.
- **Props:** lofted, twisted and tapered blades from P = 7.2", on a folding hub. Top props are drawn at arm angle + 78° and bottom props at + 18°.
- **Sizes picked for the model:**
  - Z30 fold half, D30 mount and clamp shapes
  - fittings sizes
  - hose OD 17 mm
  - plate edge break 0.8 mm
  - tub wall 4 mm

## Checks (from `data/checks.json`)
- **Mesh bounding box:** 1295 L × 1108 W × 471 H mm (464.5 without the GPS).
  - Props are drawn at fixed angles, so the tips don't reach full span.
  - **Swept prop-tip envelope:** 1325 × 1165 with 22.2" props, or **1320 × 1160** with the 22" spec props, which matches the spec.
  - **Height:** 471 mm vs the 450 spec. The GPS puck top is at 467 and the twisted top-prop roots at about 460.
- **Motor axes:** (±380.5, ±300.5). Spacing 761 fore-aft, 601 lateral, 969.7 diagonal; arm angle 38.3°.
- **Props vs frame, arms and parts:**
  - No intersections.
  - Neighbouring top-prop tips are 37 mm apart (lateral).
  - **Front-bottom props vs the lance: 12.2 mm clearance at x ≈ 380.** This is the known near-clash from dimension_sources.md, so check it on the real B1.
- **Batteries:** y = ±128…192 mm, outside the 95 mm plate half-width, so they are on the sides.
- **Underside hose zone** (|x| < 75, |y| < 60, below the bottom plate): only spray parts are there (inlet elbow, swivel, QC plug and socket, onboard hose, lance root, bracket, tether).

## Conflicts between the brief and the files
1. **Battery position:** the brief says LEFT and RIGHT sides. `assembly.scad`, the battery-tray DXF and instruction step 7 put them under the body on a tray. The model follows the brief.
2. **Arm tube length:**
   - `params.scad` gives 375 mm = (485 − 175) + 45 + 20.
   - With a 45 mm insert into the Z30 socket, which ends at r = 232, the tube only needs about 318 mm to reach r = 505.
   - The formula seems to measure the insert from the hinge, not from the socket end.
   - The model shows 318 mm. Measure before cutting.
3. **Skid spacing:** `params.scad` says 420, but a 20° splay from legs at y = ±35 gives about 319 mm between skid centres. The model follows the splay, as `assembly.scad` does.
4. **GPS height:** the signal-wiring diagram says the mast is 15 cm above the top plate. `params.scad` and the riser STL give 45 mm. The model uses 45 mm; 150 mm would make the drone about 550 mm tall.
5. **Cube position:** the brief says the centre of the top plate. The instructions and CAD put it at x = −20 (20 mm aft). The model uses x = −20.
6. **Overall height:** the 450 mm spec is exceeded by about 20 mm (see Checks).
7. **Lance:** the CAD has a single nozzle tip. The brief and fluid_system.md want a tee with two size-10 nozzles. The model uses the tee.
8. **Telemetry:** there is no separate telemetry radio in the BOM. The ELRS receiver on TELEM2 provides CRSF telemetry, so the model has no extra radio.
9. **Project folder:** the brief named `/workspace/aqua_drone/`. It appeared mid-task as the renamed `apellix_b1_replica` (now a symlink).

## Parts page data
- Each mesh maps to a BOM line through `BOMMAP` in `src/make_site.py`. The report is in `bom/bom_mapping_report.json`.
- The running total sums price × qty over all 51 "DRONE PARTS" lines. The default total is $2622.16, which matches `bom/totals.json`. Lines without a price are excluded.
- **Unmapped meshes:** yellow body, 2 fans, 4 battery brackets, PM08 CAN cable, and 3 × 12 V rail wires. These are not BOM items.
- **Unmapped BOM lines (32):**
  - tools
  - hardware (screws, nuts, Loctite, zip ties)
  - ground-side items (transmitter, ER4, ground hose, valve, pump)
  - the 16 mm clamp pack
  - CNC cutting
- **Alternatives:**
  - Every link was opened with curl on 1 Dec 2026.
  - Prices are shown only when the price string was on the fetched page. Otherwise the page says "price not verified".
  - AliExpress prices could not be read; the BOM's own numbers are only quoted in the notes.
