Commit Graph

21517 Commits

Author SHA1 Message Date
tamasmeszaros
ef8b9f51cf Merge branch 'tm_branching_tree_fixes_SPE-1224' 2023-01-18 13:55:48 +01:00
tamasmeszaros
c3330c119b Prevent rare support strut and pinhead collisions
By sending a ray through the center of each strut and increasing the ray count on the surface of the struts
2023-01-18 13:55:15 +01:00
Vojtech Bubnik
b70571cd79 Fixed Layer::sort_perimeters_into_islands() for fuzzy skin
Follow-up to 52ea2edf84
1) There was a bug in accessing the "perimeter is external" property,
   ExtrusionCollection returns "mixed", the embedded ExtrusionPath
   has to be queried directly.
2) The search bounding box has to be extended by the maximum offset
   introduced by fuzzy skin algorithm. For Arachne the fuzzy skin
   algorithm observes fuzzy_skin_point_dist.
2023-01-18 12:24:36 +01:00
David Kocik
644deef392 Merge branch 'dk_templates_merge' 2023-01-18 11:10:55 +01:00
David Kocik
af0e312542 Profile updates and installation:
- Refactoring and functionality change of PresetUpdater::sync_config. Zip archive now contains only index files. From index file it is decided wheter .ini file should be downloaded and where (cache for update of installed, cache/vendor for unistalled). New vendors are downloaded from set address. Fron .ini file it is decided wheter thumbnail should be downloaded. All resources for already installed vendors are checked and downloaded.  
- TemplateFilaments renamed to Templates (Warning: This might create duplicities if both files are present!).
- Various checks added to prevent crashes when dealing with broken presets, wrong files etc.
- Delayed error message when loading present finds duplicities - wait with dialog until Splash screen is gone.
- Minor changes in Config wizard when searching & loading printer thumbnails.
2023-01-18 11:10:24 +01:00
David Kocik
fc65d73c2d Wizard and PresetUpdater changes
updater:
- Sync downloads also missing thumbnails.
- Copying of downloaded resources (perform_updates) also downloads missing ones (new vendor or installing vendor with added printers ).
- This copy&download shows progress dialog now.
- Fix of crash when installing new vendor (not in rsrc dir)
Wizard:
- Cancel updater sync when starting wizard to avoid multiple downloads.
- Load thumbnails from cache dir (downloaded by updater sync).
Preset:
- Profiles now has settable name of thumbnail. If not specified, name + _thubnail.png is used (as it was before).
2023-01-18 11:10:24 +01:00
Lukas Matena
1589d89ca2 Fixes for template filament profiles:
- do not show "Template Filaments" in the list of vendors in wizard

- slight refactoring

- typos
2023-01-18 11:10:24 +01:00
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