84 Commits

Author SHA1 Message Date
Ni Jingzhe f016a14984 editor-web: the "model shown" log says what the header says (open solids are not parts)
DECISION: the log line written when a preview arrives reuses previewSummary(), so it counts parts and open
solids the same way as the header.

WHY: found by driving the real editor in a browser (ego-browser) after the editor commit of this series.
A part notebook with two open solids (a body and a tool, no Part yet) showed "2 open solids" in the header
but "model shown: 2 parts" in the log: the log still counted every node as a part, which was true while a
Part could hold several bodies and is false now that a Part holds exactly one solid (see
design-docs/part-holds-one-solid.md; the owner's point was that the editor's side-by-side solids are
notebook values, not parts, so the editor must not call them parts).

- App.tsx: log.push("ok", ...) uses t("model shown: {{summary}}", { summary: previewSummary(nodes) }).
- zh-CN.json: the two plural strings it replaces are one string with the summary.

Checked in the browser: a part notebook with two open solids -> header "2 open solids", log "model shown: 2
open solids"; the same notebook with a make_part_rpart cell -> header "1 part". editor-web vitest (331) and
tsc --noEmit pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 04:04:14 +08:00
Ni Jingzhe d415647e96 editor: several open solids have no product until the author picks one (use_as_product), and say so
DECISION: the editor keeps letting solids exist side by side (a tool next to its body), but they are no longer
the bodies of one implicit Part. With exactly one open solid the Part is implicit as before; with several the
notebook has no product yet and the editor asks the author which solid is the part.

WHY - THE DISCUSSION (owner and assistant, 2026-11-10; full account in design-docs/part-holds-one-solid.md)
This is the editor need that started the whole multi-body Part: several solids in one notebook with no
assembly constraint (pattern a tool, then cut). The owner's judgement was that solving it inside the Part
makes assembly hard and was wrong; the agreed answer was "a Part is one solid, and the editor supports the
several solids some other way". This commit is that other way at the editor: the solids stay visible and
editable (the preview draws them, commit "runtime + preview"), and the product is chosen, never guessed. A
guess would silently leave a solid out of the exported Part; the author knows which solid is the part.

WHAT CHANGES
- editor/gui_features.py
  - snapshot(): the implicit product exists only for exactly one open solid (and its dict loses `bodies`);
    several open solids give `product: null` while `open` still lists them.
  - use_as_product(): when the notebook has no product, a part notebook and a body that is open, it writes
    the product cell `<stem> = scad.make_part_rpart(part_id=scad.notebook_id(), body=<chosen>)`. Before, it
    refused ("no product cell"), which would have left the author without a way out.
- editor-web
  - FeatureTree: a notice with one "use <solid>" button per open solid while there is no product and
    several solids are open ("N solids are open, and a Part holds exactly one solid. Choose the part:").
    The product badge reads the one product body.
  - features.ts: FeatureState.product loses `bodies`.
  - preview.ts previewSummary: nodes `node/<id>/body:<name>` are now the notebook's open solids, not the
    bodies of a part, so the header says "N open solids" (zh-CN strings added) instead of "1 part · N bodies".
- tests: test_editor / test_editor_features follow the new product dict and the required `body` argument
  of Part; a new test drives the editor flow end to end (two open solids -> no product, a headless run
  raises SeveralOpenBodiesError naming them -> use_as_product -> the Part exists and the notebook runs).

