Repository navigation
feat(build): pins and axles, plates with a side piece on studs, the clipboard, and panels for short windows (0.6.0) - #6
Merged
Conversation
…ormvis do (0.6.0) The Linux build makes deb, rpm and AppImage. With tauri_config empty formcompiler passed no --config on Linux, and the rpm bundler's default compression of the 116 MB engine is the slow step the 0.5.0 build skipped. The entry now carries the same bundle.linux.rpm.compression none that formCAD's and formvis's entries carry. Checked: formcompiler's registry.py check, run on a scratch copy holding this entry, said 1 entry, 1 valid; registry.py config shows the setting.
…undoing an earlier change (0.6.0) SPEC.md 16.3. The gestures catch Ctrl or Cmd with Z or Y in the capture phase while a drag, box, ring turn, held ghost or held copies are in progress, cancel it as Escape does and stop the key. Checked headless on 7230: a dragged brick went back with no placement undone; a held part was let go by the first Ctrl+Z and the second undid.
…uds stand on (0.6.0) CONNECTIONS.md gains 'Rule G on the body the studs belong to': when rule G on the outline gives no anti-stud, it runs again on the rectangle round the part's upward studs, with that body's own bottom plane and walls, so a plate with a clip, a handle or a hinge finger gets the receptacles under its plate. Says why the studs are the measure and that parts whose outline already gives an anti-stud are never looked at again. Checked against the code built next: examples 1 to 4 and the brick-on-brick table come out the same.
…check is on and they would overlap (0.6.0) SPEC.md 5.3. part.move and part.set_transform now test every new place with the turn's overlap test before writing anything. Checked on 9230 by calling the commands: overlapping moves refused, a move of both parts and a stack allowed, everything allowed with the check off.
…nti-studs under its body (0.6.0) Rule G runs again on the rectangle round the part's upward studs when the outline gives no anti-stud, with the body's own bottom plane and walls; the stud kind's version is 2, so cached parts are derived again. Checked with a scratch script on the 2026-10 library: 4085c and 6019 gain one anti-stud, 2540, 44301a, 44302a, 4275b, 4276b and 78256 two; 3001, 3023, 3068b and 3039 and the brick-on-brick table are unchanged.
…egistry's limit (0.6.0) The entry was one line of 1,555 characters; the registry refuses lines over 1,000 as generated. Same words, one sentence or two per line, every line now under 400.
…'s cells (0.6.0) The grid fallback in CONNECTIONS.md: an upright part whose outline is not whole cells but which has rule G anti-studs on its body rounds a corner of that body's cells, so its studs land on the stud lattice; parts without a body grid keep the bounding box.
…lattice (0.6.0) reference_point rounds a cell corner of the part's body, taken from its rule G anti-studs, when the outline is not whole cells. Checked with a scratch script at the Stud and Plate steps, unturned and a quarter turn: 4085c, 6019, 2540, 44301a, 4275b and 78256 now land their studs on 10 + 20k; 3001 and 3023 are unchanged.
…al clip gains its anti-stud (0.6.0) 4085c walked again by hand from its file with rule G on the body: one anti-stud at (0, 8, 0) under the stud, with each step's numbers; the old table is named. Matches the derivation run with a scratch script on the 2026-10 library.
… the anti-studs under its studs (0.6.0) 2540 walked again from its file: the outline is 36 deep, the body round its two studs is the 1 x 2 plate, and rule G on it finds (-10, 8, 0) and (10, 8, 0) by the same steps as Example 2. Matches the derivation run with a scratch script on the 2026-10 library.
…r their plates (0.6.0) 44301a, 44302a, 4275b and 4276b each gain (-10, 8, 0) and (10, 8, 0) from rule G on the body; the finger widens each outline to x = 34 to 36. Their hinge halves are unchanged. Numbers from the derivation run with a scratch script on the 2026-10 library.
…ti-studs change (0.6.0) Run again with a scratch script over the 2026-10 library, overlap check off and on: a second clip plate held by a seated one now hangs under it on its anti-stud with its clip on the bar below; the unturned 44301a held over a 44302a now stacks on its studs; the 4275b on 4275b row lands on the grid by its body. The other rows and the clip-height table came out unchanged. Old results kept beside the new.
… and after the body rule (0.6.0) A table of 0.5.0's numbers beside 0.6.0's, from both versions of the code run on the same library: four examples gain anti-studs, three snap rows change, everything else identical.
CONNECTIONS.md, the bar kind and Deriving bars step 5: eight probes from radius 7.75 to 12 round the free length find where the bar's part lies, and their sum is the ref; null for a free rod. Read from 6019 and 4085c, whose clip necks meet their plates 10 behind the grip.
… the bar's part (0.6.0) The mate of a clip on a bar gains step 2: the clip's body lies behind its opening, the bar's part on the side of the bar's ref, and the pair mates only when the two are at least a right angle apart, less the 5 degree tolerance. The later steps are renumbered and the hinge freedom notes that the test holds at every angle.
… the wrong way round (0.6.0) Picking the free turn of a clip about its bar would land the part in a rotation the person did not give, which SPEC.md 7.3 forbids, so the snap offers only the seats that fit as held and the person turns the clip; the text says which turns do it on a horizontal handle and on a vertical bar.
…ap.toggle, overlap.nested_toggle, grid.next and angle.next (0.6.0) Each reads its own setting under the document lock and writes the next value, so quick presses are taken in order and two always end where they began. Checked on 9230 through the command route.
…settings answers are dropped (0.6.0) A runs angle.next instead of sending a value worked out from the window's copy, and the settings store numbers its requests and takes no answer older than the last taken. Checked headless on 7230 at 6x CPU and 400 ms latency: two quick presses of A ended at 22.5 degrees in the engine and on the button.
…om the bar's part (0.6.0) Bars gain a ref, the side their own part is on, from eight probes out to 12 LDU, and the clip and bar mate refuses a clip whose body points within 85 degrees of it. The clip module's version is 2. Checked with a scratch script on the 2026-10 library, overlap check off and on: a 6019 held unturned over a 2540 no longer seats with its plate inside the handle's; turned a half turn, or a quarter turn about x, it seats on the handle with no overlap.
… (0.6.0) Worked from 2540's file: the plate's front face is 10 LDU from the handle's axis in +z, the 45 degree probes pass over and under it, so every bar's ref is (0, 0, 1); the Bar 3L's is null. Matches the derivation run with a scratch script on the 2026-10 library.
….0 seated inside (0.6.0) A new worked snap: five turns of the 6019 near the 2540, each with the overlap check off and on, from a scratch script on the 2026-10 library. The unturned one is no longer offered the handle; turned away or across it seats with no overlap.
… check on or off (0.6.0) The fitted pair rule kept its example of 0.5.0's fault, a clip plate seated inside a handle plate; that seat is no longer offered by the snap, so the sentence now says so and points to CONNECTIONS.md.
…the port and what to do (0.6.0) A data folder the engine cannot write, a second engine on the same data folder, a taken FORMBLOCKS_PORT and an engine that cannot load its modules each end in one formblocks-start-error line on standard error with the remedy, exit 4, 2, 3 and 5, instead of a traceback or uvicorn's error. Checked from source on Linux: data folders under /proc, under a file and on a read-only tmpfs; a second engine on a running engine's folder; a third on its port; the self-check.
… a pointer ray seated like a drag of copies (0.6.0) clipboard.copy, clipboard.cut and clipboard.paste, and POST /api/place/paste answering where a paste at a ray would go. Checked on 9230 by command: copy, paste by delta, paste at a ray seated on a stack, cut, a missing part refused.
…des, zoom keys and a typed turn angle (0.6.0) Seam file committed alone; the commands that use these words follow. Type check run.
…vation, mates and worked examples (0.6.0) A new section of CONNECTIONS.md, Pins and axles: five kinds (pin, pin_friction, pin_hole, axle, axle_hole) in two modules, the primitives each is found from with their first lines and the reference's words, how faces pair into holes and pieces join into shafts, the mate of a pin (collar at the hole's face, then 10 LDU steps) and of an axle (grid steps from its middle, crosses lined up for an axle hole), stretches taken, turning about a single line, the fitted rule, override entries, where it will be wrong, four worked examples run through part.fit and part.place on an engine with the 2026-10 library, the pairing table and what stays for later. Checked by running every example through ./formblocks cli against an engine on port 9220.
… paired face files (0.6.0) The pin module registers pin, pin_friction and pin_hole with its data in pin.json: pin pieces claimed by name and joined one way round into shafts from tip to collar, peghole faces paired nearest first into holes with their depth, a lone face taken as a hole 20 deep. A pin seats with its collar at a hole's face, then in 10 LDU steps, and leaves a hinge. Shared measuring is in kinds/_shaft.py. Checked with ./formblocks cli run part.connectors on 3673, 2780, 6558, 4274, 32524, 3700, 2825 and 32054 against the 2026-10 library, and part.fit of a pin into a beam and a beam onto the pin through an engine on port 9220.
…rough holes in grid steps (0.6.0) The axle module registers axle and axle_hole with its data in axle.json: axle sections and ends, and closed and open axle hole sections, joined on one line. An axle seats in an axle hole only with the crosses a whole number of quarter turns apart and then slides; in a round pin hole it turns. Checked with part.connectors on 3704, 3705, 43093, 3713, 32054 and 2825, and part.fit of an Axle 4 through two beams and a bush onto it through an engine on port 9220.
… hold pasted parts under the pointer (0.6.0) Copy and cut write the engine's lines to the system clipboard; paste comes from the browser's paste event and holds the parts like Ctrl+D copies, seated through POST /api/place/paste and dropped by clipboard.paste. Checked headless on 7230: copy, paste, turn, drop, Esc, undo, cut and a hand-written line pasted; layout shift 0.
…lacements or the selection (0.6.0) Attached follows seated connectors however far the chain goes and passes over hidden parts. Checked on 9230 on a stack of three bricks with one loose.
…sons (0.6.0) Matches the third desktop build.
…md (0.6.0) Line breaks only, at the ends of sentences; the words are unchanged.
…LOG.md (0.6.0) Line breaks only, at the ends of sentences; the words are unchanged.
…s (0.6.0) Paragraph break only.
…aracters (0.6.0) Paragraph break only.
Version words in the two documents I own.
Their sub-skills were brought up to this version.
…ce with the 0.6.0 skills and catalogue (0.6.0) Written by ./formblocks agents sync. It carries my pack changes (pins-and-axles, clipboard and edited sub-skills) and also the command text other lanes committed (clipboard, toggles, step.reorder, select, favourite); agents check is clean.
…ed text field (0.6.0) While a text field had the focus every Ctrl combination but undo and redo reached the window's commands, so Ctrl+A in the tree filter selected all parts and Ctrl+X cut the selected parts out of the model. The keys a text field uses for itself now stay with it. Checked headless on the built window with the car: in the filter Ctrl+A, C, X, I, Z, Ctrl+Shift+Left, Delete and R edited the text and left the model's revision and selection alone; outside a field Ctrl+A selected all 61 parts.
…s none (0.6.0) Creating the renderer threw without WebGL 2 and the viewport stayed blank. A hidden sentence now sits in the viewport's place from the first paint, over the viewport's own box, and is shown when the renderer cannot start. Checked headless with WebGL turned off on the command line: the sentence shows centred in the viewport and the rest of the window works; with WebGL it stays hidden.
… they do not touch (0.6.0) The 0.5.0 entry on the overlap tolerance called the sample car's eight pairs touching. Lane B5 measured them this turn: each pin in its rim and each rim in its tyre is drawn exactly 1.00 LDU into its partner. The sentence now says so. No spec line made the claim; SPEC.md 8.2 already says intersections of 1 LDU or less are how near LDraw's parts come.
… no word changed (0.6.0) SPEC.md's right column heights bullet (2,382 characters), CONNECTIONS.md's covered ground studs bullet (1,062) and its [PART] sources line (1,021) passed the 1,000 characters the registry takes for generated text. Each is broken at sentence ends with the continuation indented under its bullet. git diff --word-diff shows no word changed; no line of spec/ is now over 1,000.
….6.0 (0.6.0) The scope at the head of CONNECTIONS.md still said pins and axles were later kinds and the version line named only 0.5.0's additions, while "Pins and axles", the compatibility table and "Left for later" already have them modelled. Both now say the pin module (pin, pin_friction, pin_hole) and the axle module (axle, axle_hole) came in 0.6.0, the kind names checked against kinds/pin.py and kinds/axle.py.
… not a product line's name (0.6.0)
The README, the manual, the driving pack's route table and pins-and-axles description, CONNECTIONS.md (two places) and the connect log named a brick maker's product line as an adjective of our own ("Technic beams", "some Technic plates"). Law 7 and the clean-room rule keep other products' names out of our words; they now say beams with holes, plates with holes, a brick with a hole, and the wiki's sections on shafts and holes. Official LDraw file titles quoted beside their file names (connect.dat, 32524, 3709b) and the library's own category name are the library's data and stay. agents sync follows in its own commit.
…0.6.0) Written by ./formblocks agents sync after the previous commit changed two files of the driving pack; only those two files changed in each mirror. agents check is clean.
… not its hash (0.6.0) The setup log named a FormAnything commit by its short hash. The owner's push signs every commit and changes its hash, so a sibling commit is named by its subject alone (law 12). The line was there before this turn; B6's line breaks carried it.
…owns (0.6.0) SettingsStore.nextGrid() decided the next grid step in the window; since G and the status bar run the engine's grid.next it had no caller. Removed so the engine stays the only place that decides it. Type check passes; G checked in the window later in this lane's walk.
…nto holes, a hole's depth, the version in json (0.6.0) Lane B2 asked that the harness show the pin and axle modules beside the clip and hinge examples. The sub-skill now says how pin.py and axle.py make one piece per open face and join facing pieces into holes in settle, that a hole is a point (the middle of the bore) with a depth, how the mate seats a collar at the near face, and that a kind's version is read from its JSON file and raised there when its rule changes. Checked against kinds/pin.py, kinds/axle.py and CONNECTIONS.md "Deriving pin holes".
Written by ./formblocks agents sync after the previous commit; only that page changed in each mirror. agents check is clean.
…ing and panels audits (0.6.0) Lanes B3 and B4 left rows unbuilt that the list did not name: the pick mode buttons, the box stamp, camera commands, changing a key, eight preferences the engine has no setting for, the Recent pin, tree row pictures, dragging a submodel row, open rows kept in the file, and editing the turn and colour in Details. They are now listed. The line saying a double click does not enter a use is gone: it does, checked headless on the built window with the car packed into one use, unthrottled and at 4x CPU.
…cification says (0.6.0) SPEC.md 10.3 enters a submodel by a double click on a use, by Enter or from the tree; the manual's "Editing a submodel in place" gave only Enter. Checked on the built window: a double click on the car packed into one use entered it, with nothing selected first.
…indow's command first (0.6.0) Typing "Select Same Colour" (or Delete, Copy, Hide and twenty more shared titles) and pressing Enter in the command palette opened the engine command's argument form, because a window command ranked one point under an engine command of the same score. The window's command, which acts on the selection, now ranks one point over. Checked headless on the built window: with a red brick selected, the palette's Select Same Colour selected all three red bricks and no dialog stayed open.
…s the focus (0.6.0) The row lists swallowed Enter with any modifier as row activation, so after picking a part in the model tree Ctrl+Shift+Enter (Move to New Step) and Ctrl+Enter (New Step) did nothing. Enter with Ctrl, Command or Alt now reaches the window's keys. Checked headless on the built window with a tree row focused: Ctrl+Shift+Enter moved the plate into a new step, Ctrl+Enter added a step, Space and Ctrl+Space still select and toggle rows.
… as built in 0.6.0 (0.6.0) SPEC.md 1.2 still said Up and Down on a divider move 16 pixels, while the 0.6.0 change to whole rows (frontend log, "The palette and details show whole rows") moves one row of the section's content. Measured on the built window at 1440 by 900: the colour palette went 264 to 292 and back on Down and Up, one 28 pixel swatch row.
…64 pixels (0.6.0) The window section still gave 0.5.0's numbers: a 256 pixel palette, 16 pixels per key press, 316 after a 60 pixel drag. Measured on the built window at 1440 by 900 after Reset Right Column: 264 at the start, 292 after Down on the divider, 320 after a 60 pixel drag, 264 again after a double-click.
…tooltip (0.6.0)
At 1440 pixels the notice column holds about 45 characters, so the hold, brush and handle notices lost their last keys ("R to tur..."). The column keeps its width and now carries the whole text as its tooltip, cleared with the text. Checked headless on the built window at 4x CPU: holding 3001 gave the full sentence in text and tooltip, both cleared after Esc, no layout shift.
A real picture of the window at 1440 by 900 in headless Chrome with the official library: the sample car open, the colour palette showing two whole rows of solid colours with the Recent, In this model and Starred row, and the Info tab reading 61 placements, 7 colours, 8 steps and 0 overlaps. Nothing in it is edited.
Version 0.6.0 at every site: src-tauri/tauri.conf.json, Cargo.toml and Cargo.lock, frontend/package.json and both fields of package-lock.json, frontend/src/version.ts, backend/app/__init__.py, the README badge, and the 0.6.0 section of CHANGELOG.md. The wiki's Home page, the manual and both packs' pack-version already read 0.6.0 from the documents commits. Ran after the bump: ./formblocks version (0.6.0), agents sync (nothing to change) and agents check (clean), the Form App Contract checker (0 MUST failed, 0 SHOULD not held, 83 clauses checked), the type check, the window build, cargo metadata --locked, the engine freeze with its self-check (formblocks 0.6.0, every data file), and a boot on scratch ports with the sample car open and the status bar reading 0.6.0. Not run: any .bat, Windows, macOS, a desktop build after the bump.
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.
feat(build): pins and axles, plates with a side piece on studs, the clipboard, and panels for short windows (0.6.0)
Summary
spec/CONNECTIONS.mdare recomputed on purpose, with old and new numbers in the connect log; examples 1 to 4 and the brick-on-brick table are unchanged to the last digit.Commits
Oldest first, release commit last. Hashes are left out because signing changes them.
Version
v0.6.0 (the release commit is last). Sites bumped by hand in the release commit:
src-tauri/tauri.conf.json,src-tauri/Cargo.toml,src-tauri/Cargo.lock,frontend/package.json, both fields offrontend/package-lock.json,frontend/src/version.ts,backend/app/__init__.py, the README badge, andCHANGELOG.md. The wiki's Home page, the manual and both packs'pack-versionwere set to 0.6.0 earlier in the branch by the documents commits.Checks
Run on Linux after the last commit:
./formblocks version(0.6.0);./formblocks agents check(clean); FormAnything'sformapp.py validateon this repository (0 MUST failed, 0 SHOULD not held, 83 clauses checked); the type check and the window build;cargo metadata --locked;./formblocks freezewith the frozen engine's self-check (formblocks 0.6.0, every data file); the registry's eight checks on a throwaway submission naming the release commit, read with--sourceand formcompiler, formadaptor and formportal checkouts (all eight pass). With the bump in place: a boot on scratch ports with the official LDraw library (fetched into scratch, never committed) and a headless Chrome walk at 1440 by 900 under a 4x slower processor and a slow network: the sample car opened, the Info and Parts tabs, layout shift 0, no console error. By the lanes and the reviewer: a clip plate on a handle the right way and the wrong way, a pin in a beam, a second beam turned a typed 180 degrees about the pin, an axle through both, copy and paste, the brush, steps dragged, a submodel packed and entered, save as.fblkand.ldrand reopen, at 1440 by 900 and 1280 by 720; layout shift 0 on a hard reload and without recent input (with input, where a person opens or moves the dock, 0.03 to 0.48); formcompiler's three build calls from fresh clones, unsigned, with the deb, rpm and AppImage each started under a virtual display and the sample car drawn; five start-up failures tried. Claude Code 2.1.332 was a real program, not signed in. Commit audit: 190 commits, author and committernodemode-ai <mackin@nodemode.ai>, every subject in form, no attribution line, no merge commit, the dock module untouched.Not run: any
.batscript, Windows, macOS, a signed-in agent turn, a desktop build after the reviewer's window fixes, the workflow on GitHub, a frame time on a real graphics card. No tests were written; the sidecar'sTEST_PLAN.mdhas a section for 0.6.0.Known: what counts as an overlap is still the owner's decision, and the check cannot tell a part pushed in by exactly 1 LDU from one that sits there by design (the sample car's own nested pairs measure exactly 1 LDU); one commit subject has the typo "lldu" and one body gives 881 characters for 916; one CSS block was appended with a shell command instead of the edit tool (reviewed: tokens only); a hide tool, a right-click menu in the viewport, saved camera views and changing a key are not built.
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.