47285ccb889fffa157ec6da5a5a0403a59cd0311
329
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
47285ccb88 |
Thread: right- and left-handed direction (#4414) (#4415)
* claim: #4414 * feat: persist right and left thread handedness (#4414) * fix(thread): verify handedness with referenced holes and complete locales * test: verify handedness with merged tapped thread catalogues * test: retain tapped thread depth when changing handedness (#4414) * test: restrict Unix symlink coverage to Unix targets * test: inspect hole thread depth inside edit command parameters (#4414) * test(doc): initialize cylinder radius in handedness fixture |
||
|
|
e063a7778e |
Axes and points from circular edges and round faces (#3128) (#4610)
* Axes and points from circular edges and round faces
In 3D, a round edge or face stands for its circle wherever a command
takes an axis or a point.
Revolve, Surface Revolve, both Circular Pattern dialogs, Plane at Angle
and Move -> Rotate take a circular edge (through its centre, along its
normal) or a cylinder, cone or torus face (its axis). The features keep
the pick as a model reference, so they follow the model when a parameter
moves it. Straight edges work as before; flat faces are refused.
Every 3D point input takes a circle's centre: construction points (which
follow the circle), To Object, patch points, hole placement, and Move's
pivot and points. Hovering shows the axis as a dashed construction line
or the centre as a star, and the dialog's chip names what the pick
stands for ("centre of edge 10", "axis of face 3").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Format the round-pick hover check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Selection chips: name a round pick as a circle centre or axis
The chip has room for little more than the body and a word or two:
"Shaft · circle centre", "Shaft · circle axis", "Shaft · face 2 axis",
and "Shaft · point" for a point of the model.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Move: a circle's centre in a placed component is where the component shows it
Move's pivot and points read a picked circle from the model in its
component's own frame, while the pick is in the world. They now read it
from the world state (and, editing a Move, from the state before it,
placed the same way), as the viewport and the other round picks do.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Plane at Angle on a planar face about a model edge: test that it follows both
Upstream #1956 made a planar face a base for Plane at Angle; this branch makes a model edge an
axis. The rebase keeps both in one PlaneRef::AtAngle.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
3bcf77ee32 |
Expressions: a number and its unit are one value (10 mm / 2 mm is 5) (#6331)
* Expressions: a number and its unit are one value (10 mm / 2 mm is 5) A unit written after a number was multiplied in at the precedence of `*` and `/`, so `10 mm / 2 mm` was (10 mm / 2) mm = 5 mm² and `90 deg / 1 rad` a value in angle², reported as a unit error. The number now takes the unit after it before `*` and `/` apply; a fraction of numbers before a unit stays one value (`1/2 in` is half an inch), and an exponent stays a plain number (`2^3 mm`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Expressions: after a division, a fraction before a unit only when closed up `width / 10 / 2 mm` read the `10 / 2 mm` as the fraction 5 mm and gave width / (5 mm) = 8 instead of (width / 10) / 2 mm = 2. After a `/` the fraction rule now needs the fraction written without spaces (`1 in / 1/2 in` is still 2); elsewhere `1/2 in` and `10 / 2 mm` are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
91638cb1f3 |
Add practical command guides and a contribution template (#5237) (#6772)
* claim: #5237 command-level guide follow-up * docs: add practical command guides and resource contributions (#5237) * docs: index practical guides and reject incomplete command links |
||
|
|
66b872a749 |
Web app: open a design from a same-origin path (#6670)
?open= now also accepts an absolute path on the page's own origin, fetched with the page's scheme, so a self-hosted setup that serves SolidCraft and other tools under one origin can link a design on a LAN without a public HTTPS address. Absolute URLs keep the HTTPS-only rule (a URL on the page's own origin is also accepted), redirects must end on HTTPS or the same origin, and protocol-relative, dot-segment, backslash and control-character values are refused. |
||
|
|
c7e53899af |
Updated AppImage takes the release file name (#3538) (#3658)
* claim: #3538 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Updated AppImage takes the release's file name (#3538) A versioned AppImage name (solidcraft-<version>-linux-<arch>.AppImage) is replaced by the new release's name, so zsync-based tools keep finding the update data. Other names are kept. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|
|
d3720041b6 |
CI tooling: opt-in bound for local test concurrency (#1188) (#6831)
* claim: #1188 * #1188: split per-binary test threads and matrix workers under SOLIDCRAFT_TEST_JOBS --------- Co-authored-by: Dahak Builds <dahakbuilds@users.noreply.github.com> |
||
|
|
72a76edcf7 |
Shortcuts: Ctrl+Shift+S opens Save As in the workspace (#6558) (#6567)
* claim: #6558 * Shortcuts: Ctrl+Shift+S opens Save As in the workspace (#6558) The Home page already opened Save As with Ctrl+Shift+S, but the design workspace matched Ctrl+S, so the chord saved over the current file instead of offering another one. The workspace now routes the chord to Save As, and the File menu shows that shortcut next to Save As, taken from the command registry. |
||
|
|
c264c7a42a | Startup falls back from a Direct3D 12 that can't build the UI pipeline (#6648) (#6682) | ||
|
|
2ec11cfc3a |
Docs: how to open the macOS build when the Gatekeeper blocks it (#5393) (#6566)
* claim: #5393 * docs: how to open the macOS build when the Gatekeeper blocks it (#5393) |
||
|
|
4a0d519727 |
View: OK and Cancel in the corner of the view while a dialog or sketch is open (#6709) (#6714)
* claim: #6709 * feat(view): OK and Cancel in the corner of the view while a dialog or sketch is open (#6709) |
||
|
|
06af6e1107 |
Pattern dialogs: Quantity is the count in every language, the motion plot keeps its own entry (#6538) (#6733)
The catalogue entry Quantity served both the pattern dialogs' number of instances and the motion study's plotted quantity. Nine locales had translated the second meaning, so the rectangular pattern dialog showed e.g. "Größe" above "Anzahl 2" in German. The motion study's row now reads motion.plot_quantity (a pending file that keeps every locale's previous word there). Quantity takes each catalogue's own ui.quantity text, which the "Quantity 2" row already shows; nothing is newly translated. The glossary lists Quantity under words with more than one meaning. Fixes #6538 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8108646e2c |
Docs: a sketch family's shortcut starts the variant used last (Refs #6630) (#6817)
Since #4308, L, R and C start their family in the variant used last, as the toolbar button does, so L can start a Midpoint Line. The shortcuts table still read "L | Line". Say so under the table and in the sketching guide's Geometry section, with the preference that steps through the variants. Claude-Session: https://claude.ai/code/session_01FN5eEMrqWWXqi65FcK8GXq Co-authored-by: sascha2101 <221609842+sascha2101@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
102314dbb2 |
Docs: blurry interface on Linux with display scaling, and how to fix it (#5979) (#6195)
SolidCraft runs through XWayland whenever an X display is available. A compositor that doesn't let X11 apps scale themselves draws the window at 100 % and stretches it. docs/nix.md said so only for fractional scaling, but GNOME 47 (RHEL and Rocky Linux 10) does it at any scale: the report shows 1.05 physical pixels per point at 200 %. The troubleshooting page gets a section with the cause, the Window system preference, SOLIDCRAFT_WAYLAND=1 for 0.21.0 and earlier, and the file drop trade-off; docs/nix.md links to it. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
d29e70bad9 |
docs: Save As blocked by Windows Controlled folder access (#4490)
Saving into Documents fails with the Windows dialog's "File not found" when Controlled folder access blocks the app, and the message gives no hint. Refs #4479. |
||
|
|
1d482aff74 |
Docs: AppImageLauncher 2.x can't start the AppImage; update to 3.0 (#4640) (#4674)
* claim: #4640 * Docs: AppImageLauncher 2.x can't start the AppImage; update to 3.0 (#4640) AppImageLauncher 2.x intercepts every AppImage through binfmt_misc and can't start static-runtime AppImages such as SolidCraft's: it fails with "execv error: No such file or directory" after a FUSE message. 3.0 starts it. One paragraph in the Linux AppImage section says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Docs: AppImageLauncher 3.0 is so far only published as betas (#4640) Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com> |
||
|
|
2a01cca00e |
User guide: local models with the Assistant (#4851) (#4964)
* claim: #4851 * User guide: local models with the Assistant (#4851) A page on choosing and setting up a local model (Ollama, LM Studio, or any OpenAI-compatible server) for the Assistant: tool support, VRAM, permissions, the measured results from the standard test in #4851, and troubleshooting for the common failures. * Guide: local models table with the full set of measured results |
||
|
|
d7cc5621fa |
Troubleshooting: what to do when a design won't open (#5114)
Point to the `<file>.bak` copy every save keeps, the design.solidcraft in crash reports, the recovery folder for unsaved designs, and how to attach the file to an issue. |
||
|
|
816bcf10de |
Every new command comes with input and output schemas (#2829) (#4035)
* Every new command comes with input and output schemas A test fails for a command without a contract or an output type, unless it is a planned! placeholder or listed in schema/unconverted.txt, which holds the 400 commands that predate the rule and only shrinks: the test also fails when a listed command has its schemas, when the list names a command that doesn't exist, or when it isn't sorted. `checked!` now takes only the command's id and checks the contract that id publishes (`run_checked_as`), so the contract enforced is always the one described. Another test runs every command that has a contract in strict with an unknown key, so a contract is never published without `checked!`, under the command's own id, enforcing it. A new book page, Command schemas, explains how to write a contract and a reply type, the tests to add, the shared field types and how to add one, with a checklist; the failure messages point to it. "Adding a command", CONTRIBUTING.md and AGENTS.md now include the schemas, and the MCP tool description and docs/mcp.md no longer list the converted commands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * List the commands added on main since: view.layout, view.history_layout, view.normal_to Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Command schemas guide: what participants and targets do, checking the evaluation, warning-free replies - `participants` changes the result for some features and nothing for others; where it and another key override each other, or where it has no effect, say so in that key's description or in the summary. - The example primitive's `targets` default to every body in the feature's component, not the bodies it meets; they're ignored when `participants` lists bodies. - Check what each value does where the feature is evaluated, not only how the handler reads it. - A reply test runs every form in Warn and checks for no `param_warnings` (Strict for a reply that isn't an object). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * List the 43 commands added on main since: frame, component, render and others Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * List the 11 commands added on main since: browser folding, standard views, parameter sweep, path flange browser.collapse_all, browser.expand_all, inspect.parameter_sweep, sheet.path_flange and the seven view.* standard views (back, bottom, front, isometric, left, right, top) landed on main without schemas; the gate flags them, as intended. 457 commands listed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Schema rule warns instead of failing for now A command without input and output schemas prints a warning listing it (test output and a CI annotation). SCHEMA_RULE_STRICT in coverage_tests.rs (or SOLIDCRAFT_SCHEMA_RULE_STRICT=1) makes it fail again. Docs say "should, and will become required". 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> |
||
|
|
ab80a410a1 |
Viewport theme: a light 3D view in a dark window, and the reverse (#4146) (#4147)
* claim: #4146 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Viewport theme: a light 3D view in a dark window, and the reverse (#4146) Preferences › Interface › Theme gets a Viewport row under the theme tiles: Follow theme (the default, as before), Light or Dark. Light or Dark draws the 3D view in the built-in Light or Dark theme's colours whatever the window uses, so a dark window can show the model on a light view and the other way round; it works with every theme, theme files included. The view takes the background and grid, bodies, selection and hover, the origin, previews, sketches with their dimensions and glyphs, the navigation cube and triads, box selection and the analysis colours. Panels, dialogs, menus and the chips over the view keep the window's. Text and warnings drawn straight onto the view (the sketch status line, the loose-end and midpoint markers, the section's cut outlines, the 3D sketch tool and the sketch tools' previews) take the view's side, so they read on its background. theme::ViewportTheme is the setting (saved as `viewport_theme`: theme, light or dark; an unknown saved value reads as Follow theme, as ColorVision's does). Tokens::get() takes the view's colours from the other side only when the view's dark or light differs from the window's; Tokens::view() is the view's side for colours drawn onto it. The ground shadow follows the view (the scene and highlight caches already key on the colours themselves), ui.render draws in the view's colours, and ui.prefs takes `viewport_theme` and reports `viewport_dark`. An older release ignores the setting and draws everything in the theme. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Viewport theme: follow the single set of axis colours 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> |
||
|
|
b94692497e |
Sketch Dimension: arc length from an arc and its end point (#754) (#4245)
* claim: #754 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SBN24y2TcqRcm2zn8Gkj27 * Sketch Dimension: arc length from an arc and its end point (#754) The arc-length dimension existed (sketch.dimension type arc_length) but the Dimension tool could only give an arc its radius. An arc and one of its own end points, in either order, now dimension the arc's length: click the arc, then its end. The pair was refused before ("cannot dimension that combination"), so no existing result changes. A point where the arc's end is (a coincident line end) counts as that end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SBN24y2TcqRcm2zn8Gkj27 --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a3890b3bd5 |
Open a linked part from its assembly Browser row (#2348) (#2349)
* claim: #2348 * Open linked designs from assembly browser * claim: #2348 * Test linked design action with multiple components selected * Fix linked design lookup in browser storage and translate its menu action * Add Turn Up Axis to complete UI catalogs * Keep browser DXF download after linked-design checks |
||
|
|
57d787f5ba |
Docs site: canonical links, robots.txt and sitemap.xml (#6888)
Search Console lists docs.solidcraft.io/, /introduction.html (the same page) and /guide/mcp.html as duplicates without a user-selected canonical. The Pages build now adds a canonical link to every book page (index.html and introduction.html both name /), skips the redirect stubs that already have one, marks 404 and the toc frame noindex, and writes a robots.txt pointing at a generated sitemap.xml. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
b1d4293cf0 |
One set of X, Y and Z colours for the origin axes, view triad and Move gizmo (#976) (#4430)
* claim: #976 * One set of X, Y and Z colours for every axis (#976) The origin axes, the navigation cube's triad, 3D sketch triads and joint origins drew `axis_x/y/z` (255,0,0 / 0,255,0 / 2,2,248), the view triad and the headless picture drew `triad` (220,60,60 / 60,170,60 / 60,100,230) and the Move gizmo drew `gizmo` (225,70,60 / 80,190,80 / 70,130,240). The `triad` and `gizmo` tokens are gone: every axis reads `axis_x/y/z`, now the view triad's values (the engine's `view::colors::AXIS_*`, so headless pictures are unchanged, and the set the red-green table was measured for). Older theme files' `triad` and `gizmo` lists still read and set the axes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
46f7d4d8dc | Preferences: the web app's Updates section says how it updates (#5496) (#5500) | ||
|
|
0870d6474a |
Themes: Okibi (dark) and Akari (light), from the Okibi design system (#5730) (#5731)
* Themes: Okibi (dark) and Akari (light), from the Okibi design system Two built-in themes mapped from the Okibi design system v1.8 (https://kaievns.github.io/okibi-akiri-design-system-spec/): cool charcoal ash with a single ember accent, and its warm-paper light twin. Every one of the 156 colours is set, so nothing falls back to the Dark or Light palette. * Give the Okibi and Akari themes an icon palette 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> |
||
|
|
0f90fb7e8d |
Edge flange: material outside and tangent bend positions (#5941) (#6060)
* claim: #5938 * Edge flange: height measured from the outer sharp, the inner sharp or the bend tangent (#5938) An edge flange feature takes height_from (outer, inner or tangent) in sheet.flange and Height From in the Flange dialog, saved only when it is not the outer sharp. A height shorter than the bend takes is refused with the smallest height that fits. * Edge flange: material outside and tangent bend positions (#5941) An edge flange's position can now be material_outside (the inner virtual sharp on the edge) or tangent (the bend's outer face tangent to the edge's face), in sheet.flange and the Flange dialog. The bend starting at the edge was already the outside position, which now also answers to bend_outside. |
||
|
|
4cd9a4f4d4 |
Web app: open a design from a link, and an embed mode (#6252) (#6253)
* claim: #6252 * Open hosted designs in the web app and add an embed layout Fixes #6252. Fetch HTTPS design links with bounded reads and open them as unsaved copies. Keep model panels and joint controls in embeds without browser persistence, application chrome, or unload prompts. Add a full-app link and iframe docs. Cover query parsing, hostile URLs, size limits, and the compact layout. * Translate the linked-design messages into Japanese and Chinese |
||
|
|
5a5a98ee80 |
Sheet metal: Path Flange, a chain of bends on an existing sheet edge (#4094) (#4096)
* claim: #4094 * Sheet metal: Path Flange, a chain of bends on an existing sheet edge (#4094) Path Flange (`sheet.path_flange`): sketch an open chain of lines across a sheet edge, pick the edge and one line; each line becomes a flange as long as the line and each corner a bend, one feature and one body. The edge flange takes further bends (`then`), each on the far edge of the one before, and the Flange dialog shows them as rows with a bin each. |
||
|
|
9d45fa6b34 |
Respect design units across length fields (#3271) (#3315)
* claim: #3271 * fix(ui): use document units across length fields (#3271) * Format Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Adapt drag-extrude and joint tests to document-unit length helpers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ui): preserve blank parameter drafts and cover bounded lengths --------- Co-authored-by: bherbruck <brennen.herbruck@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
bbc3aa4301 |
Offset Plane: through a point (#3765)
* claim: Offset Plane through a point * Offset Plane: through a point instead of at a distance |
||
|
|
a49698ee3d |
Value fields step with the arrow keys and the mouse wheel (#2320) (#2608)
* claim: #2320 * Value fields step with the arrow keys and the mouse wheel (#2320) Up/Down in a focused value field step a plain number by 1 in the unit it is written in ("20 mm" -> "21 mm", "2,5 mm" -> "3,5 mm"), 10 with Shift and 0.1 with Alt; the wheel over the focused field does the same, a step a notch, instead of scrolling the panel under it. Expressions such as `width / 2` are left as typed, and an open completion list keeps the arrows. Every expression field gets this through `params_dialog::complete`: the value box beside the geometry in every dialog, the dialog rows, sketch dimensions, the dimension editor, Drive Joint and the Parameters window. * The value box beside the geometry stays under the pointer The box rides on the arrow's tip, so each wheel notch that stepped its value moved it, and after a notch or two the box slid out from under the pointer and the wheel zoomed the view instead. While the pointer is over it the box now keeps its place, and it goes back to the tip when the pointer leaves. * Value stepping is a preference, off by default Preferences › General › "Step values with the arrow keys and the wheel" (`step_values`, also through `ui.prefs`) turns on Up/Down and wheel stepping in value fields, and the value box staying under the pointer while the wheel steps it. Off, as by default, value fields behave as before: Up/Down move the text cursor, the wheel scrolls, and the box beside the geometry follows its arrow. * Value stepping test: Bend Radius is under Advanced now * Value stepping test: the preference is on the Design page * Value stepping test: draw the field straight into the test's frame (#2320) The shared outer-host rule now covers tests too; the field needs no panel around it. |
||
|
|
919f54a23e |
Sheet metal: bend angles as the included (press-brake) angle, set per rule (#4968) (#6040)
* claim: #4968 * Sheet metal rules: bend angles as the included angle (#4968) A sheet metal rule's angle_display (bend, the default, or included) sets how the DXF bend notes read each bend: a 58° bend is B1 UP 122° R1 under an included rule. The bend table always gives included_angle_deg beside angle_deg (CSV and JSON). Set in sheet.manage_rules and the Sheet Metal Rules dialog, listed by sheet.rules; the flange angle stays the bend angle. * Bend table: the included angle as the CSV's last column, so the columns before it keep their places (#4968) A test also covers a body whose base flange names its rule, which keeps that rule's notes whichever rule is active, and a bend down. * Sheet Metal Rules: Angle Display reads Bend or Included, so the choice fits its box (#4968) The rule editor's row contract lists the new row and the key the dialog sends. --------- Co-authored-by: begsaquib <saquibbeg4444@gmail.com> |
||
|
|
43565cd33b |
Snap drawing to where two sketch curves cross (#4967) (#5342)
While drawing, the pointer snaps to the crossing of two lines, circles or arcs and keeps the new point on both curves. Shift still prefers a midpoint. |
||
|
|
157c0d68d0 |
Sketch Dimension: point/circle to circle or arc edge (#4064) (#4065)
* Sketch Dimension: point or circle to the edge of a circle or arc (#4064) Adds PointCircleDistance and CircleCircleDistance (edge-based, like #1863): solver, constructive seed, drawing, command wiring, tests, UI scenarios and docs. Saved designs gain two constraint kinds, in one pending format file. Fixes #4064. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Sketch Dimension scenario: pick the circle at its top edge (#4064) The bottom edge sits under the Dimension tool's status hint in the scenario window, so the second click never reached the tool. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|
|
cc1e654690 |
Warn when a design is open elsewhere or changed on disk (#5467) (#5468)
* claim: #5467 * Warn when a design is open elsewhere or changed on disk (#5467) The desktop app keeps a lock file next to each open design (.~<file>.lock: computer, user, version, opened and refreshed times), refreshes it every minute and removes it on close; a lock not refreshed for three minutes is stale and ignored. Opening a design that another SolidCraft has open asks: Open Read-Only, Open Anyway or Cancel. A read-only design saves only to another file. A design remembers its file's size and modification time when it is opened or saved. Save over a file another program or computer changed since asks: Save a Copy (the default), Overwrite or Cancel. Programmatic calls never ask: doc.open reports open_elsewhere and takes read_only, and file.save over a changed file returns an error until it is given overwrite: true. ui.documents answers both questions. |
||
|
|
138bb0261c |
Windows OpenGL: use the system title bar so the picture lines up with clicks (#2063) (#4403)
* claim: #2063 * Windows OpenGL: use the system title bar so the picture lines up with clicks (#2063) On Windows with only OpenGL to start, the window opens with the system title bar instead of using the application bar as its title bar. The window without OS decorations keeps its caption style while having no frame, and some OpenGL drivers (older Intel HD/UHD) show the picture a caption's height lower than the window, so clicks land above what they point at. Direct3D 12 and Vulkan keep the custom title bar. The choice is made before the window opens, from the backends wgpu starts, so the window never changes its frame while OpenGL draws into it. |
||
|
|
1f93b6d39c |
Joint: use the picked straight edge as the motion axis (#5457) (#6086)
* claim: #5457 * fix: align new straight-edge joint snaps with the edge (#5457) |
||
|
|
9d226b3535 |
Sheet metal DXF: options to leave out the bend lines and to use one layer (#4314) (#6130)
sheet.export_dxf always wrote the dashed bend lines (BEND_UP, BEND_DOWN) and split the flat pattern over a layer for each role. A cutter that cuts every line it is given cut the bend lines too. bend_lines: false now leaves them out, and layers: single writes every entity on layer 0. The defaults keep today's output. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c0640cb95e |
inspect.parameter_sweep: check a design across a parameter's range (#2273) (#2276)
* inspect.parameter_sweep: check a design across a parameter's range Rebuilds a copy of the design at each value of a parameter and reports what no longer holds compared with the design as it is: features that fail or warn, joint origins that are lost or turn over on their own part, sketch planes that turn over, and sketch solves that fail or fold. The design is not changed; each value's rebuild time is reported too. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * inspect.parameter_sweep: params doc matches what it takes and returns `steps` takes at most 199 (200 values), as the check says; failed and warned entries carry the feature's name; a lost origin says which one; a value the parameter refuses gives {value, ms, ok: false, error}. The refusal test covers steps 200. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * inspect.parameter_sweep: Japanese and Chinese labels Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Aac7mP9rthK3WsPpPRvCsF --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|
|
4b119dd471 |
Performance overlay: frame-time graph and histogram, triangles, draw calls (#2548) (#2549)
* Performance overlay: frame-time graph and histogram, triangles, draw calls (#2548) Net change of the perf-overlay branch, rebased onto main as one commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Document frame_rate_details in ui.prefs 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> |
||
|
|
f7b08ab8c4 |
Dimension values: #name = value defines a parameter too (#2371) (#4212)
* claim: #2371 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SBN24y2TcqRcm2zn8Gkj27 * Dimension values: `#name = value` defines a parameter too (#2371) `#width = 40` in a dimension's value now works like `width = 40` (#2916): it adds the user parameter `width` and dimensions with it. On `main` the `#` made it an ordinary expression that failed to parse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SBN24y2TcqRcm2zn8Gkj27 --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
b702ce8c7d |
fix: start the window on Intel Macs without wgpu's indirect-call validation (#3024) (#4808)
Co-authored-by: Nathalie Schönwetter <nathalie@cfw-ag.ch> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|
|
59795872f6 |
Extrude: document which way a positive taper goes (#4098) (#4115)
* claim: #4098 * Extrude: document which way a positive taper goes (#4098) A positive taper slopes the walls outward (the far end is larger along the extrusion direction), a negative one inward. Say so in the params doc, the JSON schema and the guide, and pin the sign with a test. |
||
|
|
99fd05afeb |
Sketch Dimension: click an existing dimension to edit it while the tool is on (#5451)
With Sketch Dimension on and nothing picked yet, a click on a dimension that is already in the sketch opens its value box, the same in-place editor a double-click opens without a tool. Enter applies, Esc cancels, and the tool stays on for the next dimension. The dimension's text always takes the click; its lines only away from sketch points and curves, which still start a new dimension (the rule plain selection uses). Once a new dimension is under way, clicks keep their meaning. Dimensions off in the selection filter are left alone. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8cbde001ef |
Front … Isometric View commands, Ctrl+1…7 by default (#5057) (#5058)
* Ctrl+1…7 turn the view to the standard views (#5057) Front, back, left, right, top, bottom and isometric, handled with the other view keys beside Ctrl+8: animated like the view cube, reserved so no command can take them, and ignored on the flat pattern page. * Front … Isometric View are commands, Ctrl+1…7 their default keys (#5057) The standard views become seven commands (view.front, view.back, view.left, view.right, view.top, view.bottom, view.isometric) whose default shortcuts are Ctrl+1…7, instead of keys the window handles itself. They show in Keyboard Shortcuts, can be moved to other keys or cleared, and the digits can be given to other commands. In the app they turn the view as the view cube does; headless they set the session camera, keeping target, distance and projection. |
||
|
|
9919825ea3 |
Expand All and Collapse All in the Browser (#5190) (#5335)
Open or close every Browser folder from the design or a component menu, including folders that start closed. Display only: not saved, not an undo step. |
||
|
|
d61dff69a6 |
Exploded views export as an animation (#3713) (#3744)
* claim: #3713 * Exploded views export as an animation (#3713) motion.export_animation takes an exploded view (view: id|name) as well as a study or a joint: the parts come apart at a steady pace from the assembled placement to where the view shows them, and back together with back: true (exploded at the middle frame). 41 frames by default, 81 with back. The home view frames the parts both assembled and exploded. As with explode.show, the design keeps its placements, its history and its saved state. explode.show and the export share the moves; moves a design file gives with no finite translation are left out. * Mechanisms skill: an exploded view's default frame count --------- Co-authored-by: MateuszSychXpl <151755914+MateuszSychXpl@users.noreply.github.com> |
||
|
|
9e6e0b8df1 |
Render workspace: complete experimental ribbon, resources and effects integration (#5493) (#5494)
* wip(render): reconcile completed material and image pipeline source with 0.20 (#5493) Source-only integration reference for staged review, not a merge-ready aggregate. Donor: 0xlillith/solidcraft@aea20b0115. Upstream: |
||
|
+33 |
b7b25f9e2b |
Render workspace: first basic delivery to main (#6050)
* Normalize UI container violation paths across platforms (#5599) Report repository-relative paths with forward slashes so diagnostics and the existing nested-package regression assertions agree on Windows and Unix. Keep the container detection rules unchanged. Validation: official ui-containers gate and all seven focused xtask tests passed; rustfmt and diff checks passed. Only xtask/dependencies were compiled; no application build or heavy tests. (cherry picked from commit |