Checked: editor-web vitest (331 tests) and tsc --noEmit pass; the editor test files pass except for the
multi-body fixtures of other files, which are updated in the tests commit of the series.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 04:01:35 +08:00
NiJingzhe 2ee7114adf editor: code mode only for the release: manual modelling is switched off (MANUAL_MODE in lib/manual-mode.ts: no mode switch, command bar, manual keys or sketch/curve pick kind), its code stays; the viewport's renderer, level of detail, instancing and BVH picking stay
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 20:43:47 +08:00
NiJingzhe f3c4d1640a editor: the 3D curve drawer starts with a free name (path, path_2 ...) instead of path every time
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 02:21:45 +08:00
NiJingzhe 80fb891a1f editor i18n: the assembly panel (connectors, components, constraints, exploded view, its checks and kind names), the selection hint under the command bar, the part count, and the log's own lines (added, created, exported, a failed or slow cell, re-evaluating); the coverage test also checks the context actions' words, the constraint kinds and the radius fields
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 02:19:36 +08:00
NiJingzhe 08050b1fd8 editor: surfaces from curves and a solid from surfaces
- the face and shell values no later cell reads are drawn with the model (node/surface/<name>: light blue, seen from both sides; a sketch's face stays the sketch layer's) and picked whole in the "sketch / curve / surface" mode, highlighted and shown in the inspector
- picked curves offer Ruled surface (two), Loft surface, Fill (a closed loop: the `fill` feature, make_surface_patch_rface), Flat face (a flat loop: `flat_face`, make_face_from_wire_rface with the loop's normal), Network surface (two families of crossing curves, found from where they cross: Gordon) besides Sweep and Join into a wire (lib/curve-net.ts finds loops, their plane and the families)
- picked surfaces offer Sew (`sew`: sew_faces_rshell of faces and shells) and a shell Close into a solid (`solid_from_shell`), which becomes the part's body; each starts at once with its values filled from the picks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 19:04:16 +08:00
NiJingzhe 6f1c2485b7 editor: several curves picked join into a wire (the wire feature: make_wire_from_edges_rwire of the picked curves, in any order), and every form slot that asks for a wire takes a curve (an edge) too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 06:12:46 +08:00
NiJingzhe 53de920e81 editor: a 3D curve is one edge: a path drawn in one go becomes one curve feature per line, arc or spline (path, path_2 ...), each starting at the end of the one before (a point end_of another curve: path.get_end_vertex().get_coordinates(), so it follows that curve), a path closed on its start ends at the first curve's start, and a point snapped to an end of another curve is kept at it; all of them are added or none. An older curve cell of several segments is still one wire. The feature list takes each value's kind from the kernel for every feature (a curve is an edge, a sketch a face or a wire)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 05:45:24 +08:00
NiJingzhe 3e6ea0b661 editor: 3D curves are picked with the sketches (the "sketch / curve" selection mode): hovered and picked on screen (within a few pixels of the drawn line), drawn wider and in the selection colour, shown in the inspector (kind, edges, length); a picked curve offers Sweep (op.sweep_rsolid with the curve as its path; a sketch picked with it is the profile, and with both given it starts at once), the selection bar hangs at the curve's middle
The kernel reports the kind of every top-level value (live_value_kinds) and the feature list uses it for cells written as code: a path or a face made in code is no longer taken for a body, so it is not the product and it is offered where a wire or a face is asked for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 05:17:23 +08:00
NiJingzhe 1505ff1f42 editor: shell as an operation in progress: picked faces, Shell, and the cup is there at once with a 1 mm wall; an arrow on the opened face drags the thickness into the body (at least 0.1 mm), the panel lists the openings and takes one out, a click on a face of the model (the shelled body itself) opens it too; Esc undoes the feature with every opening added or taken out meanwhile. Fillet and chamfer take more edges the same way (any operation whose one selection takes several picks)
Server: the feature list carries what each selection slot holds as references (gui.refs), an edit keeps the references it is given for items with no entity on screen (a face a shell opened is not drawn), and a reference given twice is selected once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 04:47:31 +08:00
NiJingzhe 5c2acac1d6 runtime: a notebook with no Part, Assembly or solid yet is no fault: find_product raises NoProductYetError (a ProductNotFoundError, still raised where a product is needed: export, a headless run with a product) and the editor previews it as an empty model ("no solid yet" in the log) instead of reporting ProductNotFoundError; the editor server's own empty-notebook case is gone (the kernel's empty preview covers it), and a notebook's first model is framed when it has one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 04:29:36 +08:00
NiJingzhe d3eb5a6794 editor i18n: sketch mode in Chinese: the toolbar (tools, toggles, constraints), the drawer (status, constraint list, diagnostics, profile), the plane chooser, the bar (name, finish, face/wire), typed entry, value and corner boxes, project, the hints and edit notes of the sketch editor, the sketch rows of the inspector and the name check; a test checks that the keys held in the sketch tables (tool names, constraint labels and shorts, typed fields, solver states) have their Chinese entries
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 04:23:12 +08:00
NiJingzhe 5aca0dc782 editor: the viewport's ground and view controls, smooth folds and the operations' icons in the feature tree
- the XY grid is drawn per pixel (scene/ground-grid.ts): power-of-ten spacings fading into each other with the zoom,
  the coarser level strong, fading out a few camera distances from the target; the X, Y and Z axes are red, green and
  blue lines through the origin as far as the camera sees
- the axis gizmo: a click on an end of an axis turns the view to look from that side (slerped about the target), the
  arrows in the band around it turn the view by 45° about the screen's axes, and a button beside it switches between
  perspective and parallel projection (remembered in the browser; the sketch canvas keeps its own and gives the
  chosen one back)
