8fb046aaa84d6f2b7145d709b7e7cbfbbb88a92b
4599
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
8fb046aaa8 |
Sketch: the whole sketch updates while you type a dimension's value (#11584) (#11585)
* claim: #11584 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Sketch: the sketch follows a dimension's value while it is typed (#11584) While a new dimension's value was typed, only the dimension moved: the sketch's curves, points, constraint glyphs and other dimensions stayed at the old size until Enter. The typed value was already solved in a scratch session; it is now solved in the frame it is typed, and the open sketch is drawn from that solve, for every kind of curve, within the display cache's limits per sketch. Esc draws the design again. Picking and snapping of curves and points stay on the design, and no hover highlight of the design is painted while a value is typed. A value that does not solve keeps the last one that did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: the sketch scene follows each solve of a typed value, not its address (#11584) The sketch scene was keyed on the preview's address, which a later solve can have once the drawn one is freed; the scene would then stay at the old value. Each solve now has a number, and the scene is keyed on it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: while a value is typed, no design profile is lit over the sketch, and its curves are sampled before its fills (#11584) The profile under the pointer was lit where the design has it, over the sketch drawn at the typed value; it is no longer, and the highlight is built again when the value is let go. The typed sketch's profiles were sampled before its curves from the one budget, so a sketch whose fills used it up lost its curves; the curves now go first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: a selected profile is not lit over the sketch while a value is typed either (#11584) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: the view goes to the typed preview only once a value is typed (#11584) A picked dimension's value box opened with a draft that is the design as it is, and the view already treated it as the typed preview: the profile under the pointer, the selection and the hover went dark before anything was typed. The preview now starts with the first key, completion or reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: a reference picked into the value is solved at once (#11584) The overlays read the preview before the editor solves a changed value, so for the click's frame they drew the solve before the reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: a selected sketch curve is not lit where the design has it while a value is typed (#11584) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: the pointer's x, y readout is not drawn while a value is typed, as the hover is not (#11584) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: curvature combs, the design's teeth, are not drawn while a value is typed (#11584) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dimension: while a value is typed only the open sketch loses its hover and profile highlights; other sketches keep theirs (#11584) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
7b31c0567b |
Sketch Transform: turn and scale about a picked point, such as a rectangle's corner (#11718) (#11797)
* claim: #11718 * Sketch Transform: turn and scale about a picked point, such as a rectangle's corner (#11718) The Transform window turned and scaled the picked entities only about the middle of their box. It now has a Center field, as Move does. A sketch point picked there is the point Scale and Angle work about, and Position moves it. The box, its corner handles and the knob in the view follow the same pivot. With Center empty, Transform works as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Sketch Transform: a click on a corner picks it as Center while Center waits for a pick (#11718) The rectangle corner the issue wants to turn about sits under the box's corner handle, so a click there started a scale. While the Center field waits for a pick, the box's handles leave clicks to the sketch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Sketch Transform: the handles work again once Center has its point (#11718) Center is the window's last field, so a pick there left it active, and the box's handles stayed off until another field was clicked. They are now off only while Center is empty and waiting for its pick. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
5efdd52854 |
Ribbon: a tool pinned into the Finish Sketch group shows pressed (#12049) (#12050)
* Ribbon: a tool pinned into the Finish Sketch group shows pressed The Finish Sketch and Finish Editing groups never drew the pressed state for any of their buttons, so a drawing tool dragged into them (the group at the ribbon's right edge takes drops) looked like a one-shot action while it ran. Only Finish, Cancel and Finish Edit are now left out of the pressed state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Ribbon: test that Finish, Cancel and Finish Edit stay plain under a press None of the three runs as a tool or leaves a dialog behind, so a press is the one way they could light up. The tests now press each one and fail if any of them is dropped from the exclusion. Finish Edit is pressed and released in the edit-in-place test, so the release is also the click that finishes the edit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Ribbon: Finish with AutoConstrain stays plain under a press like Finish Finish with AutoConstrain belongs to the Finish Sketch group and ends the sketch like Finish, but it was not in the list of buttons left out of the pressed state, so once pinned as a button it lit while the pointer was held on it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
61ada52984 |
Reuse unchanged imported meshes during joint motion (#5476) (#5480)
* perf(mesh): reuse imported contents and display triangles * fix(viewport): preserve reference mesh detail and glass fallback * fix(viewport): preserve small faded mesh ordering without OIT |
||
|
|
6578d591ac |
control::execute: check the undo depth before placing the world for the first-body fit (#5940)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
d9421bf2ca |
Browser: an option to start folders closed and open rows only on request (#8768) (#8771)
* claim: #8768 * feat: Browser folders start closed and find a body only when asked, behind a preference Preferences › Layout › Browser rows start closed (`browser_rows_start_closed`, off by default) starts the Browser's folders closed, and placements too whatever "Components start open" (#9274) says. Rows then open with their arrow, Expand All or Find in Browser, which opens just the rows down to its body and closes again the ones the last find opened. A body picked in the 3D view leaves the Browser as it is, and only the body Find in Browser found has the rows above it marked, so a large assembly's placements are not named again after each edit. With the preference off, folders start open, placements start as "Components start open" says, and a pick in the 3D view opens the Browser down to its body, as on main. Find in Browser looks the body's placement up once and opens its rows before drawing, instead of each row testing the revealed path while it is drawn. * Browser tests: read the row order from the Browser's content frame Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: bherbruck <brennen.herbruck@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
774c45a512 |
Dynamics: rigid-body solver core with joints, gravity and springs (#9719) (#9721)
* claim: #9719 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dynamics: rigid-body solver core with joints, gravity and springs (#9719) A new L1 crate, solidcraft-dynamics (geom only): rigid bodies in maximal coordinates, joint constraint equations with analytic Jacobians for rigid, revolute, slider, cylindrical, planar and ball joints, gravity, linear spring-dampers and constant loads; the index-1 equations of motion solved through a rank-revealing Schur complement (repeated joint equations are solved, not refused); RK4 and Dormand-Prince 5(4) with position and velocity projection; joint values, rates, reactions and energies at every output sample; caps on bodies, joints, rows, steps and samples; Result errors only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dynamics: take Vec3 from the record crate after the layer split, refresh the lock file Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: bherbruck <brennen.herbruck@gmail.com> |
||
|
|
315d8cfeb7 |
fix: sketch.intersect keeps a small round between short walls (#9962)
- section() kept the loose fit whenever it had fewer curves, even when it had merged 2 mm walls and an R2 round into one R2.85 arc that misses the walls, leaving the outline open - The tight fit is now also kept when the loose one strays from the exact crossings (on planes and rulings) and the tight one does not; capped work, other curves count as near - Test: a box with R2 corner rounds and four tapered grooves stopping 2 mm short, cut at Y=20 Co-authored-by: P'tite Tête <asso@ptitetete.com> |
||
|
|
4ab1640dc8 |
OCLP detection: run /usr/sbin/nvram by its full path (#10109)
The probe ran `nvram` through PATH, which a Finder launch may not list and which a look-alike earlier in it could change. The doc comment that said exec would need unsafe is replaced by a description of what the code does. Behaviour is otherwise unchanged. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|
|
3aee35fe01 |
Web app: keep unsaved work in the browser instead of the leave-page box (#10220) (#10221)
* claim: #10220 * Web app: keep unsaved work in the browser instead of the leave-page box (#10220) A new preference, off by default, on Preferences > General > Saving (web app only): "Keep unsaved work in this browser instead of asking when the tab closes". With it on, each open design with unsaved changes keeps a copy in the browser's private storage (keep-<page>-<design>.sc/.json), written once the design has been still for 0.8 s (at most 4 s after the first change it lacks) and again on pagehide or when the page is hidden. While every copy is current, beforeunload doesn't ask. A copy goes when its design is saved, closed, or the preference is turned off. The next visit offers the copies newer than their design's last save in SolidCraft's own window, "Restore unsaved design: <name>, changed <time>?", one window for several, with Restore, Open saved version, and Discard. A page holds a Web Lock while it runs, so another open tab's copies are never offered or removed. With the preference off, the single autosave and the browser's prompt work exactly as before. * Web app: the restore window comes from the UI kit's recovery module (#10220) The kit's text and divider helpers are private to the UI crate, so the "Restore unsaved design?" window moves to recovery_ui (browser_copies_window), beside the desktop recovery window, and the web shell only maps its answer. Also keeps the window handle for the page listeners instead of using the one moved into the app. * Web app: restore window buttons sit in one row (#10220) * Web app: keep unsaved work and still ask, unless told not to (#10220) Keeping a copy in the browser no longer replaces the browser's leave-page box by itself. A second option, shown once work is kept and on by default, leaves the box in place; off, the box appears only while a copy isn't current. * Web app: kept-copy review fixes (#10220) A failed write of a kept copy waits 30 s before the next try, a recovery copy is dropped only after the remembered saved file has opened, the preference is documented under its current label, and the ui.prefs list is sorted again. |
||
|
|
5562d9c6c8 |
Quick-access bar: pin ribbon commands to the application bar (#10223) (#10224)
* claim: #10223 * Quick-access bar: pin ribbon commands to the application bar (#10223) A command's menu (a ribbon button, a section drop-down row or a command search result) has Add to Quick Access: the command's own icon joins the application bar after Save, Undo and Redo. A click starts it as its ribbon button does, a drag along the bar reorders the buttons, and the button's menu has Remove from Quick Access. Empty, and so not drawn, by default; it holds up to 24 commands. The list is kept with the toolbar's customisations (`quick_access` in the toolbar's saved document), so it is saved, exported with the keyboard shortcuts and carried by settings profiles. * Quick access: a pinned family variant no longer replaces the ribbon choice A quick-access click now starts the pinned command with start_pinned, so it starts exactly that command and leaves the sketch family remembered choice (the main ribbon button) unchanged. |
||
|
|
d16496e057 |
Navigation: honor reverse zoom for mouse drags (#10354) (#10365)
* claim: #10354 * fix(ui): honor reverse zoom for mouse drags |
||
|
|
0690ee5875 |
Web app: run as a modelling editor inside another page that keeps the design files (#8517) (#11273)
* claim: #8517 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * web: editing embed for host pages (?embed=editor, #8517) A host page that keeps the files itself and frames SolidCraft for modelling needs the modelling UI without the application chrome. `?embed=editor` runs the web app as such an embed: - no application bar (logo, File menu, document tabs, update, help, report a bug) and no start page; the layout is docked; - the ribbon, browser, timeline and properties stay; Ctrl+Z and Ctrl+Y still undo and redo; - Ctrl+N, Ctrl+O, Ctrl+S, Ctrl+W and Ctrl+, are left to the host; - nothing is kept in the browser (no stored designs, autosave, recovery prompt, preferences or leave-page prompt), as with the existing viewer embed. The existing `?embed&open=` viewer embed is unchanged. SolveApp gets one flag, `embed_editor`, for desktop and test hosts too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * control: document.export / document.import / document.saved for a host (#8517) An editing embed's host keeps the design itself. Three control methods (window.solidcraft.request in the browser; the desktop control channel too; not the agent chat's, whose method list is unchanged): - `document.export` -> {name, revision, dirty, format: "json", text}: the active design as a `.json` design file holds it. `revision` is the one `document.revision` answers, so a host that follows the design compares one number. - `document.import {text, name?}`: replaces the active design with that text, timeline and parameters as saved, opened saved with a new `document_id`. It runs as a design opened in a tab of its own, with the old tab closed without asking, so whatever was open in the old design leaves with it. A text that does not read leaves the design as it was. Waits behind a file loading or a design change, as commands do, and evaluates on the window thread. - `document.saved {revision}`: the host saved that revision; refused when the design has changed since. They are control methods, not commands: they act on the app's open design. The browser API test gets a round trip through all three. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: aduijs <7501203+aduijs@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1dd921fc52 |
Components: stop Capture All Positions from doubling moves (#11259) (#11364)
* Model cache: a body made by rounds keeps them, so a later round blends them the same after opening A design gave another body when opened from its model cache: the rounds a body was made of lived only in memory, so a later round at their mitre was built sequentially (or refused, as too large) after opening and blended with them when evaluated anew. The saved model now records, per kernel body made by rounds, the body they were made on (a place in the bodies, stored once though no state holds it) and the edges with their radii; reading it attaches them back down each chain, and a thinned model keeps those bodies with the bodies made from them. Model cache format 7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Tests: a corner patch of rounds 2/3/4 takes no more than the strips leave in its block three_rounds_at_a_corner bounded the patch's extra cut at 3 mm³ beyond the strips, a figure with no derivation; SMLib's all-at-once body at radii 2, 3, 4 takes 3.099 (V 7878.579574 against strips 7881.678). That body is the strips' outside the block its patch lies in: its rounds are the strips' cylinders ending at a's section y = rc, b's x = 20 − rc and c's rails where they meet a's and b's (the patch's four corners, now asserted), so the patch takes at most what the strips leave in that block (11.86 at 2/2/3, 32.69 at 2/3/4). The lower bound is that block; the upper one, at most the strips' volume, stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Tests: the io crate's hand-built saved models list their rounds, as format 7 records do Model cache format 7 ( |
||
|
|
1d387d3f21 |
Measure: the area of a curved face on the exact surface, not the display mesh (#9086) (#11486)
* Measure: the area of a curved face on the exact surface, not the display mesh (#9086) * Measure: a non-straight border edge leaves the band to the mesh; fix the Vec3 imports (#9086) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: bherbruck <brennen.herbruck@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
51d237829a | Regenerate generated files and fold pending files [skip ci] | ||
|
|
df4f9d3529 |
Inspect menu: Component Colors is a normal on/off item with a check mark (#11854)
* Inspect menu: Component Colors is a normal on/off item The Component Colors entry in Inspect > Check was labelled "Enable Component Colors" and swapped to "Disable Component Colors" with a different icon while on. It is now labelled "Component Colors" in both states, keeps one icon, and shows a check mark when on, like Draft Analysis and the other toggles beside it. The command id and parameters are unchanged. The now-unused "disable" strings and the colored_components_off icon are removed. Other languages' old "Enable ..." wording is dropped so they fall back to English until retranslated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the Component Colors label in the fully translated catalogs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Checkable menu rows tell screen readers whether they are on Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Georgian: Component Colors loses its Enable/Disable wording Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ef2f485e15 |
Extend viewport AO to the existing virtual ground (#3413) (#11979)
* claim: #3413 * feat(gpu): extend viewport AO to the virtual ground * test(gpu): retain measured AO render attachments * perf: initialize ground AO pipeline with concurrent jobs * fix(gpu): size ground AO receiver for the current frame radius * fix(viewport): retain orbit caches when ground AO visibility changes |
||
|
|
a43cd99e55 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
8f26457487 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
07ef94e102 |
Hole: drill only the shown bodies when no target is picked (#7520) (#7562)
* claim: #7520 * Hole: drill only the shown bodies when no target is picked (#7520) A Hole that names no bodies drilled every body in its path, hidden ones too, and its dialog preview replaced the hidden bodies with drilled ones. Like a cut (#3961), it now takes the shown bodies of the active component as its participants while some are hidden, stored so showing the others later changes nothing. With nothing hidden, or everything, it still drills every body. Its face points are named on the bodies it drills first, so a hidden body's face in the same plane no longer takes the picked face's name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FN5eEMrqWWXqi65FcK8GXq * Hole: drill the picked body though it is hidden (#7520) Review on #7562: with the picked face's body hidden (picked through Select Other, or hidden while the dialog is open), the shown-bodies default left it out, so the hole drilled only shown bodies further along, or nothing, without a message. The body whose face holds the hole's position now joins the shown ones, unless a shown body has a face there too (a face shared by a shown and a hidden body is the shown one's, as a pick in the view takes it). The test also covers editing a hole made with nothing hidden while a body it drills is hidden: timeline.redefine stores participants only when the edit passes them, so the hole keeps its empty scope and the hidden body its bore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EMbqRqYimvY26QzcvrojSC * Hole: test that a hole made with a body hidden replays the same (#7520) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Hole: follow the face-name lookup now returning a Result (#7520) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Hole: tests follow main's Vec3 and world_state (#7520) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Hole: format (#7520) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Hole: with every body hidden, drill them all as before (#7520) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: sascha2101 <221609842+sascha2101@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: bherbruck <brennen.herbruck@gmail.com> |
||
|
|
02f276e296 |
Report a bug: limit answers by characters and show the room left (#7191) (#7196)
* claim: #7191 * Report a bug: limit answers by characters and show the room left (#7191) The answers were cut to 2,000 bytes, silently: 666 characters of Chinese or Japanese. They now keep 2,000 characters, as the text field's own limit counts them, in the form, in the report and in a crash draft. Under 200 characters left, an answer says how many there are. The report's budget grows so three full answers in any script still fit beside the technical details. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Report a bug: leave the crash draft's description as it was It is the app's own English text, well under the limit in bytes as in characters; leaving the line alone keeps it apart from #7189's change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Locales: Arabic and Hebrew for the new strings ar and he are complete catalogs on main now (#3458): every new message needs them. The pending-messages test compares right-to-left messages in display order once #7532 lands (#7527). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Locales: Vietnamese for the new strings Vietnamese became a complete catalog on main (#5823), so every new English message needs it too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9602587b0d |
Navigation: a middle or right drag keeps the mode it started with (#9557) (#9592)
* Claim #9557 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Navigation: a middle or right drag keeps the mode it started with (#9557) The mode of a middle or right drag was worked out again from the keys held on every frame, so letting go of Shift partway through a Fusion Shift+middle orbit turned the rest of the drag into a pan. It is now taken when the drag starts and kept until its button is released, as a left drag with the mapping's keys already was. Preferences > Navigation > "A drag keeps the navigation it started with" (on) turns it off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
f8a98eed33 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
7629421375 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
d034633265 |
Desktop: the file chooser says when it is not the desktop's own (#10618)
* test: the file chooser says when it is not the desktop's own (#10159) rfd falls back to zenity in silence when the XDG portal is not there, and the user gets a foreign window with no explanation. The host must be able to say so. RED: the test fails with 'without a D-Bus session bus the file chooser is not the desktop's own: the user has to be told'. * fix: say when the file chooser is not the desktop's own (#10159) rfd opens the file chooser through the XDG desktop portal; without the portal it falls back to zenity, a window that does not belong to the app, and the app never says so. The user gets a foreign window and no explanation. The host now asks the session bus, on a thread of its own, whether the portal is there, and keeps the answer. When a file is opened and the chooser is not the desktop's own, the reason goes to the session log (Help > Messages), which is where a user looks for it. * fix: the file chooser messages read as notices, not assertions (#10159) The maintainer asked for two things on the pull request: the strings of the pending catalogue read like a test assertion ("the user has to be told...") rather than a notice a person would see, and the doc comment above desktop_chooser_fallback was there twice. The three reasons are now plain messages, in every locale of the file: they say what the chooser is and why, and stop there. The doc comment of the function is now the only one, and it says what it did. |
||
|
|
fc51df3b01 |
cadmpeg 0.6.7: FreeCAD placements, sphere faces and closed shells come in right (#10382)
Only the version moves: SolidCraft builds against 0.6.7 unchanged. 0.6.7 applies App::Part and link placements once, writes a sphere's seam ring as a valid loop, and indexes the lookups that made large assemblies slow to decode. Two real FreeCAD documents that 0.6.3 refused as invalid open with it. Claude-Session: https://claude.ai/code/session_01MvsHJx9gzG4447TABcpZFo Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8f4d7959df |
Agents and scripts: Parameter Sweep describes its exact parameters and reply (#10977) (#10978)
* claim: #10977 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Parameter Sweep: input and output schemas (#10977) inspect.parameter_sweep gets a typed contract and reply types in schema/parameter_sweep.rs and leaves unconverted.txt. Each key reads as the handler reads it, with its message; the reply is built from ParameterSweep and its item types, with the same JSON as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Parameter Sweep schema: a missing parameter reaches the handler's message Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * parameter_sweep schema: do not publish a null default on the required parameter Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: bherbruck <brennen.herbruck@gmail.com> |
||
|
|
338fa197d3 |
Dimension text: round values to a step (#4896) (#11380)
* claim: #4896 * feat(doc): support dimension text rounding steps (#4896) |
||
|
|
727bb23c7e |
Section Analysis: a body standing on another keeps its own cap, also in CPU pictures (#4622)
Where one body stands on another (a post on a plate), the post's bottom, seen through the cut, and the plate's top are the same plane. In the CPU rasterizer (headless pictures without a GPU) the plate's top won that depth tie and showed through the post's cut. The cut now wins a tie by a few f32 steps (DEPTH_EPS). The viewport already draws this right since #6363 and #6728; a GPU regression test now covers it, both creation orders, orthographic and perspective, with both depth formats. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8d6c45f640 |
UI kit: one shared needs-attention mark, used by the agent chat's badge (no behaviour change) (#5424)
* UI kit: one shared needs-attention mark, used by the agent chat's badge The agent chat's "waiting" badge becomes `ui_kit::attention_mark` (a count, or a plain dot) in `ui_kit/attention.rs`, so other things that wait for the user (linked designs that changed, #5354) share one mark. The count is drawn exactly as before. No change in behaviour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * UI kit: sort the attention re-export Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ui_kit attention mark: take the corner inset from Tokens::space_3 The inset came from the agent chat panel as plain numbers, which font_sizes_and_dense_form_metrics_come_from_tokens refuses outside theme::Tokens (review on #5424). space_3 is 3.0, so nothing moves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Carel Theron <careltheron@Carels-MacBook-Pro.local> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: bherbruck <brennen.herbruck@gmail.com> |
||
|
|
6d16fae4ed |
Render preview: extract the product scene only when what it shows changes (#7465)
The live product preview's signature included the session revision, which every command moves: a selection click extracted every body and built every product vertex again (118 ms on a 200-body assembly) before the key comparison skipped the upload. The signature is now the document and world state (held, so their addresses are not reused) and every input of body visibility, including hidden folders and the active sketch. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|
|
ef92f35b16 |
Sketch drag: a step solved ahead that solves becomes the sketch, one step per core (#7648) (#7649)
Past a failed step a scripted drag solves the next steps at once and takes those that fail in a row as tried; the first that solved was then solved again by the walk. It now becomes the sketch from its solved copy, so no step is solved twice. A batch holds one step per core (at most 8), and on one core or in the browser build, where a batch would run its steps one after another, the walk solves the steps itself. The walk takes the same steps with the same outcomes, so results and counted solves don't change. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
232a902680 |
Circular pattern: cutting many copies of a hole is faster (#9007) (#9038)
* claim: #9007 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Circular pattern: cut copies of a hole that lie apart in one go, and check missed copies cheaply (#9007) The check for copies that remove no material intersected every copy with the whole body; a point test along the hole's axis (and through the middle of the copy's overlap with the body) now proves most copies take material and only the rest are intersected. Copies the kernel's coarse box test takes for meeting are measured on finer meshes and, when clearly apart, joined with join_apart and cut once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Format (#9007) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Look for a copy's material through the middle of each of its faces (#9007) A tool of two pieces (two circles cut at once) turned by 45 degrees has the middle of its box between the pieces; the lines along the axes through it miss both, and the copy was intersected. The lines through the middle of each face's box run along each cylinder's axis. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Circular pattern: cut copies that notch the same round face one by one (#9007) Copies whose boxes only finer meshes show apart were cut in one go. When several of them notch the same curved face of the target (grooves along a bore), the result kept extra lines on that face: a revolved ring with 37 grooves came out in 184 faces instead of the 151 a one-by-one cut leaves, at the same volume. Such copies are now cut in turn; copies that only share flat faces (through holes in a tube wall) are still cut at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Circular pattern: tell copies apart and find copies that cut nothing on exact shapes (#9007) The checks this pull request added decided on meshes, which `cargo xtask mesh-decisions` now refuses. They decide on the exact shapes instead: - Two tools whose boxes meet are apart when their union comes out in two pieces that share no face, edge or vertex (crossing, nested and touching tools do not). - A copy takes material when a point along its axis, the axes of its round faces or the middle of the box it shares with a target is inside both, by exact point classification; only copies that test cannot place are intersected. - Copies that notch the same round face are no longer cut one by one: cut in one go they now leave the same faces as one by one (a revolved bore with 37 grooves: 80 faces either way, as on main). The test of copies that come close now uses 8.5 mm, where they overlap; at 9 mm they are 0.012 mm apart and are cut in one go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
cfc4908291 |
Sheet metal: returns on a notched tray now close at the convex corner (#8823) (#9714)
* claim: #8823 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Sheet metal: returns on a notched tray close at the corner away from the notch (#8823) Closing two returns at a corner was refused when either return already lay over another flange in the flat pattern, even far from that corner. On a tray with a notch, the walls on either side of the notch's inner corner both unfold into the notch, so the return on one of them lies over the other there; the return's opposite convex corner was then left open ("closed, the flanges would overlap in the flat pattern") and the two returns ran through each other. A closure is now refused only when it makes the two returns overlap or adds to what either already shares with another flange in the flat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1432131e95 |
English: command labels in title case, other labels in sentence case (#9085) (#10734)
* English: command labels in title case, other labels in sentence case (#9085) The rest of #9085 after #9194 (the plural and the spelling) and #9907 (the Preferences page names). Command labels are in title case (422 of 430 were already); the seven in sentence case follow, and Fix/UnFix reads Fix/Unfix. The UI text skill states the rule. The user docs name the Preferences footer's button by its current label, Restore page defaults (#10295). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Navigation bar menu test: the echo names the command by its own label Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * UI text skill: state the case rule in one short sentence, under the 3600 limit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Localization doc: the case rule in full, with examples Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Localization doc: the example button is Restore page defaults now Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
35bc04847a |
Spanish (es-ES): catch up with en.json (2026-11-04) (#10895)
* i18n: make engine errors translatable
Engine errors (`EngineError::BadParams` and the offset/path errors the kernel
returns) were shown in English regardless of the active locale.
- Add `tr_engine_error`, which maps the known messages to `sketch.error.*`
keys and returns anything unknown unchanged.
- Normalise the `invalid parameters for `<command>`: ` prefix before matching,
and interpolate the offset id into the translated message.
- Route `friendly_error` through `tr_engine_error`.
- Avoid redundant status writes in `run_points`/`run_entities`.
- Ship the es-ES pending strings for the sketch tool hints.
* Spanish (es-ES): catch up with en.json
Translate the 734 messages `es.json` was missing and fix `ui.project`
("Proyecto" → "Proyectar", the action behind the sketch project tool).
The catalogue now matches `en.json` key for key (5,591 entries), keeps every
placeholder intact and stays alphabetically sorted. That includes the 61
messages added upstream since the last catch-up (
|
||
|
|
06def2231d |
Agent chat: tell the agent the design changed by hand since its last reply (#10854) (#11144)
* claim: #10854 * Agent chat: tell the agent the design changed by hand since its last reply (#10854) The chat remembers the design as the agent last saw it, at the end of a turn it answered or worked in. When the next message goes and the design is no longer that one, a note goes before the message for the agent (not into the conversation, like the note after an interruption): the user changed the design by hand, which parameters changed from what to what, which features are new, edited or removed, where the History marker went, and to read the design again before reusing positions, picks or sizes. A new chat and a stopped backend forget it, so a session that has seen nothing gets no note. Each list names at most 12 items and counts the rest; names and expressions are cut at 60 characters. * Agent chat docs: the design-changed note asks the agent to read the design again (#10854) --------- Co-authored-by: MateuszSychXpl <151755914+MateuszSychXpl@users.noreply.github.com> |
||
|
|
d39fd6c397 |
Assistant: discover Mistral Vibe and offer sign-in (#11692) (#11704)
* claim: #11692 * Assistant: discover Mistral Vibe and support its sign-in (#11692) |
||
|
|
4faf63e48a |
Loft: profiles picked one after another in one sketch are one section (#11720) (#11906)
* Loft: profiles picked one after another in one sketch are one section (#11720) The Loft dialog made every picked profile its own section, so two picks in one sketch (both halves of a split outline, say) became two sections in one plane and the loft was refused. Consecutive picks in one sketch now form one section {sketch, profiles: [...]}; a later return to that sketch is still a section of its own, so the there-and-back loft of #8221 is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SdcgEu4Lr3moCCisdZShKz * Loft: an unchanged edit keeps a section of all profiles "all" (#11720) An edit loads a section of "all" as each profile of its sketch; now that those picks make one section, OK saved them as indices. Indices fill a letter's counters that "all" keeps as holes, so a later rebuild could change the loft. Like Extrude, Revolve and Emboss, a section that was "all" stays "all" while the picks are unchanged and cover every profile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SdcgEu4Lr3moCCisdZShKz --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
91ecea8cfd |
Properties: account for sheet perforations (#6025) (#6028)
* claim: #6025 * fix(engine): account for sheet perforations in physical properties * fix(inspect): retain kernel topology counts for sheet bodies |
||
|
|
c8c0c28fc8 |
Point clouds: keep every PTS point within the import limit (#11093) (#11717)
* claim: #11093 * Point clouds: count point rows before thinning PTS imports * Point clouds: exclude invalid coordinates from text sampling |
||
|
|
f91db06904 |
Sketch Project: links to old numbered faces can be recovered (#11666) (#11707)
* claim: #11666 * Sketch: recover legacy references on original whole faces |
||
|
|
9df9d1fbdc |
fix(smlib): NURBS weights compare within rounding of the coordinates' size (#11974)
same_nurbs compared the weights of a face's NURBS form and the rebuilt analytic surface's NURBS within an absolute 1e-12. A weight is found from the control points, so its rounding grows with the coordinates: 3.8e-12 at coordinates of about 320 on a cone. The face was refused with "a NURBS form that is not its analytic surface". Weights now compare within 1e-12 * max(1, |coordinates|), as same_nurbs_curve already does for points. |
||
|
|
8068e8f4b8 |
Preferences: the theme strip's arrows page by a screenful of themes (#11434) (#11600)
* claim: #11434 Signed-off-by: Maurizio Monticelli <maurizio@whatwedo.ch> * Preferences: the theme arrows move by the themes that fit in view The previous and next arrows beside the theme cards in Preferences > Appearance moved the row by one card per click, although their hover text says "Previous themes" and "Next themes". With 26 themes and about six cards in view, reaching the last theme took some twenty clicks. The shared carousel now moves by the number of cards that fit at the current width, so one click shows the next screenful. The last page ends on the last card, the first page starts on the first, and the arrow at an end stays dimmed and inert. The step follows the window width, and the row still opens on the chosen theme. Fixes #11434 Signed-off-by: Maurizio Monticelli <maurizio@whatwedo.ch> --------- Signed-off-by: Maurizio Monticelli <maurizio@whatwedo.ch> |
||
|
|
863b0777da |
Sketch: dragging a constrained line by its middle no longer stalls (#11696) (#11714)
* claim: #11696 * Sketch: move constrained lines that stall during dragging |
||
|
|
80889762ce |
Agents and scripts: Configure, Configuration Column, Row and Rule describe their exact parameters and reply (#11895) (#11896)
* claim: #11895 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Configuration table: input and output schemas for Configure, Configuration Column, Row and Rule (#11895) describe_command now gives the exact parameters and reply of the four commands that change a design's configuration table, and the warn and strict parameter checks use them. The handlers read their parameters from the raw JSON, so the new contracts in schema/config.rs read each key as its handler does, with its message: lists of names as params::string_list (whose json_brief and MAX_STRING_LIST become pub(crate)), exactly one column target, faces picked or a face column's key, a row's cells, and rules (whose schema describes them; the handler keeps its own check). What only the design can answer stays the handler's. All four reply with ConfigTableReply, as config.table does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
a3f293c987 |
Error messages: an out-of-range value names the field that is wrong (#9625) (#9684)
* claim: #9625 Signed-off-by: Maurizio Monticelli <maurizio@whatwedo.ch> * Name the value at fault when a hole, sheet rule, joint or extrude is refused (#9625) Several refusals were right but named a check the input had passed, so the user changed the wrong field: - solid.hole: an unknown `fit` was reported as an unknown bolt size; it now says the fit must be close, normal or loose. A countersink angle out of range was reported as a countersink too narrow; the angle and the width are now checked apart. A `diameter` number out of range was reported as missing; it now gives the range, as other parameters do. - Sheet rules: a thickness of 10000 mm or more said "must be positive"; it now gives both limits. The K-factor and the bend radius are named on their own, and the message no longer implies a radius of 0 is refused. - joint.drive: a number out of range said "numbers or expressions"; it now gives the range. - Extrude: a distance past the kernel's limit said `end = 1000000000`; it now says the extrusion is too long and gives the limit. Fixes #9625 Signed-off-by: Maurizio Monticelli <maurizio@whatwedo.ch> * Refuse a too-long extrusion before the kernel and match the countersink floor (#9625) The kernel is paused, and its `finite()` check also guards a revolve's angle and a cylinder's and a torus's sizes, so its message must not say "extrusion". crates/kernel is back as it was; the doc evaluator now refuses an extrude (plain, tapered, or redefined from the Edit Extrude dialog) whose end lies 10000000 mm or more from the sketch plane, mirroring the kernel's limit, and says so. A cylinder of radius 2e7 keeps the kernel's own message. The countersink check refused 0.1° while the message said "more than 0°". The floor stays (the cone grows as 1 / tan of the half angle) and the message now names it: more than 0.115°. Signed-off-by: Maurizio Monticelli <maurizio@whatwedo.ch> --------- Signed-off-by: Maurizio Monticelli <maurizio@whatwedo.ch> |
||
|
|
e27d17c421 |
Assistant: offer the Mistral AI endpoint in Add Agent (#11246) (#11715)
* claim: #11246 * Assistant: offer the Mistral AI API endpoint (#11246) |
||
|
|
52bc27aaf6 | Regenerate generated files and fold pending files [skip ci] |