Commit graph

12611 commits

Author SHA1 Message Date
YuSanka
c1b58d2c51 Fixed a crash on a changing of the application scale 2023-01-26 15:28:13 +01:00
David Kocik
3fb1e8a35f App updater path fixes 2023-01-26 15:20:51 +01:00
Vojtech Bubnik
6a9bcf8405 Tree supports: Switched to new Organic smoothing & collision avoidance.
Follow-up to 3d9f39e258
which had the new smoothing & collision avoidance disabled by mistake.
2023-01-26 13:59:32 +01:00
tamasmeszaros
7fd5fa3aa6 Fix assert when adding object in SLA 2023-01-26 14:07:24 +01:00
David Kocik
6db80851d9 missing include 2023-01-26 13:32:21 +01:00
David Kocik
66fa18a11e Printables.com subdomain check 2023-01-26 12:47:17 +01:00
Filip Sykala - NTB T15p
94982c758d Merge branch 'master' into fs_fix_for_Allura_script_font 2023-01-26 12:01:12 +01:00
Filip Sykala - NTB T15p
f2803c4ae1 Move unused implementation behinde macro 2023-01-26 12:00:36 +01:00
enricoturri1966
25a941d8e7 Code cleanup 2023-01-26 10:23:50 +01:00
Filip Sykala - NTB T15p
8e35ece403 Bevel only tip of spike which ends in duplicit point 2023-01-26 10:22:27 +01:00
enricoturri1966
92d26883a5 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into vb_et_instances_synch 2023-01-26 10:00:58 +01:00
enricoturri1966
643d50813d Removed function double rotation_diff_z(const Vec3d &rot_xyz_from, const Vec3d &rot_xyz_to) and remaining code using it 2023-01-26 10:00:35 +01:00
David Kocik
5b0a0897f4 followup of 70a9520cc3
into_u8 instead of format
2023-01-26 09:43:08 +01:00
Filip Sykala - NTB T15p
badbe9ddba Remove spikes from glyph shape 2023-01-26 08:04:44 +01:00
Lukas Matena
24a91d7420 Fixed is_nil(size_t) when checking out-of-range element 2023-01-26 07:28:37 +01:00
Lukas Matena
ae15032e0f Wipe tower: fixed missing travels to wipe tower on layers with no toolchanges 2023-01-26 07:28:37 +01:00
YuSanka
71cedd2eea Implemented UI to "Idle temperature" parameter 2023-01-26 07:28:37 +01:00
Lukas Matena
a067da6d53 Ooze prevention:
- remove the infinite skirt
- added 'idle_temperature' in Filament Settings as an optional parameter
- the logic is changed: if idle_temp is present, it is used,
  otherwise it uses the old delta value from Print Settings
- TODO: the optional parameter is not well supported in UI
2023-01-26 07:28:37 +01:00
Lukas Matena
98fea2f6ee Wipe tower: use GCode::set_extruder, allow ooze prevention:
this removes duplicated code and fixes toolchange retraction
The ooze prevention part needs further work, now it does not
work as advertised (the tall skirt)
2023-01-26 07:28:37 +01:00
Lukas Matena
7fb1bc2c16 Placeholders 'layer_num', 'layer_z' and 'max_layer_z' were not accessible in fil. start gcode when the wipe tower was off 2023-01-26 07:28:37 +01:00
Lukas Matena
b3664179f6 Wipe tower: remove a move to the wipe tower when not needed 2023-01-26 07:28:36 +01:00
Lukas Matena
90bd46e30a Added 'is_extruder_used' placeholder accessible from Custom Start G-Code 2023-01-26 07:28:36 +01:00
Vojtech Bubnik
a784be24e7 Follow-up to 842229842f
WIP Synchronization of mirroring
Fixed mirroring at the FDM and SLA back-end.
2023-01-25 18:51:53 +01:00
David Kocik
70a9520cc3 App udpater fixes - checks of path, error reporting and translations 2023-01-25 17:47:31 +01:00
Pavel Mikuš
37ca6e30bd
Update SupportSpotsGenerator.cpp 2023-01-25 17:24:53 +01:00
PavelMikus
c38bd9adde missing space in description 2023-01-25 17:01:58 +01:00
PavelMikus
c09a44779d brim integration into SupportSpotGenerator 2023-01-25 17:01:58 +01:00
PavelMikus
c31e3ec1a2 Bugfix in extrusion quality estimator, Refactoring of alerts, rename of autogenerate button 2023-01-25 17:01:58 +01:00
PavelMikus
a4de5c6553 initial warnings version 2023-01-25 17:01:58 +01:00
PavelMikus
fb4c1bf612 compilation fix 2023-01-25 17:01:58 +01:00
PavelMikus
41f1b83ae4 raft layers, partial objects memory, params acceleration 2023-01-25 17:01:58 +01:00
PavelMikus
f2deefd1de Support spot generator improvement - supporting bridges only in one direction 2023-01-25 17:01:58 +01:00
PavelMikus
821d2391b4 Added SupportPointCause describing the reason for the support point 2023-01-25 17:01:58 +01:00
David Kocik
c4bd071295 typo in text 2023-01-25 16:25:42 +01:00
tamasmeszaros
b20188c994 Disable debug benchmarks in sla print 2023-01-25 16:13:05 +01:00
Vojtech Bubnik
842229842f WIP Synchronization of mirroring 2023-01-25 15:46:22 +01:00
enricoturri1966
388ecdd0aa Experimental new implementation for Selection::synchronize_unselected_instances() 2023-01-25 10:12:47 +01:00
YuSanka
4078b7eafc Partially revert for 7858b5d3cd - Merge option is suppressed to cut objects 2023-01-24 16:05:53 +01:00
Vojtech Bubnik
3d9f39e258 Speed up of organic support smoothing & collision detection. 2023-01-24 14:31:33 +01:00
YuSanka
d327a6b2ab Sidebar: Use CallAfter for update of the PresetComboBox visibility,
when printer technology is changed during a project loading AND/OR switching the application mode.
Otherwise, some of PresetComboBoxes are invisible
2023-01-24 13:24:08 +01:00
enricoturri1966
fdcfae18db Fixed transformation of volumes in Part reference systems 2023-01-24 09:47:53 +01:00
enricoturri1966
f825b5c193 Fixed scaling and sizing objects using sidebar panel in Object and Part reeference systems 2023-01-24 08:45:51 +01:00
YuSanka
c7783a5891 Fix for #6377 - Prevent 3mf files from overwriting filament/printer settings
+ Ask about action on load of project even if print bed isn't empty
2023-01-23 16:12:32 +01:00
tamasmeszaros
b610053085 Add "experimental" word to sla branching tree type in the combo box 2023-01-23 12:22:43 +01:00
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
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
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
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