Commit Graph

17290 Commits

Author SHA1 Message Date
Lukas Matena
c12eff19d8 Fixed a possible deadlock:
The thread counter should be modified under a mutex, atomic is not enough here
2021-10-18 16:24:15 +02:00
Filip Sykala
80ccb77b00 live preview in simplification 2021-10-18 16:01:32 +02:00
David Kocik
d3c38fc603 Fix of crashing Preferences in Gcode Viewer 2021-10-18 15:47:38 +02:00
Vojtech Bubnik
c313e6793a Follow-up to 1ca24f0bd0
Fixed visualization of G-code in G-code viewer after 07e7e11590
The line end positions were not extracted correctly from G-code
imported into a stand-alone G-code viewer.
2021-10-18 15:46:23 +02:00
Lukas Matena
dac810951d Merge branch 'lm_sendsysteminfo' 2021-10-18 15:35:21 +02:00
Lukas Matena
e30e7ffdef SendSystemInfo: improved error handling 2021-10-18 15:34:51 +02:00
Lukas Matena
99bf3d0a25 SendSystemInfo: Show also in alphas, fixed alpha detection 2021-10-18 15:34:51 +02:00
Lukas Matena
1afa18d719 SendSystemInfo: Use GET instead of ping to check internet connection 2021-10-18 15:34:51 +02:00
Lukas Matena
692a0dade7 SendSystemInfo macOS fixes (get system language, fix ping) 2021-10-18 15:34:51 +02:00
Lukas Matena
5b20406a33 SendSystemInfo: Reporting RAM in GiB 2021-10-18 15:34:51 +02:00
Lukas Matena
13ff92335b Several fixes and improvements in SendSystemInfoDialog:
- do not show memory in MB, show it in GiB rounded to one decimal place
- when sending fails, the HTTP error code is not presented to the user (it is logged though)
- when the user cancels the sending, no extra "sending cancelled" message is shown
- in case there is no internet connection, the dialog is not shown at all
- a 6 second timeout for a case that connection is lost during sending
- the dialog is only shown when the wizard does not show on startup
2021-10-18 15:34:51 +02:00
Lukas Matena
8d115def76 SendSystemInfo: Trim leading/trailing whitespace from all the values 2021-10-18 15:34:51 +02:00
Lukas Matena
ea25461a95 An attempt to fix the SendSystemInfo dialog on GTK3 2021-10-18 15:34:51 +02:00
Lukas Matena
3f9cefc168 SendSystemInfo: Open the dialog based on appconfig, even in alphas 2021-10-18 15:34:51 +02:00
Lukas Matena
f72a5cf1e7 SendSystemInfo: Only get the scaling on Win, not on mac or Linux 2021-10-18 15:34:51 +02:00
Lukas Matena
56c3ea0261 SendSystemInfo: Use /proc/info instead on lscpu on Linux,
center dialog after resizing
2021-10-18 15:34:51 +02:00
enricoturri1966
8cf66f52f6 Tech ENABLE_WORLD_COORDINATE - Modified method Selection::requires_uniform_scale() 2021-10-18 15:26:31 +02:00
enricoturri1966
5649151444 Tech ENABLE_WORLD_COORDINATE - Fixed volumes rotation in world coordinate
Added sub-tech ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET which enable showing world coordinates of volumes' offset relative to the instance containing them

