Commit Graph

57 Commits

Author SHA1 Message Date
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 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 8332e80215 chore(addon): complete d73555f's missing uv.lock sync (2.2.0) 2026-09-13 03:28:18 +08:00
yuliuse 56bcc62e49 feat(whucad): WHUCAD vector → FTC translator toolset under tools/research
Decode the WHUCAD h5 vector sequences (256-level quantized CATIA/DeepCAD
command matrices) and translate them into SimpleCADAPI FTC sources,
mirroring the histjson tool suite:

- whucad_vec.py       self-contained decoder (numpy only; differential-
                      checked against the original cadlib, 1419/1419 exact)
- whucad_select.py    Topo/Select history references -> ql predicates
- whucad_to_ftc.py    translator (keyword-form call emission, histjson
                      convention; unsupported forms annotated, never
                      approximated)
- whucad_profile.py   feature/curve/select-form distribution + coverage
- whucad_validate.py  sampled build + BRep-truth volume reconciliation
                      (scale-corrected: vectors carry no absolute scale)
- whucad_batch.py     whole-dataset batch entry point
- check_port.py       differential check vs the original cadlib decode
- test_whucad_translation_output.py  output-contract tests (embedded
                      vectors; no dataset download needed)

Full-dataset run: 146,331 models -> 146,331 .py, 424,947 features decoded,
380,074 feature blocks emitted (89.4%). pyproject gains a 'whucad' extra
(h5py).
2026-09-10 22:07:28 +08:00
NiJingzhe be93122527 chore(release): bump version to 2.1.3b1 2026-09-10 14:50:05 +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 9f5c6f1524 chore(verifier): sync CI workflows and uv.lock with the dropped collision extra
CI and release workflows installed the collision extra (python-fcl);
both now run 'uv sync --locked --group dev'. uv.lock regenerated:
python-fcl and its cython build dependency removed.
2026-09-04 02:29:40 +08:00
NiJingzhe 600b03a157 feat(dxf): add DXF drafting engine with PDF sheet output
Add simplecadapi.dxf_engine: a declarative 2D drawing pipeline (SheetDecl/
ViewDecl/DimDecl/DatumDecl/CenterDecl/LeaderDecl) that plans views, runs
hidden-line removal, and renders annotated sheets to DXF/PDF via ezdxf +
pymupdf. Include the u_link_motor_mount drawing scripts as the worked
example.
2026-08-31 12:48:12 +08:00
NiJingzhe 29ecf1a420 chore: configure ty language server 2026-08-20 14:55:27 +08:00
NiJingzhe ba1e06a489 feat: expand product exporters and FEM workflow 2026-08-18 01:36:44 +08:00
NiJingzhe 9d6703a786 feat: enforce canonical product capture workflow 2026-08-15 16:17:11 +08:00
NiJingzhe 89564ee1f5 Add durable part and assembly caching 2026-08-11 17:06:00 +08:00
NiJingzhe d7a6ba4dc3 feat: add replayable surface modeling APIs 2026-08-05 21:32:07 +08:00
NiJingzhe 675afb9b85 feat: consolidate BREP inspection workflow 2026-08-04 23:45:23 +08:00
NiJingzhe 9758542fbe Prepare 2.0.4b1 release 2026-08-02 15:56:49 +08:00
NiJingzhe 9e8450f192 feat: add py-slvs sketch solver backend 2026-07-30 01:00:01 +08:00
NiJingzhe b54a08d981 Release version 2.0.2 2026-07-28 12:34:01 +08:00
NiJingzhe 7914a3fede Release version 2.0.1 2026-07-28 12:29:51 +08:00
NiJingzhe 4214c66cd5 feat: add STEP BREP inverse engineering tools 2026-07-27 02:06:38 +08:00
NiJingzhe c9760f2866 Add replayable modeling and Scene packages 2026-07-23 03:15:43 +08:00
NiJingzhe 54920c76dc Add mesh extraction and collision verification 2026-07-10 23:02:21 +08:00
NiJingzhe 4892e9f929 Set release version to 2.0.1b1 2026-06-29 15:20:32 +08:00
NiJingzhe 4dc8e2a21d Add standard gear library and release 2.0.1 2026-06-29 14:32:56 +08:00
NiJingzhe 2b5e5455a7 Prepare 2.0.0b4 release 2026-06-12 01:48:21 +08:00
NiJingzhe f185406516 Support indexed geo select nodes 2026-06-02 23:29:27 +08:00
NiJingzhe 3832f3c93e Prepare 2.0.0b2 beta release 2026-06-01 17:44:15 +08:00
NiJingzhe 65beee4c81 Prepare 2.0.0b1 beta release 2026-05-09 23:17:08 +08:00
NiJingzhe a05f1e90e6 Refactor runtime to OCP-native kernel 2026-05-03 03:03:29 +08:00
NiJingzhe 4500238e0e chore: bump version to 2.0.9 2026-04-06 00:01:04 +08:00
NiJingzhe ab36be0484 fix: align union defaults and bump release version
Route union through CadQuery-style fuse defaults, emit a clear warning when solids remain separated beyond tolerance, and document the updated behavior. Bump the package and skill runtime references to 2.0.8 for the next PyPI release.
2026-03-23 20:29:36 +08:00
NiJingzhe 7b77ad52a5 docs: clarify exporting boolean result lists
Document that STEP and STL exports accept mixed shape inputs and direct List[Solid] outputs from boolean operations, so downstream agents do not collapse results to a single solid unnecessarily. Refresh the generated docs and skill references and bump the runtime/version references to 2.0.7.
2026-03-22 20:08:27 +08:00
NiJingzhe a821070019 docs: clarify boolean list results and refresh references
Translate the remaining generated/core references to English, remove the stale src/docs/api snapshot, and make the boolean operation docs and skill guidance explicit about mixed Solid/list inputs and required length checks before unwrapping a single solid. Release the documentation and skill update as 2.0.6.
2026-03-22 16:53:19 +08:00
NiJingzhe 0e23835385 docs: translate docstrings and refresh skill guidance
Translate the Python docstrings and regenerated API references to English so downstream tooling and generated docs stay consistent. Refresh the skill instructions to require repo-root doc reads and incremental QL-grounded validation, then release the update as 2.0.5.
2026-03-21 00:07:01 +08:00
NiJingzhe 92847bc2ef fix: align make-export with packaged api
Teach make-export to discover operations, evolve, constraints, field, and ql exports directly from the installed package so API listing and __init__ generation stay accurate in venv installs. Release the fix as 2.0.4 with refreshed skill runtime references.
2026-03-19 05:47:25 +08:00
NiJingzhe 02a9e1a024 fix: support auto tools in installed venvs
Resolve source, docs, README, and license paths from packaged installs so auto-docs-gen and skill-pack work outside a source checkout. Release the fix as 2.0.3 with refreshed skill references.
2026-03-19 04:55:46 +08:00
NiJingzhe 28f690d69f 移除场函数计时输出并清理锁文件 2026-03-15 23:26:03 +08:00
NiJingzhe 254fb9758d 新增 skill-pack 工具并完善单技能 REPL/Jupyter 导入流程
统一 skills 打包、路径激活与会话引导脚本,确保 LLM 在持久化 REPL/Notebook 中可稳定导入 simplecadapi,同时修复 evolution 导入插入逻辑。
2026-03-03 01:54:48 +08:00
倪旌哲 ef5c0cf297 优化自动文档生成工具并移除RAGFlow同步依赖,简化自动化工具链 2026-03-02 21:41:42 +08:00
倪旌哲 0e09da6c29 删除API使用指南文档,更新版本号至1.1.0,并添加自动化工具的详细说明和使用方法。 2025-08-04 19:07:59 +08:00
倪旌哲 7a85b6ead0 修正doc gen工具路径 2025-07-28 15:03:50 +08:00
倪旌哲 597be8d712 优化工具 2025-07-25 11:12:59 +08:00
倪旌哲 bd2fc0a092 更新版本号至1.0.6,并添加wheel构建目标的包和包含路径 2025-07-24 02:24:46 +08:00
倪旌哲 b80a323445 feat: Add automation scripts for updating API exports and syncing documentation
- Introduced `make_export.py` to automate the update of `__init__.py` with new API functions from `operations.py` and `evolve.py`.
- Implemented function extraction, categorization, and generation of import statements and aliases.
- Added `ragflow_sync.py` for synchronizing SimpleCADAPI documentation with RAGFlow database, including chunking markdown files and managing dataset.
- Updated package version to 1.0.5 in `uv.lock`.
2025-07-24 02:11:44 +08:00
倪旌哲 3a03543cb1 feat: Add hex socket bolt generation script and STL export
- Introduced a new Python script `test.py` that generates a 3D model of a hex socket bolt with customizable parameters.
- Implemented detailed logging for each step of the bolt creation process, including error handling and suggestions for troubleshooting.
- Added a new STL file `hex_socket_bolt.stl` to the sandbox directory for the generated bolt model.
- Removed obsolete documentation generation script `auto_docs_gen.py` and related cache files.
- Deleted the RAGFlow connection test script as part of cleanup.
- Created an empty `evolve.py` file in the `simplecadapi` directory for future development.
- Updated `simplecadapi` version from 1.0.2 to 1.0.4 in the `uv.lock` file.
2025-07-24 00:42:34 +08:00
倪旌哲 cc5281064f 优化了tag,去掉了不需要的类型,优化了部分函数的关键字参数名称。同步了文档 2025-07-23 01:52:04 +08:00
倪旌哲 7c430f442b bump version to 1.0.1 2025-07-17 00:02:24 +08:00
倪旌哲 013d2573fb 更新开发依赖项,添加 cq-editor 包 2025-07-07 19:43:10 +08:00