Commit Graph

21606 Commits

Author SHA1 Message Date
David Kocik
6d37c505f7 Merge branch 'dk_updater_fix' 2023-01-19 13:45:04 +01:00
David Kocik
70879d2d8c Fixes of AppUdpater
fix of bug (1) - order of dialogs
fix of bug (2) - show new version dialog when triggered by user
fix of bug (3) - refresh value in preferences combobox when opening preferences 
fix of bug (4) - Use fwrite instead of stream to speedup saving. 
Do not show checkbox when triggered by user.
2023-01-19 13:04:16 +01:00
YuSanka
d681b99c10 Disable "Search"/"Arrange options" ImGui dialog, when some of gizmos is active 2023-01-19 10:11:08 +01:00
enricoturri1966
eee4453993 Revert of 971f2a08e2 - Fix mipmap of compressed textures on AMD Radeon graphics cards by forcing the use of squared power of two textures
Changed nanosvg library from https://github.com/memononen/nanosvg to https://github.com/fltk/nanosvg which contains the definition of the new function nsvgRasterizeXY()
2023-01-19 09:26:47 +01:00
YuSanka
ecc3211c18 ObjectList: Add "Text" marker only where it's needed 2023-01-18 20:20:23 +01:00
tamasmeszaros
e3af59b3ee Merge branch 'et_tm_sla_volumes_6-SPE-1285' 2023-01-18 16:56:54 +01:00
tamasmeszaros
ce2659141a Fix sidebar support combobox in SLA 2023-01-18 16:56:33 +01:00
David Kocik
ba2cd8f3a7 Fix of "exporting." notification not disappearing after error. 2023-01-18 16:48:37 +01:00
tamasmeszaros
76d0e11699 Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-18 16:40:12 +01:00
PavelMikus
bdcb773202 replace triangulation in SupportSpotGenerator with triangle formula and winding number
Use the same apporach in computation of polygon area principal components
2023-01-18 16:01:09 +01:00
David Kocik
96762a2119 No new version available notification 2023-01-18 15:29:55 +01:00
tamasmeszaros
ee15fe6238 Fix crash with cut gizmo 2023-01-18 15:15:01 +01:00
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
tamasmeszaros
b403ba10c1 Fix mirroring inside volumes trafos
Fix leftover after successive slicing runs
2023-01-18 11:20:22 +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