Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
75cde6f
chore(openspec): archive the beta-tool-faults change; item 7 done, it…
andrewbartels1 Nov 10, 2026
518e3dd
fix(tools): the experimental tools: Pack and Go never closes document…
andrewbartels1 Nov 10, 2026
77d053d
fix(classify): a part is never an assembly because its tree has 'Mate…
andrewbartels1 Nov 11, 2026
fb6d87a
fix(classify): a tree's folders are not features; 'HistoryFolder' mad…
andrewbartels1 Nov 11, 2026
fbf1b41
fix(close_model): close the document SolidWorks made active; a second…
andrewbartels1 Nov 11, 2026
ac53b9b
fix(pack_and_go): fail and name each file SolidWorks didn't write; it…
andrewbartels1 Nov 12, 2026
39c7da9
test(live): Pack and Go evidence shows the files SolidWorks listed, t…
andrewbartels1 Nov 12, 2026
8d558f2
fix(pack_and_go): copy the saved files GetDependencies2 lists; SolidW…
andrewbartels1 Nov 12, 2026
7b8ec94
docs(progress): regenerate after Pack and Go's rewrite
andrewbartels1 Nov 12, 2026
aaa51c4
chore(openspec): live batch 2 passed
andrewbartels1 Nov 12, 2026
6e1b089
docs(compare_drawing_versions): a re-save alone makes the files diffe…
andrewbartels1 Nov 12, 2026
13b1741
feat(support-levels): nine experimental tools pass live and move to s…
andrewbartels1 Nov 12, 2026
1536780
fix(generate_vba_code): open the macro with a Sub main that calls the…
andrewbartels1 Nov 12, 2026
73f4932
feat(support-levels): generate_vba_code passes live and moves to stable
andrewbartels1 Nov 12, 2026
c2ac439
chore(deps): drop comtypes; Pack and Go no longer uses it
andrewbartels1 Nov 13, 2026
fce406e
chore(openspec): archive experimental-tools-to-stable; item 8 done in…
andrewbartels1 Nov 13, 2026
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
53 changes: 52 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.0] - 2026-11-09
## [2.0.0] - 2026-11-12

### Added

Expand Down Expand Up @@ -136,6 +136,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
reply carries a `warning` naming everything else it deleted (a
sketch takes the features built from it).

- **The experimental tools' faults** (item 8 in the work queue):
- `pack_and_go_assembly` no longer closes every open document without
saving when the assembly can't be opened (it packs the open copy, or
fails and closes nothing), and no longer deletes everything already
in `target_dir`: with `overwrite` it replaces only the files it
writes, and `copied_files` lists only those. A preview that can't be
written gives a `warning`. On SolidWorks 2026, SolidWorks' own Pack and
Go listed and copied only the assembly, not its parts, and reported
success; the tool now copies the saved files `GetDependencies2` lists,
under their own names, and its `warning` names open files whose unsaved
changes aren't in the copy. The reply's `save_statuses` and
`all_files_saved` are replaced by `unsaved_changes`.
- `get_dimension` reports an angle in degrees (`units: "deg"`) and a
count with no unit; it used to multiply every value by 1000 and call
it mm.
- `open_model`, `load_part`, `load_assembly` and `list_configurations`
read the configuration's `Name`; they called a `GetName` method
SolidWorks doesn't have, so they always reported an assumed
"Default". A missing file is `not_found` before SolidWorks is asked.
- `generate_vba_code` writes a valid Sub name (returned as `sub_name`),
checks the active document's type, and prints with `Debug.Print`
instead of a `MsgBox` that blocked SolidWorks when the macro ran.
- `classify_feature_tree` fails when it can't read the model, instead
of classifying an empty one. On a part it no longer answers
"assembly" ("Material" contains "mate") or "sheet metal" (the tree's
folders contain "fold"); a known document type decides, and folders
aren't counted as features.
- `close_model` closes the document SolidWorks made active after the
last close; a second close in a row used to fail with "No active
model to close" while documents were still open.

- **`create_extrusion`'s reply says what was built** (#209): the end
condition SolidWorks used (`MidPlane` for `both_directions`), and the
thin wall. It used to echo `direction: blind`, so an agent concluded
Expand Down Expand Up @@ -196,6 +227,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
inertia from `calculate_mass_properties` are a million times larger
than before, because they are now in the kg·mm² their label always said.

- **BREAKING: more inputs that did nothing are refused** (item 8):
`compare_templates`' `comparison_type`, `comparison_depth`,
`include_properties`, `include_dimensions`, `include_materials` and
`generate_report` (it compares the two files only), and
`generate_vba_code`'s `parameters` and `code_style` (its reply loses
`style`). `pack_and_go_assembly` requires `source_path` and
`target_dir`, and `export_preview` is off by default, as its
description always said. `compare_drawing_versions` takes a typed
input. `get_dimension`'s angles and counts change value (see Fixed),
and `load_part` / `load_assembly` report `configuration: null` when
SolidWorks doesn't say.