Show 'Drop to bed' button in sidebar whenever the selected instance or volume is not laying on the printbed
2021-10-18 15:13:47 +02:00
David Kocik
5946989c21 Stop giving notifications focus on hover. 2021-10-18 15:02:13 +02:00
Vojtech Bubnik
32ebfa66e9 Fix of M106 on every new layer #7094
after parallelization of CoolingBuffer:
Remember the last fan speed emitted at the previous layer.
2021-10-18 14:56:02 +02:00
Vojtech Bubnik
556e0c53c7 Some more refactoring of ClipperLib / closing() / opening() 2021-10-18 14:51:30 +02:00
tamasmeszaros
f494ad565b Fix some builds that fail with cgal 5.2.3 2021-10-18 14:38:55 +02:00
Lukáš Hejl
25a3ab255b Merge branch 'lh_avoid_crossing_perimeters_offset' 2021-10-18 12:55:06 +02:00
Lukáš Hejl
4d47e9a184 Allow travels processed by the avoid crossing perimeters move further away from the outer perimeter. 2021-10-18 12:51:20 +02:00
Lukáš Hejl
c660091bfa Merge branch 'lh_fdm_supports_smart_fill' 2021-10-18 11:35:39 +02:00
Lukáš Hejl
0c2d9f01a6 Fixed z-fighting between contour around the area selected by smart fill and painted triangles inside the FDM support painting gizmo. 2021-10-18 11:35:13 +02:00
Lukáš Hejl
b45675b4e1 Follow-up of 6194e67e68 - Separated the part that computed triangles normals and lighting inside the fragment shader into a separate shader mm_gouraud, which is only used for the multi-material painting gizmo. 2021-10-18 11:35:13 +02:00
Lukáš Hejl
912f73d79c Fixed the positioning of the supports painting gizmo. 2021-10-18 11:33:47 +02:00
Lukáš Hejl
552c42d466 Merge branch 'lh_fdm_supports_gizmo' 2021-10-18 11:10:54 +02:00
Lukáš Hejl
6f3baf9262 Added tooltips to the support painting gizmo. Used multi-line text for the label "Highlight overhang by angle". 2021-10-18 10:57:57 +02:00
Lukáš Hejl
b2fc50c9d9 Small refactoring of showing tooltips in gizmos. 2021-10-18 10:56:50 +02:00
Lukáš Hejl
6f6f6de506 Added an option to limit painting to triangles only highlighted by "Highlight by angle" in the support painting gizmo. 2021-10-18 10:54:31 +02:00
Vojtech Bubnik
bec140b4bc "only_retract_when_crossing_perimeters" disabled by default
to reduce stringing for "custom" printers based on "defaults".
2021-10-15 16:35:16 +02:00
tamasmeszaros
5e3da340ae Fix crash with some models after hole drilling 2021-10-15 15:32:14 +02:00
David Kocik
29544c0d3d Merge branch 'dk_notifications' 2021-10-15 15:05:08 +02:00
David Kocik
81cb190e2f Export ongoing notification with delay 1000ms to prevent quick opening and closing on fast systems 2021-10-15 15:04:44 +02:00
Vojtech Bubnik
1ca24f0bd0 Fixed visualization of G-code in G-code viewer after 07e7e11590
Fix of prusa-gcodeviewer changes modification time of the viewed gcode file #7005
2021-10-15 14:31:57 +02:00
enricoturri1966
84c0b816cb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_world_coordinates 2021-10-15 11:58:42 +02:00
enricoturri1966
4fdd58e80a Tech ENABLE_WORLD_COORDINATE - Fixed gizmo Scale in world coordinates 2021-10-15 11:58:32 +02:00
kocikdav
df30dfc2bc
Merge pull request #7117 from jurriaan/patch-1
Fix missing `wx/timer.h` header compile issue
2021-10-15 11:37:51 +02:00
Jurriaan Pruis
43d952779a
Fix missing wx/timer.h header compile issue
Tried to compile the latest git version on my system and got an error that wxTimer could not be found. Fixed it by adding in the header.

cc @kocikdav
2021-10-15 10:44:19 +02:00
enricoturri1966
7e5c214b91 Other refactoring plus some fixes into GLGizmoScale3D 2021-10-14 13:59:27 +02:00
Vojtech Bubnik
a6f4b9b71f Snug supports: Extrude interface layers 45 degrees from the base layer,
flip direction of the infill layer with each interface layer.
Unfortunately the flipping of support interface directions may not work
reliably due to base support layer heights growing at different rate
from the interface layers.
2021-10-14 13:56:04 +02:00
David Kocik
c838aabf1d Merge branch 'dk_tips' 2021-10-14 14:30:29 +02:00
David Kocik
ffc29a2536 Preferences Highlighter 2021-10-14 14:29:53 +02:00
YuSanka
aecd7e2b93 GalleryDialog: Added context menu for custom shapes
+ Added possibility to delete custom shaped by "DELETE" key
2021-10-14 12:16:14 +02:00
enricoturri1966
7be17d89e6 Fixed conflicts after merge with master 2021-10-14 10:48:46 +02:00
Lukáš Hejl
2f9ce6bedb Fixed incorrect color assignment in multi-material segmentation caused by intersecting edges due to post-processing of Voronoi diagram.
This issue was occurring mainly on the cylinder objects.
2021-10-14 09:39:23 +02:00
Vojtech Bubnik
64a3866ad5 Making GCC happy. 2021-10-14 09:33:39 +02:00
Vojtech Bubnik
0222533273 Fixed compilation on non MS systems 2021-10-14 09:31:53 +02:00