e81a201ff8ef91c6a6fa52907ecf68fa2ffda3f5
1047
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
96bb41c480 |
Drawings: notes on a drawing, the record and commands (#4896) (#11898)
* Issue a revision: drawing.revise (#3874 R1) drawing.revise appends a copy of a row to the issued history: an existing row as it reads, or a new revision with the texts given, in one undo step. A row is issued once. The copy keeps what it read through an edit, a hide or a delete, and nothing is filled in: no date, checker or approval. Issuing used to make a drawing unreadable, as a copy has its row's id and the drawing's check refused any id seen twice. Each id now counts once, and issued ids are unique among themselves. model_version becomes {path, change}, on issued copies only. One function on the session answers it, and answers nothing until version control exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing revisions: numbered 1, 2, 3 (#3874) A drawing's new revisions are numbered 1, 2, 3, never lettered (@CamWight, 3 Nov). drawing.set's revision_numbering is {start: 0 or 1}, the first number. A revision typed by hand is kept as typed; the next one follows the highest number, and drawing.inspect says where numbering starts. A record in letters is refused (drawings haven't shipped). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Revision tags on a sheet: add, edit and delete (#3874 R3) A tag gains the sheet it sits on and its place there. drawing.revision.tag.add, .edit and .delete keep them, inspect and every revision reply list them with what each shows, and a sheet's delete counts and takes the tags on it. A deleted row still leaves its tags showing the revision they had. Tags draw on paper once scene text lands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Saved tables on a sheet: drawing.table.add, .edit and .delete (#3874) A drawing saves its parts lists and revision tables, each on a sheet with its definition and place. Rows are never saved. A parts list starts at the top right listing what its sheet documents, else the design; a revision table at the bottom left; headings on top, QTY, rows of 7 mm. Placing a list saves the numbers its view shows, once per view, so what is printed doesn't move. Numbers are the design's: undoing the placing puts back only the drawing, as every drawing step does, and the numbers stay. That one command changes both, and the proof that nothing needs evaluating now allows it. The tables are a ById list, as the balloons and images are, and keep its rules: at most 1000, listed by id. Revision tags take their own id type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A balloon reads its row in a parts list (#3874 L1) A balloon can name the parts list it reads; else it reads its sheet's only list, else the drawing's only one, else none, with the choices listed. Its row's item is worked out on each read and never saved: drawing.balloon.inspect gives item and row_status (ok, no_list, reference, no_row or not_found). A lost row never removes the balloon. A list's delete reports the balloons that named it and clears their links. Bom::item_of cuts a path from the top of the design to start below the assembly listed, and row_of is no longer test-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Notes on a drawing: the record and commands (W19e, #4896) A note sits on a sheet, a view, or an edge or corner of a view's model, saved by name as a dimension's is, with the title block's text and fields, its place and its text height. drawing.note.add, .edit and .inspect, one undo step each, no model evaluated. Its one leader is worked out, never saved: a lost reference keeps the note and its text, with no leader. Anchor is one type so other symbols placed on a sheet can use it. A view's notes go with its copy and delete; a sheet's with the sheet. The plan left delete for later, but selection.delete now handles a drawing's objects, so notes join it. Balloons and notes share Lookup::middle. Drawing them waits for text in the paper scene (slice 12). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
b841eb939f |
Merge main into drawings (Nov 4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
6bca7d2854 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
eeb686f164 |
Measure: a circle and a line now show 'Line to centre' instead of 'Center to center' (#11524)
* Measure: a circle and a line show 'Line to centre' instead of 'Centre to centre' Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Measure: US spelling for Line to center, UK in en-GB Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9092df9b97 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
bf625dff05 |
Box, Sphere and Torus: clicking a point of a sketch places them there (#9403) (#9405)
* Box, Sphere and Torus: a sketch point picks where they go (#9403) The Point input of the Box, Sphere and Torus windows took a vertex, a point on an edge or face and the origin, but not a sketch's points, so a sphere could not be centred on a point drawn in a sketch. It now takes the points of every shown sketch (POINTS | EXTERNAL_POINTS, as Measure does): a click fills X, Y and Z with where the sketch puts the point in the world, and a point selected before the window opens places the primitive there, as a vertex does. The input's chip names the point and its sketch as Select Other does ("Point 2 · Marks"). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Box, Sphere and Torus: the sketch point chip label for every complete locale Main's i18n check wants each message in the complete catalogs (ar, he, ja, vi, zh); the label has no words, so each carries the same "{point} · {sketch}". With main's new selection kinds and this one, every Sel variant has its arm, so the catch-all arm is unreachable (clippy) and goes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Primitive at a sketch point: a point picked in the sketch being finished still places it 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> |
||
|
|
8f0130a61b | Regenerate generated files and fold pending files [skip ci] | ||
|
|
72df682af7 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
41a450be7c |
i18n: add Georgian (ka) interface language (#11501)
A Georgian catalog (assets/locales/ka.json) carrying every English message, registered in crates/ui-egui/src/i18n.rs, with a row in the new-language test, a pending attribution file and a terminology note in docs/localization.md. The catalog is Mkhedruli only; egui's built-in Hack already draws it. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
606e264f6d | UI: the Dependents button of the INSPECT HISTORY ribbon no longer fails without a feature (#11642) | ||
|
|
464f4ac748 |
Intel OpenGL: restore the grid and sketch axes (#8053) (#11573)
* claim: #8053 * Intel OpenGL: restore the grid and sketch axes |
||
|
|
4afd24d29f |
Design tabs: the tooltip says when a saved design has unsaved changes (#11408) (#11590)
* Design tabs: the tooltip says when a saved design has unsaved changes (#11408) A tab marks unsaved changes with a bullet after the design's name, and a long name cut short by the tab hides it. The tab's tooltip, which says where the design is saved, now adds "Unsaved changes" below for a saved design with changes not saved yet. A design never saved already says "Not saved yet". The new string is in a pending locale file, with ten translations taken from the same words elsewhere in the catalogs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Design tabs: the unsaved line in every complete catalog (#11408) Arabic, Hebrew and Vietnamese are complete catalogs, which must carry every English message: they get the words they already use for "Unsaved changes" elsewhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
77e0e11775 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
7bd66b7c06 |
Sketch dimensions: enter the value in a small window with step arrows (#7246) (#7251)
* claim: #7246 * feat(sketch): enter a dimension's value in a small window with step arrows (#7246) * Dimension window: fit the layer split, and keep the wheel off the camera over the window 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> |
||
|
|
d912f3533b |
Arabic: better wording for Appearance, Graphics, Assistant, Layout, Sketch and Navigation preferences, thread drill notes and other messages (#11358)
* Arabic: viewport term in the Appearance section heading, desktop app badge, deeper-overlap note in Find Limits * Arabic: drop the stray direction mark and match the Refresh wording in the old Node.js note * Arabic: tanween in the thread fit hint, tap drill wording, crease term in continuity, spline label and setback wording in the fillet help * Arabic: sweep and boolean terms in the body check note * Arabic: badge term for the status chips note and summary wording for Fold items in Graphics preferences * Arabic: tanween, catalog terms and clearer labels in the Assistant, Design and Tools preferences * Arabic: tanween in the shortcut key prompt, Look At wording in the Assistant follow help * Arabic: complete the Several choice for bodies folders and use a verb form for the dialogs Open row * Arabic: orbit style term, Select Other and center-point arc names in Sketch preferences, place-from-origin wording, tanween in the radial menu help, tap makers in the tap drill notes * Arabic: graphics device term in the blur notes, boss and turn wording in the fillet corner option |
||
|
|
3a23d21795 |
Lip: clearer guidance when the face is not a shelled rim (#10437) (#10871)
* claim: #10437 Co-authored-by: Cursor <cursoragent@cursor.com> * Lip: say Shell first when the face is not a rim (#10437) A solid box top left OK disabled with a vague shelled-body hint. Name Shell and the rim-around-an-opening requirement in the refusal, the dialog tip, and the command help. Co-authored-by: Cursor <cursoragent@cursor.com> * Lip: keep the dialog hint as it was, match the new refusal text in the test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: bherbruck <brennen.herbruck@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1e649653ef | Regenerate generated files and fold pending files [skip ci] | ||
|
|
a52ee850aa |
15 languages: translate the 21 messages main gained after batch 4 (batch 5) (#8573)
* 15 languages: translate the 21 messages main gained after batch 4 (batch 5) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Pending locales: drop the strings the catalogs already have 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> |
||
|
|
46a9cf80b8 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
f74c6605c4 |
Fillet: Mitre or Swept corners where two rounds meet (#11498)
* SMLib wrapper: a swept or mitred turn for constant rounds (Turn) Brep::blend_dropping takes a Turn: Mitre (the default, as before) or Swept, which sets solidcore's FilletSession::set_swept_turns before the corners are made. A swept turn solidcore refuses at CreateFilletCorners comes back as Error::TurnRefused with its reason and place (NoRoom at a concave side edge, else CornerUnsupported). Swept is for Blend::Round only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ * Kernel: fillet rounds turn in a mitre or swept (FilletTurn) fillet_removing, fillet_max, fillet_max_each and fillet_each take a FilletTurn and hand it to SMLib, through the reblend of earlier rounds at a later corner too. A swept corner solidcore does not build is refused as invalid input with its reason and place: no smaller radius builds it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ * Design: a fillet saves its turn, mitre (default) or swept FeatureKind::Fillet gets `turn` (FilletTurn: mitre, the default and not saved, or swept), one pending format file. Evaluation hands it to the kernel, pattern copies included, and refuses a swept turn with a style, fit, corner or setbacks the kernel's swept corner does not take (SWEPT_TAKES). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ * solid.fillet: the turn parameter, and the command's input and output schemas `turn: mitre|swept` on solid.fillet, refused when unknown or with options a swept corner does not take. solid.fillet now has its contract (FilletParams) and reply type (FilletResult), registered with checked!, and leaves schema/unconverted.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ * Fillet dialog: a Turns choice, Mitre or Swept A Constant radius fillet's Turns row sends `turn: swept`; choosing a narrowed radius or a curvature corner puts it back to Mitre, and Swept puts those back. Its tooltip says what each does where two rounds turn round a corner edge. New strings in a pending locale file (en, de, ja, ko, zh); glossary entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ * Fillet turn: the schema tests' fixes and the complete catalogs' strings The no-contract example in the schema tests is solid.chamfer now that solid.fillet has one; the reply test checks the mid-radii form against the contract (solidcore refuses that law's corner yet, #430) instead of building it; Arabic, Hebrew and Vietnamese, complete catalogs, get the new strings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ * Fillet schema test: variable and spline forms checked against the contract solidcore fails a variable round on a box edge at this pin (status 1001, as variable_radius_on_a_box_edge), so the reply test checks those forms against the contract instead of building them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ * Fillet turn: the swept rig cases pass; the MCP no-contract example is solid.chamfer cov-fillet-turn-swept-boss-base-r1 and cov-fillet-turn-swept-pocket-sharp-corner-refused-r1 pass now that solid.fillet takes `turn`: off the rig's known-failing list. The MCP bridge test's example of a command without a contract was solid.fillet, which has one now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ --------- Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
215cc17c52 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
c5bc849913 | Blur: keep themed backing and notice actions accessible (#9810) | ||
|
|
267d8d646e |
French: catch up with main (125 messages) (#11277)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|
|
6ff5ca6bc5 |
Preferences: one heavier, evenly detailed icon set for the page tabs (#11368)
* Preferences: one heavier, evenly detailed icon set for the page tabs * Build: import traced body records from their new owner * Build: read exported kernel records from their new crate |
||
|
|
556a9c95ef | Regenerate generated files and fold pending files [skip ci] | ||
|
|
277c112de7 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
ec31745f0a |
Preferences redesign 10/11: Navigation and 3D mouse (#9882) (#10739)
* Preferences: preserve Navigation and 3D mouse alongside other panels * Tests: check preference search visibility after scrolling settles * Tests: identify preference search results through indexed row handles |
||
|
|
5e2a1460ff |
Preferences redesign 9/11: Sketch (#9881) (#10720)
* Preferences: preserve Sketch redesign alongside Graphics * Preferences: share hinted and unhinted blocks across independent panels * Tests: wait for preference search scrolling before checking visible targets * Tests: locate preference search results by their indexed rows |
||
|
|
27808612a1 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
92a9a5e0f0 |
Preferences redesign 6/11: Layout (#9878) (#10638)
* Preferences: preserve Layout controls alongside the other redesigned panels * Tests: locate the redesigned Layout checkbox by its visible label |
||
|
|
97cedc77e8 |
Bosnian: translate the 78 messages main gained after batch 11, the Assistant's model picker and render comparison included (batch 12) (#11007)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9f61296014 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
f3977d5c2d |
Preferences redesign 8/11: Design and Tools (#9880) (#10710)
* Redesign Design and Tools preferences * Refine Tools: icon rows for Create, dashed Assembly Move ring, gradient cursor trail * Preserve current behavior when rebasing Design and Tools preferences * Preferences: keep Design search aliases compatible with queued panels * Preferences: let Design and Graphics helpers merge independently |
||
|
|
908fe48c0b |
Preferences: group Shortcuts and use cards for Assistant and Plugins (#9883) (#10765)
* Preferences: group Shortcuts and refine Assistant and Plugins * Preferences: keep Assistant search additions compatible with other panels |
||
|
|
08cd8d6442 |
Drawings: title blocks on sheets, and a drawing can start from or be restyled by a template (#3875) (#7208)
* Drawing sheets: a copy of a title block on the drawing border, saved with the sheet (#3875) `Sheet.title_block` holds a copy of its definition, as `border` does. Each sheet's check lays it out on the drawing border, so a sheet without a border, a block wider or taller than the border, or a change of paper that leaves no room is refused. `drawing.sheet.add` and `drawing.sheet.set` take `title_block` (a definition, or null for none), a new sheet takes the block of the sheet it follows, and `drawing.inspect` lists it. A sheet without a block saves no `title_block`, so an older drawing reads as having none (pending format file `sheet-title-block.rs`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing sheets: the built-in title block, on every new drawing (#3875) `title_block::default_block()` is the 180 x 54 mm block of twelve cells approved on #3875, with the legal owner read from the drawing's `organization` and the general tolerances as text to change. `drawing.create` starts its sheet with it. The geometry tests read the built-in block instead of their own copy of it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing sheets: a title block's lines on paper, drawn after the views (#3875) `TitleBlockLayout::paper` draws the outline, then every cell edge inside it, each once: neighbours' shared edges, and edges that meet along one line, are one stroke. The sheet scene paints the block after the views, and counts its records with the border's, so no view takes its room. The view tests' drawing leaves the block off, so their scene is still the border and the views. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing sheets: the title block's projection symbol, in the drawing's projection (#3875) ISO 5456-2 (Annex A): a truncated cone and its end view, h across the cone's small end from table A.1's sizes (3.5 to 20 mm), the largest that fits the cell, lines h/10 wide. The end view is on the right in first angle and on the left in third. The block only says a cell holds the symbol; the angle comes from drawing.projection, and the sheet scene redraws when it changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing sheets: a title block's fields, and text typed over its cells (#3875) A title block cell reads its fields from the component the sheet documents (its name, part properties, material and mass from the bill of materials), the drawing, the sheet (number and count among the counted sheets) and the newest revision row; a field with no value shows "-". A key its source doesn't have is refused when a block is given or read. Sheets save text typed over their cells by cell name; drawing.inspect lists each text cell with its value beside an override. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing templates as data: a drawing with no model, and ISO built-ins (#3875) A template is a drawing with no sources, views, dimensions, balloons, revision rows or documented components, so it is saved and read as a drawing is. A new drawing is a copy with ids of its own. The built-ins, ISO A4 to A0 for parts and for assemblies, are made in code when asked for and differ only in their general tolerances. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing templates: drawing.create from a template, and the preferred ones (#3875) drawing.create takes template? (default ISO A3, for a part or, for a design with components, an assembly) and projection? over the template's. The new drawing.template.list lists the built-ins and marks the one a new drawing starts from. Preferences add a template for part drawings and one for assembly drawings; the app fills in the preferred template and projection before drawing.create runs, so a template named keeps its own projection, instead of changing the projection after the drawing is made. A saved template this version doesn't know reads as the default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing templates: apply one to the drawing open, moving nothing (#3875) drawing.template.apply {template, dry_run?} gives each sheet the paper, drawing border and title block of the template's sheet in its place (its last for the sheets past its own). Text typed over a cell stays while the new block has a text cell of that name; the cells whose text is dropped are listed. Nothing moves: the views a new paper leaves outside the drawing space are listed. A dry run answers the same and changes nothing; applying is one undo step, none when nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing sheets: views a title block covers are listed, never moved (#3875) A view lying over its sheet's title block is listed with the ones the drawing space leaves out, after a change of paper or block (drawing.sheet.set) and when a template restyles a sheet. Where a block sits is one rule, the one a sheet is checked by (Sheet::title_block_outline), and the overlap of two boxes is one rule in Aabb2::overlaps, which the title block's own cell check now uses too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing templates: save one as a file, and start or restyle drawings from it (#3875) drawing.template.save {path} writes the drawing open as a template: its format, and nothing it draws or documents. drawing.create and drawing.template.apply take a .json template file as well as a built-in's name. A file is read as a drawing is, then held to the template rules; files are read and written through the same file check and atomic write as the sheet export. A drawing made from a file keeps its own copy, so a later save changes no drawing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing sheets: the built-in title block is 180 x 49 mm (#3875) The top row is 15 mm, Sheet is 30 mm wide, lined up with Mass, and Date of issue is 32 mm. The top row now holds one line of the legal owner, two of the general tolerances and the 3.5 mm projection symbol. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing sheets: one operation sets a sheet's title block, and drawing.sheet.set names the typed text it drops (#3875) A sheet's block was set in two places: drawing.sheet.set kept the typed text of the text cells the new block still has, and drawing.template.apply did the same and listed what it dropped. Sheet::set_title_block is now the one rule both use. drawing.sheet.set's reply gains `lost`, the cells whose typed text a new block drops, as drawing.template.apply's reply has it, and its help says that a view over the title block is listed too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing templates: the built-ins and a new drawing start with the border only; the built-in title block is added by name (#3875) A template now holds only the ISO border by default. A title block, tables, references and text are added to a drawing, and a template saved from it keeps them. - The ten built-ins (iso-a4-part ... iso-a0-assembly) become five, iso-a4 to iso-a0: one sheet with the ISO border. Without the block, the part and assembly versions were the same. - drawing.create with no template starts from iso-a3. The two preferences for parts and assemblies become one, drawing_template, "Template for new drawings". - drawing.sheet.add and drawing.sheet.set take title_block: "built-in". The built-in block's general tolerances are a part's or, for a design with components, an assembly's, through Sheet::set_title_block. - An old name such as iso-a3-part is refused with the list of names; drawings haven't shipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing title blocks: a drawing with no number of its own is numbered by the component its sheet documents (#3875) The identification number cell read the drawing's part number property, and showed "-" for a drawing that has none, which is every new one. Now such a drawing shows the name of the component the sheet documents, so a new drawing of a part is numbered by the part until it is given a number. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing templates: a template saved from a drawing keeps typed text only over plain text cells (#3875) A template saved from a drawing kept all the text typed over its title block's cells, including text over a cell that shows a field, such as the material or the title, which belongs to the design the drawing documents. Now it keeps the text typed over cells of plain text, such as the general tolerances, and leaves the rest behind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing title blocks and tables: a field without a value shows nothing (#3875) A title block cell or a table row whose field has no value (a property nobody gave, a row field its row doesn't have, an uncounted sheet's number) now shows nothing instead of "-". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing title blocks: the built-in block's general tolerances start empty (#3875) The general tolerances cell of the built-in title block now starts empty for parts and assemblies alike, rather than ISO 2768-m in the block and a part's or an assembly's text added by drawing.sheet.set. A shop types its own, or its template carries them, and an empty cell shows nothing. - template::PART_TOLERANCES, ASSEMBLY_TOLERANCES, for_assembly and built_in_block go: "built-in" is title_block::default_block. - drawing.template.list's help no longer speaks of part and assembly built-ins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
138e3478e6 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
fbd30b0bd0 |
Panels: inspect and change layouts through commands (#11304) (#11454)
* claim: #11218 * Panels: add shared layout rules and retained content runtime * claim: #11304 * Panels: inspect and change layouts through shared commands (#11304) * Panels: account for layout commands in geometry coverage |
||
|
|
372136fa6a |
Preferences redesign 7/11: Graphics (#9879) (#10662)
* Preferences: keep Graphics redesign independent on current main * Preferences: repair Graphics search targets and CI regressions |
||
|
|
cca77b176f |
Drawings: a shaded view is drawn on the sheet as a picture under its lines (#5624) (#10926)
* A drawing's list of one kind of record: ById, with balloons first (#5426) Each kind on a sheet writes out the same add, find by halves, cap, order and check loop. ById holds those, so a kind's own file holds only its own rules, and the file's bytes don't change: it saves as the plain list. Views and dimensions stay on their own lists for now, since other work is on them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A drawing keeps an image's file once, however many places it sits (#5426 W38e-1) images holds the files and sheet_images each place one sits, so a logo on every sheet costs what one does. drawing.image.add reads the file (bytes and pixels checked from its header before anything decodes it), reuses a file with the same bytes, and saves the bytes without the path. A file goes with the last thing that uses it, which Drawing::images_in_use alone says, and reading a drawing refuses a file nothing uses or a record its file disagrees with. A sheet's list and delete take the placements on it. Deleting one placement waits for selection.delete to take a drawing's objects. Its pixels on paper are W38e-2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Sheet images: an image file's pixels on any paper grid (#5425, W38e-2) A PNG or JPEG decoded once, then stretched over its paper rectangle onto the pixel grid a writer asks for: a box filter in linear light with alpha premultiplied, so a shrunk logo keeps its edges and gains no dark fringe. The size is read from the header and refused over 64 megapixels before anything is decoded. An EXIF orientation is applied; colour profiles are not read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Sheet images: a placement in the sheet's scene and its SVG (#5425, W38e-2) Each image placed on a sheet is a group of the new kind `sheet_image`, between the drawing border and the views, so a view's lines draw over a photo. `drawing_pictures` holds both that group and the provider a writer asks for its pixels, so the two read the same placement. The provider holds what one sheet uses, decodes a file when it is first asked, once however many placements show it, and refuses a sheet whose files hold more than 64 million pixels, from their headers, before anything decodes. `drawing.export` passes it to the SVG writer in place of `NoPictures`, and a file that won't decode refuses its sheet by name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: pin the product image's output before it is drawn in tiles (#5624, W17b S1) The decoded rows of five product renders (orthographic on a transparent background, perspective on a solid one, a PBR surface, two glass layers sorted back to front, triangles crossing every edge of the picture), taken on this tree. The next change reshapes ImageTask into a prepare stage, tiles and a PNG sink; they must not move. The PNG bytes are not pinned: their compression depends on the deflate backend the build unifies (flate2's zlib-rs when the UI crate is built alongside, miniz_oxide without), not on this code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: pictures drawn tile by tile into any pixel window (#5624, W17b S1) The CPU product renderer, reshaped so drawings can use it: one rasteriser (`Raster`) prepares a scene once (appearances, projected triangles, glass sorted back to front), then draws each tile of the picture on a canvas of its own. A sample's position comes from its whole-picture index, so tiles put side by side are the picture drawn whole, to the byte. - `ImageTask` (render.image) is that rasteriser over one whole-picture tile from the product camera, then its PNG: the same output, pinned by the previous commit's rows. - `PictureTask` draws a `PictureRequest`: a `Projection` (the product camera, or an `OrthoFrame`, W17a's view frame as plain data: a `Plane` basis, a scale and a paper shift, on a `geom::pixel_grid::PixelGrid`), any list of `PixelWindow` tiles, `Supersample::One` (pixel centres) or `Two` (i + 1/4 and i + 3/4), a `BodyRole` per body (`DepthOnly` hides what lies behind it and draws nothing itself) and an optional background (none: transparent). Each tile comes back as straight-alpha sRGB RGBA rows, blended in linear light. - The orthographic map is the frame's paper map, onto the grid, so lines drawn from the same frame register with the pixels (to 1e-9 mm in the test). - Limits: 65,536 px a side, no total cap; each tile under the resolver's `RenderLimits`, as the product image is; at most 65,536 tiles; the prepared lists as a product image's; pixel tests up to 8 per sample of the picture (128 M for a product image, as before), counted at admission by the one projection the raster uses, as main counts a product image's. Not here: the drawing light, stored per-tile bins (S2, measured), the paper scene's picture item (S3), 4x sampling, and `raster::render`, the snapshot rasteriser, which stays as it is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: time the tile renderer (#5624, W17b S2) An ignored timing test, as `simplify_timing` is: a 65,548-triangle front view drawn as the product image, as one 300 dpi picture, and in 64-row strips at 300 and 1200 dpi, each the median of three runs. It is the measure S2's speed-ups are judged by. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: a tile passes over a triangle outside it before painting it (#5624, W17b S2) Each tile placed and painted every triangle of the picture, then dropped those outside it: the appearance lookup, the PBR normals and the colour decode ran for every triangle in every tile. A triangle's work is now three steps, `corners`, `look` and `place`. Preparation runs them in today's order, so its checks and errors are the same. A tile places a triangle first and paints only those inside it. What is drawn doesn't change: the pin and the tile tests stay as they were. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: one light per picture (#5624, W17b S2) `raster::shade` normalised its key light and highlight directions again for every sample, although both depend only on the view. `raster::Light` works them out once per view and shades with them. The tile renderer and the snapshot rasteriser (`raster::render`) both use it, so the product light is written in one place. The arithmetic is the same, so every pixel is too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: sRGB codes from tables (#5624, W17b S2) Each shaded sample was stored as sRGB through a power (three per sample), and each output pixel was averaged from its samples through twelve more and written back through three: the powers were most of a sample's arithmetic. Decoding is now a 256-entry table of `geom::srgb`'s own values (#7162), which also ends this file's own copy of the formula. Encoding counts the code starts (the linear values halfway, in sRGB, between two codes) at or below the value. Within a billionth of a start, where the formula's rounding could fall either way, `srgb::encode8` decides, so every code is the one it gives. A test checks both against `geom::srgb` at every start, the numbers around it, the band's edges and a million values in and outside 0 to 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: a tile's passes run in loops (#5624, W17b S2) The raster went back through its step loop for every sample: the cancel check, the stage match, the tile's window and its canvas bounds, once per sample cleared, tested or averaged. Clearing, the opaque and glass passes and the downsample now each loop on their own up to the step's budget, counting a unit as before; preparation and the glass sort still take one unit a call. A step still checks for cancellation before each stage's run and still does at most 16384 units, so the host's slices and the progress counts are the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: tests for a picture's light, glass order and test budget (#5624, W17b S2) Three planted faults went through the image tests; each now has one that fails: - an orthographic picture lit from another direction than its eye: a face square-on to the view is the colour the product image gives it; - glass placed by a triangle's first corner, not its middle: a tilted square whose first corners lie in front of the near one, its middles behind; - a picture held to the product image's pixel-test budget: a face across most of an A0 sheet at 1200 dpi is prepared. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing sheets: a shaded view's picture on paper (#5624, W17 V9b) A saved view in a shaded style draws on its sheet and in drawing.export: draw puts one picture per entry of the view's parts under its lines, and ViewPictures renders each on the writer's grid through the frame that placed the lines. SheetPictures answers for a sheet's images and views. The styles with lines stay refused until W06's exact lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Render: a picture's count of its tiles and its fixed limit, as #6483 has them (#5624) A triangle counts only where it meets the tiles asked for, and a picture has a fixed 400 M pixel tests, as #6483 at bf93e890e. V9b's stack holds an older copy of that slice; this drops away when drawings takes main. PictureTask says what admission counted, for the view's running sum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drawing views: a shaded view's pictures add up to one limit (#5624, W17 V9b) A writer asks for a picture a band at a time, and each request is limited on its own, so ViewPictures keeps what each view's requests have counted and refuses the next one past the limit, by name, before it paints. That makes 400 M a bound on a whole view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
dc38349cbf |
Layer split stage 1: the B-rep record, native body file and Vec/Plane come from solidcore-record (#11496)
* Kernel: the B-rep record and the native body file come from solidcore-record SolidCraft's portable B-rep record (`solidcraft_geom::brep`: brep.rs, topology, history, envelope, part, curve2) and the native body file (`solidcraft_kernel::native`: the tagged binary codec and the container) move to solidcore's `solidcore-record` crate: geometry as data, with structural validation and no maths (solidcore's docs/layers.md, stage 1). Every caller uses `solidcore_record::brep` and `solidcore_record::native`; the old copies are deleted. What computes from coordinates stays with the kernel, in geom's `brep`: - `brep::check`: the record's geometric checks (orthonormal frames, non-degenerate planes, unit revolution axes, non-singular placements). `check::validate` and `check::validate_built` are the record's validation and these together, and every caller of `Brep::validate` uses them, so what is accepted is unchanged; - `brep::label`: a surface's natural ranges (a cone's apex), `curve_interval`, `edge_curve_interval` and `form_turns`; - `brep::pcurve::eval`: a pcurve's point; - `geometry::check`, `placement::moved` and `split_edges` become functions on the record. The kernel's native module keeps the conversion between a body and its saved record (metadata.rs) and checks the decoded record's geometry. `native/analytic.rs`, which no module declared, is deleted. solidcore-record is pinned to its rev on solidcore's `layer-record` branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NvoxKMbMFSQU8tzRtoJhtT * Geometry: Vec2, Vec3, Plane and the profile types come from solidcore-record The plain data of vectors and points, sketch planes and planar profiles (`Seg2`, `Loop2`, `Region2`) moves to `solidcore-record`, with its constants and component-wise operators only (owner decision, solidcore layer split). Their geometry stays in geom as traits: `Vec2Geom`, `Vec3Geom`, `PlaneGeom`, `Seg2Geom`, `Loop2Geom`, `Region2Geom`, `Seg2ArcFit`, `Loop2ArcFit` and `Region2ArcFit`, in scope with `use solidcraft_geom::prelude::*`. Every caller names the types from `solidcore_record`; geom no longer defines or re-exports them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NvoxKMbMFSQU8tzRtoJhtT * Kernel: pin solidcore-record to solidcore main f5e8e9a29 solidcore-record is merged on solidcore main (tangency-labs/solidcore#2519); its crate there is identical to the rev pinned before but for its clippy configuration. The lock is regenerated against the merged rev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NvoxKMbMFSQU8tzRtoJhtT --------- Co-authored-by: jyviko <2501648+jyviko@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
d78895de4d |
Where a drawing stands: drawing.status in one read (#4894 WE2) (#11352)
drawing.status says each view's status (current, out of date, placeholder or failed, with why) from what the sheet page last drew, and each dimension's in the words inspect uses, reading each body once for the call. Nothing is drawn. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
185c480319 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
ea772a0438 |
Merge develop into main: SolidCraft on the SMLib kernel (v1.1.0-alpha) (#11351)
* UI: rim and wall picking tests for a circle of arcs that is one wall A circle drawn as two half arcs now extrudes to one full-turn wall with its seam edge, and each rim is one closed edge (tangency-labs/smlib#67). The tests keep their intent on that body: a rim clicked once is one item, measured and highlighted whole and picked from either side; a wall picked either side of its seam is the same surface, lit whole, and toggles off from the other side; every face is its own patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fillets: a later round at a corner where earlier rounds meet blends them again with it The owner's ruling of 2026-10-30: a later fillet on an edge at a vertex where earlier rounds already meet in a mitre makes the corner rounding all of them at once makes, one smooth patch, the mitre gone. A body made by constant-radius rounds keeps what they were made on and which edges they rounded at which radius; a later round reaching such a corner blends the earlier rounds' edges (from the earliest of those meeting there on) with the new edges in one SMLib blend of the body before them. The result's history is put over the body the later round was given: an earlier round's face is that face trimmed anew (its name kept), the corner patch and the new rounds are the later fillet's. A picked mitre seam has no round of its own: it is refused unless a new edge of its radius meets it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Tests: a later r3 round at an r2 mitre, through the Fillet feature, makes the all-at-once corner Two box edges rounded r2 in one fillet, then the upright edge at their mitre r3 in a second fillet (tangent chain on, so the seam comes with it): 10 faces, 7928.743041 mm³ as fillet_radii of the box gives, the r2 rounds' names kept, the r3 round and the corner patch the second fillet's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Kernel: a body's record of rounds goes with its history, and can be read back The rounds that made a body are over the body its history is over: a new history (an operation carrying a step's result back to its own operands) leaves the record out, so a later round never reads one history against another body. Body::rounds gives the record and Body::with_rounds_of takes one back, checked (edges of the body before them, a fillet's radii, the body's history over that body), for a saved model to keep it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * 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 ( |
||
|
|
841b355df1 | Regenerate generated files and fold pending files [skip ci] | ||
|
|
28b7ae007d |
Agent chat: select a compatible Node for discovered adapters (#2207) (#11255)
* claim: #2207 * fix(agent chat): recover adapters launched with an old Node |
||
|
|
331a8526ef | Regenerate generated files and fold pending files [skip ci] | ||
|
|
990867cd80 |
Arabic: one spelling of component in the Components from Bodies hint, history filters, delete prompt and appearance help; profile row labels; tanween in the components-start-open note; OK button name in the Find Limits hint (#11098)
* Arabic: one spelling of component in the Components from Bodies hint, history filters, delete prompt and appearance help The catalog writes component as مكوّن (with shadda) in 68 places; five messages used مكون. They now match. * Arabic: included-settings label and computer term in the profile rows * Arabic: tanween spelling in the components-start-open note * Arabic: OK button name in the Find Limits hint |
||
|
|
6be5be7f0c |
Keys: option to keep model keys out of sketches (#7675)
* Keys: a sketch and the model kept apart on Scope `command_for` fell back to the first enabled command bound to a key, so a model key pressed in a sketch (F, Fillet) still ran the model command. A key now runs only a command of the scope the view is in, or one that works everywhere; otherwise nothing fires. Inspecting, views and file commands (`inspect.*`, `view.*`, `file.*`) count as everywhere, so Measure's I still works in a sketch. #4432's `sketch_and_model_keys_are_kept_apart` is ported to `Scope`. Not ready: main's `the_extrude_key_in_a_sketch_finishes_the_sketch` (#2815) expects E in a sketch to finish it and open Extrude, which this rule stops. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keys: keep model keys out of sketches as an opt-in preference The strict sketch/model split is now Preferences > Shortcuts > Keep model keys out of sketches, off by default. Off, a key resolves exactly as on main (a feature key such as E still finishes the sketch). On, a sketch runs only sketch keys and keys that work everywhere (inspect, view, file). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * rustfmt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e4cae82274 |
Preferences redesign 5/11: Appearance (#9877) (#10580)
* Redesign Appearance preferences * Reach the theme Import card by paging the carousel in the VFS import test The redesigned Appearance page puts Import as the last theme carousel card, so the test scrolled the page to a card that was not drawn. Page the carousel until the card is on screen; both the in-scope and out-of-scope picks are still checked. 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> |
||
|
|
1721cb0a4c |
Croatian: translate the 78 messages main gained after batch 11, the Assistant's model picker and render comparison included (batch 12) (#11011)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |