Commit Graph

21782 Commits

Author SHA1 Message Date
enricoturri1966
1f98140667 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-23 11:28:44 +01:00
enricoturri1966
22a1109e30 Fixed visibility of Object Manipulator reset buttons for single instance selection 2023-01-23 11:28:16 +01:00
YuSanka
7f9f47da25 Follow up c16fa93bdb -hot fix 2023-01-23 11:26:19 +01:00
YuSanka
c16fa93bdb Allow to switch to the Simple mode, when all objects are single-parts or have support-modificators only.
+ Object's menu for Advanced and Expert mode are the same now.

+ "wxYES|wxCANCEL" style is changed to "wxOK|wxCANCEL" for MessageDialog.
The reason: wxWidgets implementation for Linux doesn't respects to "wxYES|wxCANCEL" style for MessageDialog.
In this case massage dialog has "wxYES_NO|wxCANCEL" style.
2023-01-23 10:24:45 +01:00
enricoturri1966
f327b805db Fixed rendering of shells in preview 2023-01-23 09:21:07 +01:00
enricoturri1966
a3324d3e50 Fixed crash when changing printer while Hollow gizmo is open 2023-01-23 08:17:18 +01:00
Vojtech Bubnik
fdecb30664 Tree Supports: Refactoring of RadiusLayerPolygonCache for speed. 2023-01-20 18:01:58 +01:00
Filip Sykala - NTB T15p
8f09c3ac82 WIP: Create another approach to heal shape BUT it is not working 2023-01-20 17:33:53 +01:00
Vojtech Bubnik
f7f763300e Experiment: Added a rectilinear monotonic infill without perimeter
connection lines for top / bottom infill patterns.
Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-01-20 15:22:19 +01:00
David Kocik
617747acb3 followup of 3f69799047 - improved path checks 2023-01-20 11:09:36 +01:00
David Kocik
dae9538eaf followup of af0e312542 - reverted wrong exception catching. 2023-01-20 09:51:40 +01:00
David Kocik
d047969d3d missing include 2023-01-20 08:53:10 +01:00
David Kocik
3f69799047 App updater download directory path cehecking and selection 2023-01-20 08:41:10 +01:00
Vojtech Bubnik
77c521eabb Tree supports: Disabled some more error reporting. 2023-01-19 17:20:42 +01:00
Vojtech Bubnik
88ba9ab1c8 Tree supports: Added the most important tree support parameters
to parameter layer.
2023-01-19 17:20:42 +01:00
David Kocik
443f5c1821 Version file url reverted to original name 2023-01-19 16:21:35 +01:00
PavelMikus
be61ab37f4 Document extensively the generated SupportPoint structure,
fix wrong estimation of weight torque for connections
2023-01-19 15:07:06 +01:00
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