Repository navigation
Beta tools fixed, checked on SolidWorks and promoted to stable (2.0.0) - #219
Merged
Merged
Conversation
…ork with its research questions; reorder the queue; plan the beta tool fixes
…e; inertia in kg·mm², cuts pattern and mirror, delete names its dependents
…2.0.0 Live runs on SolidWorks 2026 settled the plan's open questions and found three more faults, all fixed here: - create_sketch: SolidWorks won't rename an open sketch, so exit_sketch gives the name create_sketch was asked for and replies with it - delete_feature: SolidWorks refuses to delete a sketch a feature uses; the features built from it are deleted (DeleteSelection2 with children and absorbed), taking the sketch with them. The description asks the agent to check with the user first, and the reply warns, naming everything else that went - the GetMassProperties fallback swapped Ixz and Iyz Also: the 23 tools move to stable; the skill's faults table keeps only add_mate and gains an invalid_input row; the agent guides stop sending direction "cut" and a sketch line as axis_entity; name on create_part, create_assembly and create_drawing is described as a label; evidence printing survives a cp1252 console; two new small faults are queued (off-sheet views, the STL first-save type mismatch). BREAKING: inputs that did nothing are refused, and moments of inertia are in kg·mm². Version 2.0.0.
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 7 in the work queue: every beta tool's recorded fault is fixed, each fix is checked on SolidWorks 2026, and the 23 tools move from beta to stable. Version 2.0.0, because two changes break callers.
Breaking changes
invalid_input, and the message says what to use instead. The check sits in the shared tool boundary (input_compat.REMOVED_INPUTS). The CHANGELOG lists every removed field with its replacement.calculate_mass_propertieslabelled them kg·mm² but returned kg·m², so the numbers are now a million times larger.What each tool now does
create_extrusionandcreate_revolveuse the sketchsketch_namenames.create_revolvealso turns about the reference axisaxis_entitynames.create_sketchnames the sketch. SolidWorks won't rename an open sketch, soexit_sketchgives the name and replies with it.create_partassignsmaterial, andget_materialreports the density.pattern_circularandmirror_featureaccept a cut, and reportvolume_change.delete_featurenames every feature it removed, and can delete a sketch a feature uses, taking that feature with it. Its description tells the agent to check with the user first, and the reply carries awarningnaming everything else that went.check_interferencehonoursinclude_hidden.save_askeeps an existing file unlessoverwriteis on.execute_macrorunsrepeat_counttimes.create_technical_drawingtakesprojection, andadd_drawing_viewrefuses operations other than add.sketch_tutorial_simple_holepoints atcreate_cut_extrude.Found by the live runs
exit_sketchcloses the sketch.EditDelete, andDeleteSelection2on its own, both refuse to delete a sketch a cut uses. The fallback deletes the cut with the "children" and "absorbed" options, taking the sketch with it. The option values were read fromswconst.tlb.GetMassPropertiesfallback for older versions swapped Ixz and Iyz. The 2026 path was already right.direction: "cut"(now refused) or a sketch line asaxis_entity(which fails). Both are fixed.Checks
tests/live/test_live_sw_beta_tools.pypass on SolidWorks 2026 SP4, run one at a time with the maintainer watching.mkdocs build --strictpasses.export_stllogs a type mismatch before its fallback writes the file.OpenSpec change:
openspec/changes/beta-tool-faults. I'll archive it after the merge.