Commit Graph

21510 Commits

Author SHA1 Message Date
Lukas Matena
548205ffd8 Fixes for downloading bundles and resources:
- bed_texture/model may be empty. In that case, do not check for the existence of the file.

- In case a vendor is new (=not in resources), it would have crashed when installing any printer from such vendor. The problem was that `install_bundles_rsrc` assumed that the INI is in resources.

- several const keywords added

- small refactoring

- removed commented-out code in AppConfig::profile_archive_url(): the url shall not be customizable
2023-01-18 11:10:24 +01:00
David Kocik
e4313399ea after rebase changes 2023-01-18 11:10:24 +01:00
David Kocik
41d5c16b76 fix of crash on empty config -> add template filament
fixed checking if template profile needs to be installed
fixed checking path before loading profile header from cache / vendor
2023-01-18 11:10:24 +01:00
David Kocik
7873c28584 after rebase changes 2023-01-18 11:10:24 +01:00
David Kocik
a15ad698d7 download profile bundles in zip archive 2023-01-18 11:10:24 +01:00
David Kocik
72540232c8 Template filaments bundle with filament profiles available for all printers
Profiles are ment to be adjusted and saved as user profile.
Selectable in wizard under (Templates).
Installed automatically even when profile with same alias is selected.
Special category in combo boxes.
no_templates option for disabling this.
2023-01-18 11:10:24 +01:00
David Kocik
d9c7c675c4 download missing resources 2023-01-18 11:10:24 +01:00
David Kocik
01d5b424c3 Merge branch 'dk_dwnldr_merge' 2023-01-18 11:10:10 +01:00
David Kocik
f656b2e62e downloader: empty file fix 2023-01-18 11:09:42 +01:00
tamasmeszaros
b87561a7ff Merge branch 'tm_branching_tree_fixes_SPE-1224' 2023-01-18 10:35:13 +01:00
Vojtech Bubnik
8ab0c2cb3d Suppressed tree_supports_show_error() in production code.
Changed error strings to string_view literals.
2023-01-18 10:08:52 +01:00
tamasmeszaros
d6fe5767e0 Small supports now go through the pad to always reach the bed
They will not hang in the air if they end up in the gap between the "around object pad" and the object
2023-01-18 09:26:28 +01:00
tamasmeszaros
4620dd5a3d WIP on small pillar fixes 2023-01-18 09:26:28 +01:00
tamasmeszaros
8207433b81 Fix up whitespace for comments in DefaultSupportTree
This commit only deals with white space
2023-01-18 09:26:28 +01:00
tamasmeszaros
47a824d131 Remove unused member in DefaultSupportTree
Also fix for loop that is copying int vector in each iteration
2023-01-18 09:26:28 +01:00
tamasmeszaros
f72984f18e Fix broken caching of pillar routes 2023-01-18 09:26:28 +01:00
tamasmeszaros
add0f89728 Fix floating point divisions by zero when ground route has no bridge 2023-01-18 09:26:28 +01:00
tamasmeszaros
aec0c4a0dc Fix sidebar combobox behavior for support routing
"support_buildplate_only" was toggled only for default supports
2023-01-18 09:26:28 +01:00
tamasmeszaros
32e323c64c Fix supports below ground 2023-01-18 09:26:28 +01:00
tamasmeszaros
9a33537b1d Slight performance improvement
With parallel avoidance search for leaf nodes
2023-01-18 09:26:28 +01:00
tamasmeszaros
816371f37c Use avoidance suggestion when ground point is too far 2023-01-18 09:26:28 +01:00
tamasmeszaros
128db4b938 Still WIP on branching tree avoidance 2023-01-18 09:26:28 +01:00
tamasmeszaros
234167534b wip on branching tree avoidance
again
2023-01-18 09:26:28 +01:00
tamasmeszaros
6238595ac6 adding separate config values for support tree algorithms
Realize config matrix on supports tab
2023-01-18 09:26:28 +01:00
tamasmeszaros
878f3b30dd wip adding separate config values for support tree algorithms 2023-01-18 09:26:28 +01:00
tamasmeszaros
c79a46e6cb Remove unnecessary stuff 2023-01-18 09:26:28 +01:00
tamasmeszaros
e16c886a1a Remove dead code 2023-01-18 09:26:28 +01:00
tamasmeszaros
d4a46d373a Solve mini pillar widening in DefaultWideningStrategy 2023-01-18 09:26:28 +01:00
tamasmeszaros
58acc893b3 Solve mini pillar widening by enforcing min radius on bed points
Use subtree rescue after all
2023-01-18 09:26:28 +01:00
tamasmeszaros
ebb8f9bc80 Disable parallel beam hits in branching tree 2023-01-18 09:26:28 +01:00
tamasmeszaros
7eb5ca7396 Log support tree creation time 2023-01-18 09:26:28 +01:00
tamasmeszaros
44bc8d8f5f Small refactor and comments 2023-01-18 09:26:28 +01:00
tamasmeszaros
dfea5e5633 prepare new test data 2023-01-18 09:26:28 +01:00
tamasmeszaros
60b59d08b9 Disable subtree rescure when discarding subtrees
It generates many abandoned single pillars
2023-01-18 09:26:28 +01:00
tamasmeszaros
3d81800d15 Improve code 2023-01-18 09:26:28 +01:00
tamasmeszaros
5e34bbcbe5 try z level optimization with post processing 2023-01-18 09:26:28 +01:00
tamasmeszaros
02b06f0107 try 2 phase optimization with auglag and inequalities 2023-01-18 09:26:28 +01:00
tamasmeszaros
dfa6d03bed Add AUGLAG support for nlopt wrapper 2023-01-18 09:26:28 +01:00
tamasmeszaros
0f34dfbeac Trying 2 phase optimization for pillar route search 2023-01-18 09:26:28 +01:00
tamasmeszaros
056e740027 Better handling of nonlinear constraints in nlopt wrapper 2023-01-18 09:26:28 +01:00
tamasmeszaros
cdac790163 Try to fix pillar route search 2023-01-18 09:26:28 +01:00
tamasmeszaros
3d6bb38dd4 Fix failing tests 2023-01-18 09:26:28 +01:00
tamasmeszaros
87336349b1 Widening improvements 2 2023-01-18 09:26:28 +01:00
tamasmeszaros
249d2550d3 Remove pillar grouping as it does not work nicely 2023-01-18 09:26:28 +01:00
tamasmeszaros
9cdd6738ae Widening improvements in SupportTreeUtils
Fix failing tests after introducing wideningfn into ground route search
2023-01-18 09:26:28 +01:00
tamasmeszaros
2cd6a20254 Move merge point search out of pointcloud to support tree utils 2023-01-18 09:26:28 +01:00
tamasmeszaros
2565d45543 Extend Optimizer interface to accept constraint functions 2023-01-18 09:26:28 +01:00
tamasmeszaros
003647e898 Prepare UI for organic supports option 2023-01-18 09:26:28 +01:00
tamasmeszaros
0bbd50eaa0 Bugfixes and new tests for pillar search 2023-01-18 09:26:28 +01:00
tamasmeszaros
a20659fc2d New ground route search implemented
Working gap avoidance for zero elevation
2023-01-18 09:26:28 +01:00