Repository navigation
feat(desktop): the assistant builds function blocks and wall mountings from the tables - #325
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 againstfeatureBlockSchemaand buildsstepsOfin 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.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.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