Added Tool Library#3093
Merged
Merged
Conversation
commit d77a42306d059f2751d57f7fccec90a8d3d1d67e
Author: Damian <132374191+dnikodem84@users.noreply.github.com>
Date: Fri Apr 24 02:13:34 2026 -0700
fixed issues
commit 5eea270
Author: Damian <132374191+dnikodem84@users.noreply.github.com>
Date: Fri Apr 24 01:50:28 2026 -0700
Initial Tool Library Implementation
- New "Library" button on the designer overlay, next to Tool and Stock.
Opens a manager dialog with a list of tools on the left and an editor
on the right (Add / Duplicate / Delete / Revert).
- 41 pre-seeded tools out of the box: Upcut, Downcut, Ball, Compression,
Straight in 1/16", 1/8", 1/4", 1/2", 1" sizes; V-bits in 30, 60, 90
degree variants across the same sizes; plus a "Custom" entry. Built-ins
can be edited and reverted, but not deleted.
- Per-tool diameter units stick with the tool - 1/4" endmills always
display as 0.25 in, 3 mm endmills always as 3 mm. Toggling the unit in
the editor converts the value.
- Feed / plunge / depth stay in machine units and now show unit labels
(mm/min, mm, etc.) next to each field.
- "Pick from Library..." button on the existing Tool Settings dialog.
Picking a tool populates the fields and shows its name. Any field
edited away from the library value turns amber until it matches again.
- Library persists across projects at ~/.ugs/tool-library.json (shared
between all your designs).
- Project files remember which tool they were built with. On opening a
project whose tool differs from your library, UGS prompts: use the
project's tool for this session, update the library, or keep your
library version. If the project's tool isn't in your library at all,
it offers to import it.
- Existing projects load unchanged - no prompt, no overwriting of your
current tool settings.
Contributor
Author
|
This is a first step towards some significant depthmap improvements ( roughing and finishing pass, proper V-Carving with Minkowski dilation + iso-scallop ). Those depthmap improvements will add an optional tool to each cuttable, and add support for exporting / running one tool at a time. At that point it should be pretty trivial to add support for "T" commands if the machine supports them. |
Collaborator
Collaborator
|
Sorry for the late response, it has been a busy week for me. I gave this some testing again and it will still show the fields to have changed when I select a predefined tool and open up the dialog again. Screencast.from.2026-05-09.08-24-51.mp4 |
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.


turns it amber until it matches again. The picker also has a "Manage Library..." button for adding/editing tools.
the library, or keep your library version. If the project's tool isn't in your library at all, it offers to import it.