Commit Graph

176 Commits

Author SHA1 Message Date
NiJingzhe 1a46ccb238 release: 2.2.4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 02:32:42 +08:00
NiJingzhe f33a84847e docs(skill): which notebooks the workspace scan lists
Subfolders of any depth are listed; names decide what is skipped
(dot/underscore-prefixed, node_modules, venv, site-packages, build, dist).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 02:06:31 +08:00
NiJingzhe 794d9a5331 release: 2.2.3 (not 2.3.0)
The version of this release is 2.2.3: rename the version, update notes and README references.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:35:04 +08:00
NiJingzhe f90ae2d0fe release: 2.3.0
Version bump, changelog heading, update notes (EN/中文), SKILL.md metadata, README.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:32:41 +08:00
NiJingzhe 3d4e789da6 fix(editor): take in edits made to the notebook file; sca cell / sca new
The editor held the open notebook in memory and rewrote the file on each edit, so an
agent's saved change was overwritten and never noticed. The file is now watched and
applied cell by cell (agent's version wins a same-cell conflict), the workspace list
follows new files, and sca cell/new edit through the running editor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:30:40 +08:00
NiJingzhe 4a03c47147 release: 2.2.2
Version bump, changelog heading, update notes (EN/中文), SKILL.md metadata, README.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 00:58:26 +08:00
NiJingzhe afe4b526bc release: 2.2.1
Version bump, changelog (2.2.1 section, including the modeling features and exact
volume integration of the build123d work), update notes in English and Chinese,
README pre-release notices removed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 17:48:10 +08:00
Ni Jingzhe d9c7449cdd Merge pull request #37 from PhySpace/fix/build123d-ftc-validation
v2.2.0b1 feat: add build123d FTC conversion and validation
2026-10-13 17:29:20 +08:00
NiJingzhe 8816d511b0 docs(readme): lead with the agent landing line; the new editor replaces Re-Studio
- both READMEs open with the line to paste to a coding agent
- pillar 3 is now the code-first editor (screenshot added); Re-Studio and the
  standalone sca-web-editor references are gone
- update notes for 2.2, install and examples sections brought up to date
- remove the Re-Studio skill workflow and its demo media (10 MB)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 13:22:47 +08:00
NiJingzhe e7728e302e docs: landing.md, the script an agent follows to land a user on the SDK
Install (uv tool, pipx, else pip), skill install to ~/.agents/skills, sca init,
explain the SDK from the skill, open the u_link example in the editor and coach
the person through parameters, selection and handing work to the agent.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 23:25:31 +08:00
NiJingzhe 6d1ddb5282 feat(cli): sca example, sca skill where; ship the editor UI and the demo in the wheel
- sca example u_link [DIR]: copy the bundled motor-mount workspace out, ready for sca edit
- sca skill where: print the install destination without writing
- release: build editor-web before uv build; the sdist carries the built UI and the
  five demo notebooks (the wheel is built from it); verify the wheel's contents
- skill: editor-collaboration domain (selection cell, snapshot, cell references,
  parameters), routed from SKILL.md; version metadata brought up to date
- fix a SyntaxWarning printed on every sca call

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 23:21:58 +08:00
NiJingzhe cb7a5369aa feat(runtime): per-cell cache dependencies, shared with the editor kernel; faster packages
The cell cache is stored under a digest of the files each cell depends on
(modules reached through the names it reads, through the notebook functions it
calls, and through the cells it reads from; child notebooks; inputs) instead
of one digest for the notebook: a changed module recomputes what reads it and
restores the rest, and going back restores everything. The editor kernel runs
cells through the same cache (cells downstream of saved parameter values are
keyed by them; cells that run child notebooks are not cached there).

The render mesh of a face is computed with numpy in the profile's fixed
operation order: identical bytes, package builds about twice as fast.

The editor also watches the data files a notebook lists in 'inputs'.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 18:28:45 +08:00
NiJingzhe 3dad39999f feat(editor): local modules in the workspace, module view, reload on change
The workspace lists the local modules notebooks import (sca ls reports them
too) and opens one in a module view: autosaved source plus its dataclass
fields (and commented constants) as controls written into the file. A change,
from the editor or on disk, reloads the module in the kernel and reruns the
notebook; used notebooks are rerun from their files. Number boxes keep the
typed text until it is committed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 16:30:27 +08:00
NiJingzhe 8acdb6364a docs(editor): selection cell, autosave, snapshot, folding
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 07:02:58 +08:00
NiJingzhe 64f2cc9c61 feat(editor): sca edit — the web editor, now part of the SDK
The editor moves in from sca-web-editor as simplecadapi.editor (UI sources
in editor-web/, built into the package; 'editor' extra). It no longer
records anything itself: the kernel runs the notebook with the SDK cell
executor, the server asks it for the product (runtime.live.publish_live)
when marimo reports a completed run, and parameters are saved values the
executor applies, so marimo's dataflow reruns what reads them. Controls
come from '# ui:' comments; a workspace is any directory of notebooks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 05:55:50 +08:00
yuliuse 367262f499 feat: add recorded CAD features for source converters
Add signed offsets, affine transforms, draft, tapered and limited extrusions, and multi-section sweeps with strict graph replay. Support closed and periodic sketch B-splines and accurate rational-surface volume integration.
2026-10-07 16:58:08 +08:00
NiJingzhe cbfff93392 docs(api): regenerate Var/Const/Expr signatures for the structural expr_id default
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 23:43:45 +08:00
NiJingzhe 1e8cb923de docs(surface): point shared-boundary patches at make_gordon_surface_rface
make_surface_patch_rface re-fits its boundary edges, so neighbouring patches
do not sew into a closed shell. Say so in the docstring and in the
surface-patch and sewing diagnostics, and add a test that sews six Gordon
patches built from a shared edge network into a closed solid. The API pages
are regenerated: make_surface_patch_rface picks up the new docstring, and
render_screenshot_rpath picks up its existing note on the worker subprocess.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-02 19:20:54 +08:00
NiJingzhe 5177f4f186 docs(skill): teach the notebook runtime; drop the cache workflow
- new guide docs/guides/notebook-runtime.md: the header table, one FTC
  block per cell, the product-id rule, part families with notebook_id()
  and use(id=...), sca run and run_notebook
- SKILL.md, the workflows, domains and discipline references now build
  models as notebooks; the feature-tree convention maps blocks to cells
- regenerated API pages: run_notebook, use, notebook_id, NotebookRun,
  NotebookConfig, CellReport; removed the Cache*, ContentAddressedStore,
  resolve_cache_policy and incremental-solve pages, and the
  cache-build-workflow guide
- README / README.zh-CN: notebook quick start and example commands

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-02 17:16:25 +08:00
NiJingzhe c72bc5e610 refactor: remove re-mode viewer; studio lives in sca-web-editor
The standalone viewer/ React app (scene viewer + re-mode) and its case
server tests are deleted; the studio product now lives in the separate
sca-web-editor workspace runtime. Docs/updates refreshed accordingly;
pyproject picks up marimo/plotly used by the notebook tooling.
2026-09-26 23:06:12 +08:00
NiJingzhe 1f7d0cb9fa chore(release): 2.1.3
CHANGELOG added; version bumped to 2.1.3 across pyproject, skill
frontmatter, and README current-release lines; generated skill docs
refreshed via tools/auto_docs_gen.py.
2026-09-18 11:12:54 +08:00
NiJingzhe eb2f2c08d3 feat(addon): runtime state outside the payload + 'sca addon check'
- per-addon runtime dirs (~/.sca/runtimes/<name>), created at install,
  untouched by update, removed with the addon; {runtime_dir} placeholder
  in command_prefix and check_cmd alongside {addon_dir}
- 'sca addon check [name]': re-probe the installed runtime NOW and
  refresh the cached registry record (install-time probe is a cache,
  not truth); list shows cached state with its timestamp
- sca addon use exports SCA_RUNTIME_DIR for self-locating provisioning
- update replaces the payload wholesale but preserves a legacy in-payload
  .venv (pre-runtime_dir addons keep working)
- remove: records without runtime_dir delete nothing extra — never
  interpret the missing field as Path('') == CWD (regression test pins
  the exact failure that motivated this guard)
- docs: Payload vs runtime state section, check verb, updated examples
- version 2.1.3b4
2026-09-17 05:18:43 +08:00
NiJingzhe b939f44043 feat(cli): single 'sca' entry point + 'sca init' shell integration
- simplecad-cache/simplecad-export entry points are gone (hard cut):
  the same commands live under the unified dispatcher
  (simplecadapi.cli) as 'sca cache ...' and 'sca export ...', each
  group registered at parser level so per-group --help works
- sca init now wires the shell by default (--no-shell skips): a
  ~/.sca/bin/sca shim (Windows sca.cmd) execs the installing venv's
  console script — the venv bin itself never goes on PATH — and the
  shim dir lands on PATH via a marked, removable block in ~/.zshenv
  (read by non-interactive shells, so agents see the command),
  ~/.bashrc, fish conf.d, or the Windows user PATH registry value
  with a change broadcast; rc files are created only for the login
  shell or when they already exist; re-running init refreshes the
  shim (target discovery is symlink-safe, no resolve() out of venv)
- addon/cache/export cli modules expose configure(subparsers) +
  _execute(args); module run() keeps the CLI-shaped argv
- docs: sca namespace across evergreen docs, shell-integration
  section, 'never writes shell profiles' contract line retired
- tests: +17 (dispatcher groups, shell integration, entry-point
  absence); cache/export suites moved to group-token argv
2026-09-13 04:19:17 +08:00
NiJingzhe 3224233a62 feat(addon): top-level 'sca init'; version 2.1.3b3; local installs skip envs/caches
- 'sca init' replaces 'sca addon init' (init configures the machine, it
  is not an addon operation); guidance text, config comment, and docs
  follow; the 2.1.3b1 changelogs keep the historical command name
- version 2.2.0 -> 2.1.3b3 (pyproject + uv.lock)
- local installs ignore virtualenvs and tool caches (.venv, venv,
  .pytest_cache, .mypy_cache, .ruff_cache, .tox): a real addon checkout
  carried a full .venv straight into the addon home
- validated end to end against sca-connectors-addone 0.6.0: prerelease
  compat floor parses, git-origin name consistency passes, probe runs
  through command_prefix in the final installed layout, use dispatch
  exports SCA_ADDON_DIR, update re-probes after wiping a provisioned
  .venv (loud FAILED warning, non-blocking)
2026-09-13 03:41:28 +08:00
NiJingzhe dd33c79982 Merge branch 'dev' into feat/sca-addon
# Conflicts:
#	pyproject.toml
#	uv.lock
2026-09-13 03:28:30 +08:00
NiJingzhe d73555fbe2 feat(addon): naming standard + command prefix + 'sca addon use' dispatch
- standard: repository name == [addon].name == SKILL.md frontmatter name,
  enforced at add/update (GitHub repo slug, or local git-origin basename
  falling back to directory name); skill dirs install as sca-<name>
  without doubling a leading sca-
- [runtime].command_prefix (optional): shell prelude joined in front of
  check_cmd and every use dispatch; single {addon_dir} placeholder,
  unknown placeholders rejected at descriptor load
- sca addon use NAME [CMD...]: run cmd inside the addon's declared
  environment (SCA_ADDON_DIR exported, exit code propagates, --capture
  for programmatic output); bare 'use NAME' reports prefix + dir
- runtime probe now executes AFTER the payload is committed, in the
  final installed layout, so prefixes referencing {addon_dir} resolve;
  failing probe remains a loud non-blocking warning
- use argv is shell-quoted per element so quoted args survive sh -c
- docs: descriptor reference, naming standard, use; SDK 2.1.2 -> 2.2.0
- tests: 12 new (descriptor prefix validation, name consistency, use
  flows, prefixed probe); addon suites 73 green
2026-09-13 02:51:17 +08:00
Yulia 07255c7acb Merge pull request #59 from So3Lab/feature/solidworks-2023-compat
feat(translator): share geometry signatures and support SolidWorks 2023
2026-09-11 21:30:29 +08:00
NiJingzhe e9d5749f7c fix(windows): unblock builds — binary opens, guarded dir fsync, evidence-based stale locks
Reported by the OmniSim evaluation of the public u-link example
(2026-09-11): pip install + export.py on Windows died three times in
the build layer before any geometry was built.

- Binary-mode opens: every byte-exact os.open site now sets O_BINARY
  via _internal/os_compat.with_binary_flag. autocrlf=true clones read
  builder sources in text mode, stripped CR, and aborted with a false
  file_input_changed (25579-byte u_link.py read back as 25092); the
  same hazard expanded LF on cache writes and would corrupt CAS
  hashes. Sites: build/dependencies.py, artifacts/feature_graph.py,
  scene/archive.py, cache/store.py (object/record writes, lock
  create), artifacts/interface.py (lock create).
- Directory fsync is POSIX-only: os.open(<dir>)+fsync raised
  PermissionError on Windows in cache/store.py and
  artifacts/interface.py; both now no-op off POSIX via one helper.
- Stale-lock recovery by evidence: a lock whose recorded owner pid is
  provably dead is recovered immediately (unreadable owners still wait
  out the age gate, live owners are never broken). Windows liveness
  probing uses OpenProcess/GetExitCodeProcess — os.kill(pid, 0) maps
  to TerminateProcess there and kills the process being probed.
- Console hardening at import: non-UTF strict streams are reconfigured
  to backslashreplace so a cp1252 console cannot raise
  UnicodeEncodeError from a diagnostic print inside an error handler
  and mask the real failure.
- .gitattributes: byte-exact by default, LF pinned for text formats,
  so builder-source digests stop depending on core.autocrlf.

Tests: test_os_compat.py (15) + dead-owner immediate recovery in
test_cache_store.py; full suite 1799 passed, 5 skipped. ty: zero new
diagnostics.
2026-09-11 20:55:14 +08:00
Yulia b30c9da192 Merge latest dev into feature/solidworks-2023-compat 2026-09-11 17:00:26 +08:00
Yulia ae44cefd06 feat(translator): unify geometry signatures and support SolidWorks 2023 2026-09-11 16:54:53 +08:00
liuyu 9caa2caa3a feat(drawing): integrate PDF reconstruction and evidence validation
Add the drawing inspection namespace and its parser, calibration, section and
independent acceptance dependencies on the current dev architecture.

Protect input BREP during material fusion and sectioning. Bind dimensions,
annotations and visual reviews to source identities and measured geometry.
Connect the workflow and generated API docs to all seven skill build targets.
Make standalone verifier tests work with the pytest console entry point.

Validation: 186 drawing, documentation, skill-target and public API tests;
16 non-render BREP query tests; compileall and skillbuild --check.
2026-09-11 13:36:27 +08:00
NiJingzhe be93122527 chore(release): bump version to 2.1.3b1 2026-09-10 14:50:05 +08:00
NiJingzhe fc28a6298b docs(addon): scadpkg consumer format spec + reading guide; drop dead v2 package schema 2026-09-10 14:36:10 +08:00
NiJingzhe 93fad0e071 docs(addon): replace never-import contract with two integration modes 2026-09-10 14:16:49 +08:00
NiJingzhe 5cac586dfc feat(addon): sca addon manager — descriptor gates, platform enum, skill install, authoring doc 2026-09-10 03:05:09 +08:00
NiJingzhe aac0fbb29d feat(cache): script-anchored part cache, keyword-form corpus, 2.1.2
- @scad.part/@scad.assemble anchor defaults to the builder script's own
  directory: cache + interface state land beside the source, standalone
  scripts run anywhere, and the pyproject.toml walk-up requirement is
  gone (explicit project_root still relocates the anchor)
- file_input() paths resolve relative to the anchor; in-repo examples
  rewritten to script-relative declarations
- HistCAD translator emits keyword-form sketch-family calls (corpus
  self-documentation), pinned by tests; booleans stay positional by
  *solids signature
- both translators emit project_root=Path(__file__).parent explicitly;
  examples/histcad_demo regenerated (STEP volume reconciliation held)
- FTC convention documents @scad.part parameters and the cache contract
- version stamps 2.1.2 + bilingual update notes
2026-09-10 00:11:28 +08:00
NiJingzhe 197bf40c6b chore(release): bump version to 2.1.1
Tooling patch: SDK API unchanged. Adds the CadQuery→FTC translator toolset
with snapshot constraint recovery (merged in #49) and its bilingual update
notes; version stamps updated in pyproject+lock, SKILL frontmatter, and
both READMEs.
2026-09-09 22:12:13 +08:00
NiJingzhe a45cbf280e chore(release): 2.1.0
- version 2.0.4b3 -> 2.1.0 (pyproject, uv.lock, skill frontmatter, READMEs)
- docs/updates/2.1.0.md + zh-CN: release notes spanning the 2.0.4b2 baseline
  (absorbs the unreleased 2.0.4b3 draft: product boundaries, incremental
  assembly, crash-safe cache) plus FTC authoring, DXF engine, external
  history import, reverse-engineering studio, unified rendering, Apache-2.0
  relicensing, harness-targeted skill builds, self-contained examples, and
  the geometry fingerprint round-trip fix
2026-09-07 09:45:57 +08:00
NiJingzhe 2fbbcc864c Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	LICENSE
#	README.zh-CN.md
#	skills/simplecadapi/SKILL.md
#	src/simplecadapi/auto_tools/skill_pack.py
2026-09-07 09:39:07 +08:00
NiJingzhe 237702c7a8 feat(examples): unnumbered self-contained layout with per-example out/
- rename every numbered example (04/08/10/11/7ep scripts, 12/16/20/21 dirs)
  to clean names; each example now writes artifacts to its own out/ folder
- examples/README rewritten as a category index (part / assembly / reverse
  engineering / FEM); stale run_examples.py reference removed
- flange_plate gains the quickstart FTC part (model.py + external verify.py
  + README); u_link/ap242/flange demo builders read the new asset paths
- ap242_gmsh_volume_mesh gains render_views.py for the demo gallery

fix(artifacts): round-trip-stable geometry fingerprint bounds

AddOptimal bounds wobble by one shape-tolerance quantum between a fresh
shape and the same shape read back from BRep bytes, so definitions sitting
on a quantization cell edge failed every package re-validation. Quantize
bounds at a fixed 1e-4 mm grid, far coarser than the wobble; full suite
green (1503 passed). Stored packages captured before this change must be
recaptured.
2026-09-07 05:46:15 +08:00
NiJingzhe 7a8404f03e feat(skill): harness-specific host bindings for 7 compile targets
- skillproj.toml: targets omp,opencode + zcode,claudecode,codex,dsh,kimicode
- single-part-modeling: 5 host-binding pairs -> 10 (ask tool, TODO tool,
  REPL/script hypothesis loop, plan state machine, isolated image review)
- zcode+claudecode share one block per binding (AskUserQuestion/TodoWrite/
  Agent-Task); codex = plain-text batched questions + update_plan + user as
  fallback reviewer; dsh/kimicode = conservative fallback pending native
  tool mapping
- references README generalizes the omp-only wording
2026-09-07 02:29:24 +08:00
Ni Jingzhe 19bb3bd588 Merge pull request #43 from So3Lab/feat/ql-playbook-absorb-guide
docs(skill): absorb QL selection guide into the verified playbook
2026-09-06 20:52:25 +08:00
NiJingzhe 3f9d52d155 docs(skill): elevate in-time tagging to a playbook ground rule
State the ordering discipline positively: a tag lands in the step right
after the operation that produced its targets, because projections into
later outputs are computed at op time. Rule 2 keeps the ownership
half (resolved-list targets), rule 3 owns the timing half, and both name
the same surface error so the misleading 'not owned' message resolves to
the right defect.
2026-09-06 19:56:29 +08:00
NiJingzhe c35bddd6bd docs(skill): absorb QL selection guide into the verified playbook
The hand-written guide at references/docs/guides/ql-selection-playbook.md
sat inside the generated-docs mirror directory under a title identical to
the verified playbook, so agents entering via SKILL.md saw only the older
unpinned copy. Merge its unique content (selection loop, predicate
vocabulary, shared-boundary failure signatures, bore->rim chamfer and
face->datum recipes, lineage routes, facts printing) into
references/ql-playbook.md and retire the guide.

Recipe snippets were re-executed against dev @ 94e3e3e (11/11) before
merging; two session-path corrections came out of that run and are now
documented in Ground rule 2: apply_tag_rselection targets must be a
resolved list, and tags must land before the next operation consumes the
shape.
2026-09-06 19:49:11 +08:00
NiJingzhe c0bfabb3a3 chore: relicense to Apache-2.0
Replaces the AGPL-3.0 license text with the canonical Apache License 2.0
and updates every reference: pyproject trove classifier, both README
license sections, and the skill frontmatter. The article drafts under
docs/ are untracked and were updated separately.
2026-09-06 18:42:33 +08:00
NiJingzhe fb29140206 merge: integrate dev (PR #36 viewer re-composer) into 2.1.0-open 2026-09-06 03:58:44 +08:00
NiJingzhe 3e319e4987 feat(render): agent-facing guard + readable labels
Two agent-SDK quality rulings from the u_link misrender review:

- zero-hit guard: requesting a highlight tag that matches no geometry now
  raises with the missing tag names and likely causes (typo / wrong build
  stage) instead of silently labelling empty air — the guard immediately
  caught two real misuses (S1 blank labelled with S3-stage tags; flange
  fillet tag lost to a downstream feature rewrite)
- label typography: all font sizes move to final-image-pixel semantics
  scaled by supersample; callout lower bound 12->18, legend 10->12 with
  wider cap, panel title floor raised; margins scale with font size so
  large text does not overflow panels
- fix surfaced while verifying: candidate dataset names referenced by
  callouts did not survive the macOS worker hop (surface_group_N vs
  surface_groups_N) — re-anchoring silently no-op'd on darwin; naming
  aligned and verified end-to-end (occluded rim-fillet anchor re-anchors
  onto the visible lower half of the same ring)
2026-09-06 03:41:15 +08:00
Ni Jingzhe d8c5b4e8fe Merge pull request #36 from So3Lab/feat/viewer-re-composer
feat(viewer): re-studio composer round — BRep renderer component, flat UI, context injection
2026-09-06 03:13:00 +08:00
NiJingzhe 26da5e2170 feat(render)!: one pipeline — annotated 1-4 panel grid, studio by default
Design ruling: exactly one way to produce annotated multi-view renders.

- render_screenshot_rpath always routes through the multi-view grid
  engine: view='auto' = the default four-view set, an explicit preset
  name or (elevation, azimuth) pair = a single full-frame panel, views=
  accepts up to four (elevation, azimuth, label) triples (more are
  rejected). The separate single-view code path is deleted (engine,
  worker 'sdk' mode and its dispatch), along with the studio-vs-grid
  rejection contract
- style defaults to 'studio': the default output is now a black-stage
  four-panel grid with camera-derived three-point lighting per panel,
  tubed edge ink, supersampling and light-on-dark labels/legend;
  style='standard' remains the explicit flat diagnostic look
  (render_shape_views_rpath pins standard to keep its inspect semantics)
- zoom applies to single-panel renders; view_up applies to every panel
- framing parity verified at pixel level: single-panel studio through
  the new path matches the deleted single-view path output (mean diff
  0.59, 1.38% pixels), so render_showcase.py and existing studio assets
  are stable
- tests: >4 views rejected, explicit view routes through the grid
  engine as one panel, default style is studio (differs from explicit
  standard), real-render assertions made behavioral instead of size
  thresholds; 31/31 incl. integration suite; API doc regenerated
2026-09-06 03:06:18 +08:00
NiJingzhe 0e240e3f70 feat(render): unify SDK rendering into one API over one engine
- render_screenshot_rpath now accepts raw TopoDS_Shape entries alongside
  SDK solids: the STEP inspection family renders through the same public
  entry with the same edge ink, supersampling and (for solids) tag
  highlights/callouts — one API at SDK level, one engine below it
- edge ink + supersampling pushed DOWN into the shared multi-view grid
  engine (_render_polydata_views_in_process): the default 4-panel
  diagnostic grid and render_shape_views_rpath (inspect channel) now
  draw tubed BRep edges with LANCZOS supersampling like the single-view
  path; grid review score 9/10 (was thin 1px lines)
- render_shape_views_rpath keeps its signature as the inspect-family
  convenience entry (dpi sizing contract preserved: 3240x2160) and gains
  the 0.04mm edge deflection cap; it is no longer the only way to render
  raw shapes
- ty config: unresolved-import ignored repo-wide — OCP/VTK ship no .pyi
  stubs and examples import sibling modules, so import resolution was
  ~900 diagnostics of environmental noise (verified: zero real defects
  in the class); replaces the duck-typing workaround with natural
  isinstance(TopoDS_Shape) checks
- gates: 13/13 render tests, mixed [Solid, raw] input smoke, grid visual
  review, API docs regenerated, step-inspection domain doc notes the
  unified entry
2026-09-06 02:41:44 +08:00