Repository navigation
Experimental tools checked on SolidWorks and promoted to stable (2.0.0) - #220
Merged
Merged
Conversation
…s or empties its folder, dimensions in their own units, the real configuration, a VBA skeleton that runs; unused inputs refused Item 8 in the work queue (openspec change experimental-tools-to-stable). Live tests written in tests/live/test_live_sw_experimental_tools.py; not run yet. open_model and list_configurations called IConfiguration.GetName, which doesn't exist, so they always reported an assumed Default; they read Name.
…rial'; a known document type decides (live batch 1)
…e a plain part sheet metal (live batch 1)
… close in a row failed (live batch 2)
… reported success with only the assembly copied (live batch 2)
…heir statuses and the folder
…orks 2026's Pack and Go copied only the assembly (live batch 2)
…table; a diagnostic for the generated macro's .swb run generate_vba_code stays experimental: RunMacro2 rejected its macro with no reason. The skill's limits page gains rows for Pack and Go copying saved files and for drawing re-saves never being byte-identical.
… named Sub SolidWorks runs a .swb macro only through main: the live diagnostic ran every construct of the generated macro, but a Sub with any other name failed with no reason. execute_macro now runs the macro with its default procedure.
Its macro ran on a part, and on a drawing it stopped at the type check without changing it. No tool is experimental now, so the unused experimental-support constant goes.
uv.lock is refreshed: it still listed the project as 1.4.0 and missed dependencies pyproject.toml already declared. The 2.0.0 CHANGELOG gains the macro's Sub main, the dependency and the end of the experimental level, and takes today's release date.
… the queue Its delta specs join the main specs (pack-and-go, vba-skeleton, dimension-reading, document-inspection, file-comparison), each with a written Purpose.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item 8 in the work queue: each of the ten experimental tools gets a live test on SolidWorks 2026, its faults are fixed, and all ten move to stable. No tool is experimental now. This is part of 2.0.0, and
v2.0.0is tagged on this branch's last commit.Breaking changes
compare_templates' six comparison switches;generate_vba_code'sparametersandcode_style.pack_and_go_assembly's inputs and reply change.source_pathandtarget_dirare required, andexport_previewis off by default.save_statusesandall_files_saved;unsaved_changesreplaces them.get_dimensionreturns its unit:mmfor a length,degfor an angle, andnullfor a count.Found by the live runs
IPackAndGo.GetDocumentNameslists the assembly alone, so the copy had no parts, yet the tool reported success. It now copies each fileGetDependencies2lists into the target folder. The copy opens with its own parts, because SolidWorks looks in the assembly's folder before the stored path.warningnames open parts whose unsaved changes aren't in the copy.comtypes, used only by the old path, is no longer a dependency.classify_feature_treemisnamed real parts. It called a plain extruded part an assembly, because "Material " contains "mate". After that fix it called the part sheet metal, because "fold" is inside "folder". Now the document type decides, and folder rows are skipped.close_modelfailed on a second close in a row. SolidWorks activates another document after a close, so the tool now readsActiveDocfirst.list_configurations,load_partandload_assemblyalways said "Default". They calledIConfiguration.GetName(), which doesn't exist; they now readName.open_modelhad the same fault and is fixed too..swbmacro only through a Sub namedmain. A diagnostic test ran each construct of the macro separately to find this. The macro now opens withSub main(), which calls the named Sub.compare_drawing_versions' description now says so.Checks
tests/live/test_live_sw_experimental_tools.pypass on SolidWorks 2026, in three batches run with the maintainer watching.mkdocs build --strictpasses, and all 46 OpenSpec specs validate.OpenSpec change: archived in this PR as
openspec/changes/archive/2026-11-12-experimental-tools-to-stable, with the queue updated.