major speedup, refactor, and new features #15
Merged
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.
Thanks so much for this tool! It's a really great idea and CNC routed projects really aren't practical without it. I made some enhancements so that it would work for more complex models with many dogbones (my model has 208).
I know this is quite a large PR but I was having a hard time developing without first doing some refactoring first to cut down on repetition. Here's a list of changes...
Significantly optimized as follows:
The net result is that, for my use case, I can generate 208 fillets in 28 objects in 73 sec. Since they are all lying in the same plane, it only generates three history operations (plane, sketch, extrusion). Previously this would take forever, freeze the UI, and generate 600+ operations in the history.
Note: The bulk of the time is because every call to the Fusion API (adding geometry, extrusions, etc.) is extremely slow.
Additionally, other enhancements were added: