Skip to content

feat(desktop): the assistant builds function blocks and wall mountings from the tables - #325

Merged
ManuelStaggl merged 1 commit into
mainfrom
feat/block-tool
Nov 11, 2026
Merged

ManuelStaggl merged 1 commit into
mainfrom
feat/block-tool

Conversation

@ManuelStaggl

Copy link
Copy Markdown
Collaborator

Third of the standards the product owner chose on 2026-11-11 (wall mounting), and the tool the remaining single-body standards will hang on.

  • partbuddy_block (blockTool.ts): the function blocks of the interface for the assistant. It gives block, body and a point on a flat face; PartBuddy fills in the standard of that kind and size (defaultBlock: ISO 273 clearance, ISO 4762 and ISO 10642 heads, ISO 4032 nuts, common heat-set inserts), lays over it only the fields the model gave, checks the result against featureBlockSchema and builds stepsOf in one batch, with the body's component active when the block has a sketch. Kinds: screwHole, tappedHole, insertSeat, nutTrap, boss, slot, text, lip, snapFit. Until now the assistant drilled these with raw commands and sizes of its own.
  • Wall mounting (wallMount.ts, through the same tool): keyhole, a keyhole slot on the face against the wall for a 3.5, 4, 4.5 or 5 mm wood screw: the entry for the head, a slot of the thread's width running 8 mm up through a 2 mm lip, and behind the lip a pocket for the head. woodScrew, a countersunk hole after DIN 74 form A with 0.2 mm more for print. Head sizes follow SPAX, the largest of the tables. The answer says how thick the part must be and how far the screw stands out of the wall.
  • Allowed by the policy, a changing tool for the work log (one line per block), and named in the role prompt of every route.

Not done: the wall blocks are not in the interface's block form yet. The lip's 2 mm have no published rule and are PartBuddy's own choice.

Checked: eslint, typecheck, all unit tests (new: blockTool.test.ts); against SolidCraft 0.40.0-rc.4 a new contract test (a plate with two keyholes on its back and two countersunk holes on its front through the fake assistant: one body, no failed feature, two lines in the work log) and the function block, screw lid and screw joint tests. With solidcraft-cli: keyholes for 3.5, 4 and 5 mm build closed bodies; a section shows entry, slot and pocket. Not printed.

🤖 Generated with Claude Code

…s from the tables

partbuddy_block gives the assistant the function blocks of the interface
with their standard sizes, so it no longer drills screw holes, insert
seats or nut traps from memory. Two blocks hang a part on a wall: a
keyhole slot sized by the wood screw, and a countersunk hole after DIN 74.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@ManuelStaggl
ManuelStaggl merged commit 1c347c1 into main Nov 11, 2026
7 checks passed
@ManuelStaggl
ManuelStaggl deleted the feat/block-tool branch November 11, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant