Files
make-cad/viewer/server/operations/linear_pattern.md
T
NiJingzhe 22d19263a7 feat(viewer): re-studio free-form composer with entity/op tags, highlighted source, feature DAG
- composer: contenteditable input where viewport picks and operation tips
  land as atomic colored chips ([face:6](face:6) / [fillet](op:fillet)),
  peers of free text; IME-safe Enter (composition never submits);
  atomic chip backspace; plain-text paste
- operation tips are markdown content, not code: viewer/server/operations/
  <op_id>.md (frontmatter label/category/api/reads/doc_refs + hint body),
  loaded by a stdlib frontmatter parser with mtime cache; broken files are
  named in payload errors, never silently skipped
- five categories per the human's classification (sketch / solid / modify /
  surface / pattern); palette rendered from GET /api/operations
- compose_submission embeds operation_context for every referenced op
- SOURCE tab: read-only CodeMirror python view (PythonEditor extracted from
  SourceDock, shared extensions) with file tabs and line-range reveal
- FEATURE TREE: viewer's DAG algorithm extracted as FeatureTreeView
  (apply_tag hidden, REF/USED/IN badges); clicking a feature switches to
  SOURCE and highlights its source span; FTC-header fallback before the
  first captured package
- tests: registry load + broken-file naming + operation context (9 pass)
2026-09-05 03:10:36 +08:00

18 lines
452 B
Markdown

---
label: linear array
category: pattern
api:
- linear_pattern_rsolidlist
reads:
- seed feature
- instance spacing and count
- array direction
doc_refs:
- docs/skill/references/docs/api/linear_pattern_rsolidlist.md
- docs/skill/references/domains/part-modeling.md
---
`linear_pattern_rsolidlist` — identify the seed (one instance), derive
spacing from adjacent instance centers, and pattern the feature-level
input, not the final body.