- the floating inspector and the operation panel fold into a one-line pill and back by growing or shrinking
  (lib/useSizeTransition.ts); a cell folds and unfolds by its height
- the feature tree shows each operation's icon (a code feature: a code icon); the sketch, revolve, curve and assembly
  operations have theirs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 04:10:22 +08:00
NiJingzhe 0e90fc152b editor: the left column slides like the mode switch (both modes' panels side by side on one strip, no gap; to code it moves left, to manual right); the command bar sits at the bottom only, sliding up into manual mode and down out of it (docking to the top removed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 03:51:32 +08:00
NiJingzhe a68f5d5558 editor: one layout for both modes: the left column holds the panels (the mode switch on top of it, run all there in code mode; only its content slides on a mode change), the inspector and the selection kinds float over the viewport in both modes, the header keeps the notebook, status, theme and language (undo and redo are the feature tree's)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 03:33:29 +08:00
NiJingzhe 69ac64025a press_pull_rsolid: one signed distance pulls a planar face out (its prism joined) or presses it in (cut), recorded as its extrude and boolean steps; the editor's Press / pull on a picked flat face replaces Pull face / Push in on the selection bar: an arrow on the face along its normal drags the distance (0.5 mm snap, Shift free) while the panel types it, across zero; the face's frame comes from its triangles on screen, at once
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 03:23:58 +08:00
NiJingzhe 8e01e1908c inset_face_rsolid: a planar face's loops moved inside it are imprinted (the face splits into its inner face and ring, roles inset.inner / inset.ring, tracked as fragments, replayable); the editor's Inset on a picked flat face, tuned in place like every operation, so inset then pull builds steps and bosses without a sketch; the operation panel's Enter handler no longer assumes its target is an element
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 23:13:51 +08:00
NiJingzhe c7c3c3ceeb editor: an operation in progress (lib/operation-session.ts) instead of a dialog when the selection is all it needs: it is added at once with small defaults (fillet and chamfer 0.5 mm), its numbers float in a panel by the selection and every change rebuilds the model (a failure shows in the panel, the log stays shut), Enter keeps it (the numbers are written into the notebook), Esc takes it back (undone; an edited feature gets its numbers back), the dialog has every option; a feature of the tree is tuned in place the same way. The catalog and SDK index are revalidated (no-cache with an ETag) so an updated editor never serves an old catalog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:43:40 +08:00
NiJingzhe 8e48abd140 editor i18n: English and Chinese (i18next; the English text is the key, zh-CN.json maps it; the browser's language unless chosen in the header, remembered); the chrome, notices, feature dialog, command bar and the operation catalog (names, groups, fields, options, descriptions) translated, a Chinese query finds operations by their Chinese names; a test fails when a literal key has no Chinese entry. Not yet: the assembly panel, sketch mode and the selection hints
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:17:51 +08:00
NiJingzhe 37a3fe97b4 editor manual mode: the viewport takes the whole window, the panels float over it (browser top left and collapsible, stepping aside for a task's own panel; inspector under the axis gizmo, collapsible; selection kinds top centre; the command bar stays the floating search bar and docks under them); code mode keeps its columns and the viewport is never remounted; rows of buttons and tabs scroll sideways (scroll-row, wheel too) instead of wrapping
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 21:57:35 +08:00
NiJingzhe d35c92e951 a new part notebook is empty (sca new and the editor's new; the parametric cylinder is --kind sample); an empty notebook is where it starts, told as info, not a ProductNotFoundError; an operation or drawing started with no notebook open asks for one first and creates it in place
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 21:42:09 +08:00
NiJingzhe 3bacb931c6 editor viewport: level of detail (a part seen up close is tessellated again by the kernel, POST /api/preview/refine, until its chords are under half a pixel; same keys and entities, highlights rebuilt), parts several nodes draw are instanced (faces per colour, edges batched; the nodes stay for picks and visibility), picks go through BVHs (three-mesh-bvh, indirect: the face and edge ranges keep their order), the axis gizmo composited by the output node from its own transparent target
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 16:08:28 +08:00
NiJingzhe 6e745f3407 editor: opening another notebook drops what the last one showed (workplanes, curves, tag splits, a partial preview, a placer or drawing in progress, the active workplane, sketch picks)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:52:23 +08:00
NiJingzhe 84974c7b2f editor: the viewport renders with three's WebGPURenderer (WebGL 2 where WebGPU is missing, or with ?webgl): one multisampled scene pass, GTAO on a single-sampled pass of the opaque faces, edges and overlays sorted after the faces; edge depth bias moved along the view ray in the vertex stage; sized points are instanced sprites with their own bounds; the orthographic sketch projection in the renderer's clip space; the axis gizmo cleared each frame; lib/sketch-face.ts (face-boundary snapping), which a69d1ef imported but did not add
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:46:14 +08:00
NiJingzhe 3701e43fcc editor: connectors placed on a face with move/turn handles (the same placer as workplanes), the workspace tab in manual mode too, notebooks deleted from the workspace tab (moved to .sca-editor/trash)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 04:41:21 +08:00
NiJingzhe a69d1ef431 3D curves drawn in the viewport (W: lines, arcs, splines on workplanes, snapped to vertices, edge midpoints, workplane origins; a point on a workplane follows it, a snapped vertex is a scad.ref), wires and edges drawn from kernel samples; a failing step previews the model before it; independent spline handles, anchors added while drawing, Shift+A anchor mode; sketch regions (make_faces_from_sketch_rfacelist: outer loops with their holes); a tag on several entities names a set and keeps its pieces; exact surface normals in preview meshes (smooth shading, shared vertices); SimpleWorkplane.point; scad.ref.of a vertex
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 04:30:26 +08:00
NiJingzhe fabbbe251b editor interaction: workplanes placed with move/turn handles (make_workplane_offset_rworkplane) and chained on the active one; a hole placed with the pointer; pick-intent keys 1-6; sketches drawn only when they are what a click picks; no shape-specific shortcut features, same-name ops labelled with what they make; sketch splines as anchors with two handles (insert/remove/convert anchor SDK ops, pen tool); a sketch can be made into a wire
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 02:26:34 +08:00
NiJingzhe 98e24b6aad tags follow their entity as references do: a split names the pieces <tag>.split<i> (numbered when recorded), reported by TagSplitWarning, sca run and the editor's highlight; solids have history (boolean solid witnesses, union merge, one-solid continuation) and scad.ref.solid; references resolve over the pieces of a split body; an ambiguous anchor is told apart by its history
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 20:53:29 +08:00
NiJingzhe c3368e6ace fillet and chamfer take the pieces of a split body; bigger snap circle and pick tolerance in the sketch; skill page split
- fillet_rsolid / chamfer_rsolid accept the list a splitting cut returns: each piece gets the picked edges on it, the
  selector's cardinality is checked over all pieces, the result is the pieces in order (a Solid stays a Solid). A GUI fillet
  after a cut that split the body failed with a TypeError and the part lost its product.
- Sketch: pick/snap tolerance 9 -> 16 px, the snap mark is a larger ring.
- Skill: the GUI-feature half of editor-collaboration.md is its own page (editor-gui-features.md); the page was over
  the 300-line limit after the workplane and ref sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:38:32 +08:00
NiJingzhe 0399b4963b merge feat/public-refs: scad.ref (readable, parseable stable references), ql.ref; GUI selections are one scad.ref line; ref status and repair
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:16:45 +08:00
NiJingzhe a90fb3bcf8 merge feat/workplanes: workplanes are values with recorded constructors (from face, points, axis, midplane, normal to a curve); Space sets the workplane in the editor
Also: the product executor count includes make_set_body_appearance_rpart (27).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:05:24 +08:00
NiJingzhe c08a4eaed1 editor-web: a spline draft can be finished without the keyboard (click the last point again / double-click, a finish button), and a click on its first point closes it
The close click compared point ids only, so a click back on a draft's own first point (not yet a sketch point) added one
more control point instead of closing; the only way to finish was Enter, which nothing on screen said.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:57:57 +08:00
NiJingzhe 8a92c22bd3 editor-web: a failing feature shows its references (green / amber / red) and the candidates; a click writes the choice
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:54:07 +08:00
NiJingzhe cbdc8a2253 editor-web: test which selections offer the workplane command
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:47:09 +08:00
NiJingzhe 44e9f85da3 editor-web: Space makes a workplane from the selection; workplanes drawn as labelled patches; the plane chooser lists them
Space (or the command 'Workplane from selection', also on the selection bar)
reads the selection as one constructor (lib/workplanes.ts workplaneRequest:
a flat face, a face + an edge, two faces, three vertices in pick order, one
edge), adds the 'workplane' feature cell, makes it the active workplane and
turns the camera to it once the kernel reports its frame (Space with nothing
selected looks at it again). A new sketch goes on the active workplane; the
plane chooser lists every workplane, and a sketch on one keeps the variable
(Frame.workplane) so its cell writes plane=<variable>. Sketches on a
workplane are drawn at the frame the kernel last reported. WorkplanePatches
draws each workplane variable as a small labelled patch (the active one blue).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:46:55 +08:00
NiJingzhe 81b1f65e4d test: B-spline trim / extend / crossings (pytest), replay and the editor document round trip
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:17:29 +08:00
NiJingzhe f4cb667eba sketch: B-splines in the sketch editor (spline tool B: click control points, Enter makes it, the first point closes it)
The document gets a bspline entity (control point ids, degree) that becomes add_bspline_rsketch; the solve returns each
B-spline as the SDK samples it (sample_curve_rcurvature), so the editor draws the SDK's curve, its control polygon (the
points are the handles: dragging one reshapes the curve) and, for a picked spline, its curvature comb. Loops and faces through
B-splines are the SDK's profiles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:29:01 +08:00
NiJingzhe 26c17296aa editor-web: the model shows in the sketch view (faces and edges)
Two renderer bugs the orthographic sketch view exposed: without the occlusion pass the edge pass auto-cleared the face
target (the faces vanished, hidden edges showed), and the edge depth bias assumed a perspective projection (in orthographic
every edge sank behind its face).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:14:11 +08:00
NiJingzhe e35c573a31 editor-web: a colour input for colour slots; the viewer draws each body in its display colour and opacity
The preview's nodes carry color/opacity (a body colour, else the material's);
the viewer draws a node in properties.color (preview or package scene), else
the material tint, else the default grey, see-through below opacity 1. The
colour slot is a picker (sRGB #rrggbb) converted to the SDK's linear RGB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:23:54 +08:00
NiJingzhe 526aa079db editor-web: a connector's frame can be set by hand (origin, a move along its own axes, a turn about one of them, flip)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 06:05:37 +08:00
NiJingzhe 900f7f8433 editor-web: the header counts parts and the bodies of a multi-body part
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 05:53:47 +08:00
NiJingzhe 37e6dd86fe merge research/multi-solid: a Part holds one Solid or several named bodies; a cut that splits a body gives its pieces
On top of the merge: the bindings it touched (cut_rsolid on_split, make_part_rpart body/bodies) take the typed signature
vocabulary; a kind = "part" notebook's implicit Part is made of all its open bodies (named by their variables, the pieces of a
split cut <name>_1..n) and is recorded in the definition (one result node, so its content hash is stable across cache hits);
product values are walked through their own children, not as plain dataclasses; the skill says how bodies and the implicit Part
work; the editor marks every body of the implicit Part as the product.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 05:39:13 +08:00
NiJingzhe 76fcb1a355 editor: a grid of points (a control net) is a form slot; catalog reads rows of points as grid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 05:03:10 +08:00
NiJingzhe e33f50e403 editor-web: forms for value slots (named values of the kinds an operation takes, lists in click order) and text; SDK operations get names from what they make
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 04:44:47 +08:00
NiJingzhe a607d3932d sketch: where curves cross is the SDK's answer (inspect_sketch_rsketchcrossings); the editor draws it instead of computing its own
The crossings are the ones trim_rsketch cuts at (the same solved geometry and intersection code), returned by the sketch solve the
editor already calls. The frontend's own intersection module is gone; its end-to-end coincidence tests moved to sketch-chain.test.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 03:50:24 +08:00
NiJingzhe d39e2bdac1 editor-web: the product badge says when the part is implicit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 03:43:39 +08:00
NiJingzhe ff28293a95 editor-web: type the next point while drawing (x/y, length and angle, radius, sweep); typed lengths and radii stay as dimensions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 03:28:09 +08:00
NiJingzhe 16b845f0c9 editor: pull or push a picked flat face along its normal (extrude_face), no sketch in between
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 03:24:16 +08:00
NiJingzhe f6a44f3044 editor-web: manual mode and code mode, one switch in the top bar, side panels slide out and in
Manual mode: features and assemblies, the command bar and the selection bar. Code mode: notebook and workspace (the original design).
The two are never on one page; both side panels leave to the left and right with an ease-in and the other mode's arrive with a decelerating curve.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 02:09:35 +08:00
NiJingzhe 60fa2a8cfa editor: a hole drills along an axis, the picked face's normal or a free vector
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 02:06:33 +08:00