Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/DESIGN_VARIANTS_067G.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ retained failed trial. Results and saved variants store resolved values: `1`/`0`
for a boolean and the listed text for a text choice. A saved text value requires
semantic version 60; numeric-only variants keep version 56. Studio's
**Edit value** and **Explore values** stage numbers only, so text choices are
compared and saved through the tool.
compared and saved through the tool. The
[Parametric HUD](PARAMETRIC_PROGRAMS.md#studio) configures a text choice on the
installed program.

`ranked_indices` indexes `results` in objective order and includes only feasible
rows with the requested metric available. `mass_kg` is absent and cannot be ranked
Expand Down
8 changes: 5 additions & 3 deletions docs/PARAMETRIC_HUD_048B.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@ choice.
[parametric programs](PARAMETRIC_PROGRAMS.md#studio), a **Parameters /
Programs** switch appears under the header. The HUD opens on Programs when no
parameter is exposed. The Programs view uses the same rows, staging and
clamping for each program parameter. **Apply** publishes a revision-checked
clamping for each numeric program parameter; a boolean switches and a choice
moves through its declared list. **Apply** publishes a revision-checked
`parametric_program` configure candidate instead of `param.set`. **Detach** and
**Remove** ask for confirmation first. A value typed, or a Detach or Remove
confirmed, while another writer changed the model is not used; the HUD reads
**Remove** ask for confirmation first. A value typed, a choice picked, or a
Detach or Remove confirmed, while another writer changed the model is not
used; the HUD reads
the bindings again and asks for review. The Programs view has no Auto mode;
each **Apply** prepares and publishes one candidate.

Expand Down
50 changes: 34 additions & 16 deletions docs/PARAMETRIC_PROGRAMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,23 +332,29 @@ it on the same namespace.
object, so the rows and `local_edits` are the same as the live inspect. The
rest of the drawing, such as imported meshes, is not serialized on the UI
thread. If that session cannot answer, the live session does.
- **Values.** Each declared parameter has a row with its value and `unit`, the
range, **-**/**+** and a value box for typed entry. Typed entry accepts a
number or an expression of document parameters, evaluated once. Integer
parameters step by 1 and are rounded. Other bounded parameters step by a power
of ten near a twentieth of the range. The HUD clamps to `min`/`max` and names
the limit; agents are rejected instead. Units are labels only. A value that is
not a number is shown read-only.
- **Values.** Each declared parameter has a row with its value and `unit`,
**-**/**+** and a value box. A number shows its range, and its value box
takes typed entry: a number or an expression of document parameters,
evaluated once. Integer parameters step by 1 and are rounded. Other bounded
parameters step by a power of ten near a twentieth of the range. The HUD
clamps to `min`/`max` and names the limit; agents are rejected instead. Units
are labels only.
- **Booleans and choices.** A boolean shows **On** or **Off**: the value box
switches it, **-** turns it off and **+** turns it on. A numeric or text
choice shows its position and the declared list. **-**/**+** move to the
previous or next declared value without wrapping, and the value box opens
the list. These rows take only declared values, so nothing is clamped. Text
wider than the value box ends in an ellipsis; the hint shows it whole.
- **Apply.** Changes are staged in amber with `was <value>`. **Apply (n)** sends
`prepare{mode:"configure",namespace,values,expected_revision}`, then
`doc_apply{candidate_id,expected_revision}` with
`actor:{kind:"human",id:"studio"}`. Both calls run on Studio's CAD worker
path, so the viewport keeps painting. The result line shows the new revision
and the measured prepare and publish times.
- **Stale values.** Values belong to the revision of the rows they were staged
from. A value typed while another writer changed the model (for example from
the Design variants window) is not staged: the rows are read again and the
HUD asks for the value again. Values staged at an older revision are not
from. A value typed, or a choice picked from its list, while another writer
changed the model (for example from the Design variants window) is not
staged: the rows are read again and the HUD asks for the value again. Values staged at an older revision are not
published. The first **Apply** reports the revision change, and whether the
program source changed. A second **Apply** prepares them on the current
model; **Reset** discards them.
Expand All @@ -357,7 +363,8 @@ it on the same namespace.
`PROGRAM_DEPENDANTS`, `PROGRAM_STALE_PROGRAM`, `PROGRAM_ASSERT` with the
author's message, `PROGRAM_VALUES`, or the evaluator error of a failed
candidate. A staged value outside a range that updated source narrowed is
marked `outside range`.
marked `outside range`, and a staged choice it no longer lists is marked
`not a declared choice`.
- **Detach and Remove.** Both first show a confirmation with the binding, its
owned objects and its local edits. **Cancel** changes nothing. If the model
changes while the confirmation is open, nothing is sent. Otherwise the HUD
Expand Down Expand Up @@ -505,18 +512,29 @@ the tool path and opens the HUD on Programs. It covers:
- Detach cancelled and confirmed, Remove withheld after a commit during its
confirmation, Remove and Undo, the Variants link, and viewport bounds;
- the HUD's binding rows byte-identical to the live inspect after install,
after a local edit, and with four imported meshes in the drawing.
after a local edit, and with four imported meshes in the drawing;
- a second program with a text choice, a numeric choice and a boolean: **+**
and the choice list stage text, the boolean switches, and one **Apply**
publishes all three as one revision, with the generated objects and the
plate's native volume matching the chosen values;
- stepping past the last choice refused, the committed value unstaging its
row, a choice picked during a concurrent configure not staged, and a staged
choice dropped by an agent update rejected as `PROGRAM_VALUES` with the
document and revision unchanged.

Captures are written next to `--shot` (`.program-hud-open.png`, `-staged`,
`-applied`, `-rejected`, `-typed-race`, `-values`, `-local-edits`,
`-detach-dialog`, `-detached`, `-dependants`, `-remove-dialog` and `-narrow`).
`-detach-dialog`, `-detached`, `-dependants`, `-remove-dialog`, `-narrow`,
`-choices-staged`, `-choice-dialog`, `-choices-applied`, `-choice-dropped` and
`-choices-narrow`).
In one local run with the four meshes (1.57 MB of authored source), the HUD's
inspect took 2.6 ms and the live inspect 135 ms. This is a single
measurement, not a benchmark.

Assertions and bounds encode the design rules stated by the author. They are
not manufacturing, structural or fit qualification. No measured agent quality,
time or token benefit is claimed. Editing program source in Studio is not
implemented. Studio's Design variants window stages numeric values only and the
Parametric HUD shows text values read-only, so text choices are configured
through the tools. Program assembly output is not implemented (see above).
implemented. Studio's Design variants window stages numeric values only, so a
text choice is compared and saved as a variant through the tool; the
Parametric HUD configures it on the installed program. Program assembly output
is not implemented (see above).
2 changes: 1 addition & 1 deletion docs/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ Goal: create and revise a complete product with clear, reliable interactions.
| ID | Milestone | Status | Acceptance still governing the work |
|---|---|---|---|
| B.01 | Readable navigation and editing | Parcial | Stable cube/axes, free orbit, selection/Spotlight, shortcuts and DPI; no clipped controls at supported resolutions. Measurement and display units have [013B evidence](iterations/013B.md); BOM layout has [015B evidence](iterations/015B.md). [017B scoped evidence](iterations/017B.md). [018B editable authoring and coordination](iterations/018B.md). [019B native/mesh pointer selection, hover and visual authoring](iterations/019B.md). [020B exact extrusion gestures and source dimensions](iterations/020B.md). [021B direct handle and snapshot feedback](iterations/021B.md). [022B existing-solid resize, asynchronous previews, exact vertex tools and integrated sheets](iterations/022B.md). 029B adds accessible native fields, visible focus and dynamic DPI/work-area reflow; [sketch/accessibility evidence](SKETCH_ASSISTANCE_029B.md). [048B](iterations/048B.md) adds the Studio parametric HUD overlay with staged Rebuild/Auto. [053B native graph](PARAMETRIC_COMPONENTS_053B.md) connects authored relationships, geometry selection and local navigation. [065F](iterations/065F.md) unifies the Studio palette, ribbon grouping and one outline-icon family, with a floating sidebar on every tab. [072A storage visibility](GROWABLE_EDITING_072A.md) replaces discontinued quota percentages with actual retained counts/bytes and explicit resource errors; UI verification is pending. |
| B.02 | Everyday sketches and feature history | Parcial | Actionable constraint diagnostics, valid reorder, suppress/rollback and visible dependencies; rejection leaves the document intact. Arcs/snaps/expressions have scoped 005B/008D evidence. [017B scoped evidence](iterations/017B.md). [018B editable authoring and coordination](iterations/018B.md). [019B visual and parametric authoring](iterations/019B.md). [020B exact extrusion gestures and source dimensions](iterations/020B.md). [021B associative extrusion source](iterations/021B.md). [022B source-preserving edits, opaque validated preview handoff and version-37 journal checks](iterations/022B.md). 029B adds equilibrated QR solving and source/revision-bound reviewed conflict alternatives; [sketch assistance](SKETCH_ASSISTANCE_029B.md). [046B profile regions](PROFILE_REGIONS_046B.md) make multi-loop sketches with holes one extrude/revolve profile, with typed loop rejections and an optional region selection. [048B parametric HUD](PARAMETRIC_HUD_048B.md) exposes ranged named parameters and a sampled flex check. [051A scoped sketches](SCOPED_SKETCHES_051A.md) add definition ownership, explicit references and guarded per-scope capacity. [Parametric programs](PARAMETRIC_PROGRAMS.md) compile code-defined families into namespaced native features, with atomic re-runs that reject local edits and outside dependants (local CTest only). [072A growing history](GROWABLE_EDITING_072A.md) removes fixed history/node/replay ceilings without pruning or changing authoring semantics; local persistence and UI validation passed. [076A](iterations/076A.md) hardens program expressions and provenance, adds boolean/choice/text parameters (conditional format 60), `.arkprog` exchange and Studio HUD program controls; programs still emit no assembly. |
| B.02 | Everyday sketches and feature history | Parcial | Actionable constraint diagnostics, valid reorder, suppress/rollback and visible dependencies; rejection leaves the document intact. Arcs/snaps/expressions have scoped 005B/008D evidence. [017B scoped evidence](iterations/017B.md). [018B editable authoring and coordination](iterations/018B.md). [019B visual and parametric authoring](iterations/019B.md). [020B exact extrusion gestures and source dimensions](iterations/020B.md). [021B associative extrusion source](iterations/021B.md). [022B source-preserving edits, opaque validated preview handoff and version-37 journal checks](iterations/022B.md). 029B adds equilibrated QR solving and source/revision-bound reviewed conflict alternatives; [sketch assistance](SKETCH_ASSISTANCE_029B.md). [046B profile regions](PROFILE_REGIONS_046B.md) make multi-loop sketches with holes one extrude/revolve profile, with typed loop rejections and an optional region selection. [048B parametric HUD](PARAMETRIC_HUD_048B.md) exposes ranged named parameters and a sampled flex check. [051A scoped sketches](SCOPED_SKETCHES_051A.md) add definition ownership, explicit references and guarded per-scope capacity. [Parametric programs](PARAMETRIC_PROGRAMS.md) compile code-defined families into namespaced native features, with atomic re-runs that reject local edits and outside dependants (local CTest only). [072A growing history](GROWABLE_EDITING_072A.md) removes fixed history/node/replay ceilings without pruning or changing authoring semantics; local persistence and UI validation passed. [076A](iterations/076A.md) hardens program expressions and provenance, adds boolean/choice/text parameters (conditional format 60), `.arkprog` exchange and Studio HUD program controls; programs still emit no assembly. The HUD's Programs view has since gained controls for booleans and numeric or text choices (local `studio-program-hud-ui` only; not yet part of an identified iteration). |
| B.03 | Advanced solids and surfaces | Parcial | Difficult loft/sweep/guide/patch/trim/thicken corpus, measured continuity and explicit repair; no mesh fallback concealing exact failures. [017B scoped evidence](iterations/017B.md). [018B editable authoring and coordination](iterations/018B.md). [019B visual and parametric authoring](iterations/019B.md). [020B exact sketch extrusion](iterations/020B.md). [021B bounded face/extrusion geometry](iterations/021B.md). [022B exact polyhedral vertex pull](NATIVE_VERTEX_PULL_022B.md) adds a bounded faceted-solid domain with input/output validity and selfinterference checks. 029B adds bounded exact orientation repair and a difficult geometry corpus; [repair evidence](SURFACE_REPAIR_029B.md). [046B hollow sweep sections](PROFILE_REGIONS_046B.md) sweep inner loops with one shared placement and a volume-conservation check. [051A native regression evidence](NATIVE_GEOMETRY_051A.md) covers shallow C0 offset classification and translated analytic C2 lofts with unchanged tolerances. |
| B.04 | Large, configurable assemblies | Parcial | Subassemblies, reused instances, configurations, external references and selective loading; editing one definition updates all occurrences. Supported mechanisms are locally scoped. [022B source-linked component patterns](SPECIALIZED_PATTERNS_022B.md) cover inheritance, planar/spatial points, exact curve stations, chain alternation, skips and actual occurrence consumers; large configuration/loading qualification remains open. 029B adds semantic loading, measured derived-buffer/external-I/O reduction and scoped v2 configuration/pin ownership; [assembly evidence](ASSEMBLY_SCALING_029B.md). [048B exploded views](EXPLODED_VISUALIZE_048B.md) are display-only, revision-neutral and drivable by baked motions. [051A definition-owned sketches](SCOPED_SKETCHES_051A.md) are shared across occurrences and remapped with component checkout/merge. [053B reusable recipes](PARAMETRIC_COMPONENTS_053B.md) embed parts/assemblies with public overrides and explicit pinned revision updates. |
| B.05 | Technical drawings and exchange | Parcial | Local 022B binds part definitions, exact occurrences and root/group assemblies to source-linked views, isometric projections, planar sections/hatches, semantic dimensions and declared tolerances in the same CAD viewport. Agents author drawings only on explicit user request. 029B adds bounded exact DXF export with local readback and source metadata. Broader drafting standards, GD&T qualification, independent recipient interoperability and physical qualification remain open. [067G](DRAWING_LIBRARY_067G.md) adds local multipage vector PDF presentation and caller-declared named geometric tolerance frames. [Drawing contract](DRAWINGS.md) [022B viewport evidence](DRAWING_VIEWPORT_022B.md) [029B evidence](VERIFICATION_029B.md). [048B Visualize](EXPLODED_VISUALIZE_048B.md) renders exploded assembly images with balloons and a BOM table on explicit request. |
Expand Down
4 changes: 4 additions & 0 deletions docs/THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ projection. Original model cards, attribution, runtime license and runtime
third-party notices accompany the payload under `assets/memory` and `licenses`.
`scripts/prepare-memory-embeddings.ps1` pins download bytes and source revisions;
the asset manifest and package SBOM identify model/runtime files separately.
The runtime comes from the pinned official release archive or, when that is
unreachable, from the pinned official NuGet package. Both carry the same bytes
for the two runtime libraries, the license and the third-party notices, and
the script checks each of those four files against its own SHA-256.
The runtime performs local inference without an external embedding service.
These dependencies do not change the geometric authority of OCCT/B-rep.

Expand Down
Loading
Loading