Files
deepgrain-foundry/tasks/t34_limit_how_far.md
T
44r0n7andClaude Opus 5.5 a712e51b96 Board: t21 to Review with its report; new tasks t29, t33-t36; board updates
- t21 report and subtasks ticked.
- New Todo tasks: t33 telling solid ground from loose grains, t34 nozzle blow reach, t35
  diagonal screw tubes, t36 diagonal wall blocks with a sloped face; t29 added on the board.
- The owner's board edits since the last board commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 22:51:27 -04:00

22 lines
1.0 KiB
Markdown

---
id: t34
title: Limit how far the nozzle blows to the same reach as sucking
status: Todo
created: 2026-10-25
updated: 2026-10-25T02:26:51Z
---
## Context
- Blowing with the Pneumatic nozzle has no range limit: with the cursor outside the reach circle around the bot, blown grains still fly all the way to the cursor, and the farther you aim, the farther they go. Sucking only works inside the circle. Blowing should be limited to the same reach.
- Cause: `nozzle()` in `src/sim/vacuum.js` works out a distance capped at the reach, but `toolBlow()` aims every grain at the cursor itself rather than at that capped point.
## Subtasks
- [ ] Aim blown grains at the cursor only when it's inside the reach; outside it, aim at the edge of the reach in the cursor's direction
- [ ] Make the blow preview show where grains will land when the cursor is out of reach
- [ ] Check thrown bars still match (they already aim at the capped point)
- [ ] Add a check: blowing at a cursor far outside the reach lands nothing beyond it