- **`generate_vba_code`'s macro opens with a `Sub main()`** that calls the
named Sub (`sub_name`). SolidWorks runs a `.swb` macro only through
`main`, so `execute_macro` runs it with no `proc_name`.
- **`comtypes` is no longer a dependency.** Pack and Go was its only user,
and it now copies the files `GetDependencies2` lists.
- **No tool is experimental any more**: the ten from item 8 passed live
tests on SolidWorks 2026 and are stable.

- **Building the API index needs SolidWorks installed, not running**, and
never starts or calls SolidWorks. The lookups build the index themselves,
and an index written by an older version is rebuilt automatically. Without
Expand Down
56 changes: 27 additions & 29 deletions docs/assets/progress/progress.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"tools": {
"total": 156,
"by_level": {
"stable": 106,
"stable": 116,
"beta": 0,
"experimental": 10,
"experimental": 0,
"planned": 40
},
"list": [
Expand Down Expand Up @@ -305,8 +305,8 @@
{
"name": "classify_feature_tree",
"family": "file_management",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"level": "stable",
"reason": "",
"summary": "Classify the active model's kind (part, sheet metal, assembly, drawing and so on) from its feature tree, and suggest how to work on it."
},
{
Expand All @@ -319,15 +319,15 @@
{
"name": "compare_drawing_versions",
"family": "drawing_analysis",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"level": "stable",
"reason": "",
"summary": "Compare two drawing files on disk: whether they are byte-identical, and how their sizes differ."
},
{
"name": "compare_templates",
"family": "template_management",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"level": "stable",
"reason": "",
"summary": "Compare two template files on disk: whether they are byte-identical, and how their sizes differ."
},
{
Expand Down Expand Up @@ -599,9 +599,9 @@
{
"name": "generate_vba_code",
"family": "automation",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"summary": "Write a VBA macro skeleton for an operation you describe: the SolidWorks connection, the active document and optional error handling, with the operation itself left as a TODO."
"level": "stable",
"reason": "",
"summary": "Write a VBA macro skeleton for an operation you describe: the SolidWorks connection, a check of the active document's type and optional error handling, with the operation itself left as a TODO."
},
{
"name": "generate_vba_drawing_dimensions",
Expand Down Expand Up @@ -662,15 +662,15 @@
{
"name": "get_dimension",
"family": "modeling",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"level": "stable",
"reason": "",
"summary": "Read one dimension of the active model by its full name, e.g. \"D1@Sketch1\"."
},
{
"name": "get_file_properties",
"family": "file_management",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"level": "stable",
"reason": "",
"summary": "Report the active document's file details: name, path, size, dates, type, configuration and unsaved changes."
},
{
Expand Down Expand Up @@ -746,8 +746,8 @@
{
"name": "list_configurations",
"family": "file_management",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"level": "stable",
"reason": "",
"summary": "List the names of the active model's configurations."
},
{
Expand Down Expand Up @@ -788,15 +788,15 @@
{
"name": "load_assembly",
"family": "file_management",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"level": "stable",
"reason": "",
"summary": "Open an assembly (.sldasm) from disk and make it the active document."
},
{
"name": "load_part",
"family": "file_management",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"level": "stable",
"reason": "",
"summary": "Open a part (.sldprt) from disk and make it the active document."
},
{
Expand Down Expand Up @@ -865,9 +865,9 @@
{
"name": "pack_and_go_assembly",
"family": "file_management",
"level": "experimental",
"reason": "not yet checked by a live test on real SolidWorks.",
"summary": "Copy an assembly and every part it references into one folder, with the references updated (SolidWorks Pack and Go)."
"level": "stable",
"reason": "",
"summary": "Copy an assembly and every file it uses into one folder that opens on its own."
},
{
"name": "pattern_circular",
Expand Down Expand Up @@ -1105,19 +1105,18 @@
"com": {
"type_library": "83A33D31-27C5-11CE-BFD4-00400513BB57x0x34x0",
"core": {
"covered": 215,
"covered": 213,
"total": 2838
},
"api": {
"covered": 238,
"covered": 233,
"total": 5985
},
"interfaces": [
{
"name": "ISldWorks",
"covered": [
"ActivateDoc3",
"CloseAllDocuments",
"CloseDoc",
"Frame",
"GetConfigurationNames",
Expand Down Expand Up @@ -1173,6 +1172,7 @@
"GetActiveConfiguration",
"GetActiveSketch2",
"GetConfigurationNames",
"GetDependencies2",
"GetFeatureCount",
"GetLineCount",
"GetMassProperties",
Expand Down Expand Up @@ -1222,7 +1222,6 @@
"DeleteSelection2",
"GetAnnotations",
"GetMassProperties",
"GetPackAndGo",
"GetUserPreferenceInteger",
"GetUserPreferenceToggle",
"GetWhatsWrong",
Expand All @@ -1231,7 +1230,6 @@
"SaveAs",
"SaveAs2",
"SaveAs3",
"SavePackAndGo",
"SelectByID2",
"SetUserPreferenceInteger",
"SetUserPreferenceToggle"
Expand Down
26 changes: 13 additions & 13 deletions docs/assets/progress/progress.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading