Commit Graph

17118 Commits

Author SHA1 Message Date
Lukas Matena
552afcc63d SendSystemInfo: Open the dialog based on appconfig, even in alphas 2021-10-18 15:34:51 +02:00
Lukas Matena
65f722c97c SendSystemInfo: Only get the scaling on Win, not on mac or Linux 2021-10-18 15:34:51 +02:00
Lukas Matena
b087ba7089 SendSystemInfo: Use /proc/info instead on lscpu on Linux,
center dialog after resizing
2021-10-18 15:34:51 +02:00
David Kocik
438ab8c321 Stop giving notifications focus on hover. 2021-10-18 15:02:13 +02:00
Vojtech Bubnik
89c2341a65 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
61b81369d4 Some more refactoring of ClipperLib / closing() / opening() 2021-10-18 14:51:30 +02:00
tamasmeszaros
0080b47966 Fix some builds that fail with cgal 5.2.3 2021-10-18 14:38:55 +02:00
Lukáš Hejl
a02a955662 Merge branch 'lh_avoid_crossing_perimeters_offset' 2021-10-18 12:55:06 +02:00
Lukáš Hejl
0216f1a21a 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
7a20a64137 Merge branch 'lh_fdm_supports_smart_fill' 2021-10-18 11:35:39 +02:00
Lukáš Hejl
9c02817eb8 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
c6a7b70ed9 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
ef50b9e4cb Fixed the positioning of the supports painting gizmo. 2021-10-18 11:33:47 +02:00
Lukáš Hejl
3f77b494b1 Merge branch 'lh_fdm_supports_gizmo' 2021-10-18 11:10:54 +02:00
Lukáš Hejl
d27b6b6b57 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
d1614b7469 Small refactoring of showing tooltips in gizmos. 2021-10-18 10:56:50 +02:00
Lukáš Hejl
ed8f358592 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
ca0fa1ea42 "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
0dfd27f434 Fix crash with some models after hole drilling 2021-10-15 15:32:14 +02:00
David Kocik
b4ed48da64 Merge branch 'dk_notifications' 2021-10-15 15:05:08 +02:00
David Kocik
e86a1b4d89 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
9e8d883fc7 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
kocikdav
e3c44e743b 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
521e9cff64 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
Vojtech Bubnik
69031a275a 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
cbeb39a5bc Merge branch 'dk_tips' 2021-10-14 14:30:29 +02:00
David Kocik
f0d09461c1 Preferences Highlighter 2021-10-14 14:29:53 +02:00
YuSanka
b0a5ee3ca1 GalleryDialog: Added context menu for custom shapes
+ Added possibility to delete custom shaped by "DELETE" key
2021-10-14 12:16:14 +02:00
Vojtech Bubnik
6a21655256 Making GCC happy. 2021-10-14 09:33:39 +02:00
Vojtech Bubnik
0333ed1b42 Fixed compilation on non MS systems 2021-10-14 09:31:53 +02:00
Vojtech Bubnik
1c626e8596 New ClipperUtils functions: opening(), closing() as an alternative
for offset2() with clear meaning.
New ClipperUtils functions: expand(), shrink() as an alternative
for offset() with clear meaning.
All offset values for the new functions are positive.

Various offsetting ClipperUtils (offset, offset2, offset2_ex) working
over Polygons were marked as unsafe, sometimes producing invalid output
if called for more than one polygon. These functions were reworked
to offset polygons one by one. The new functions working over Polygons
shall work the same way as the old safe ones working over ExPolygons,
but working with Polygons shall be computationally more efficient.

Improvements in FDM support generator:
1) For both grid and snug supports: Don't filter out supports for which
   the contacts are completely reduced by support / object XY separation.
2) Rounding / merging of supports using the closing radius parameter is
   now smoother, it does not produce sharp corners.
3) Snug supports: When calculating support interfaces, expand the projected
   support contact areas to produce wider, printable and more stable interfaces.
4) Don't reduce support interfaces for snug supports for steep overhangs,
   that would normally not need them. Snug supports often produce very
   narrow support interface regions and turning them off makes the support
   interfaces disappear.
2021-10-14 09:11:31 +02:00
Lukáš Hejl
2f8e9f5af4 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
David Kocik
3e02575dba Merge branch 'dk_notifications' 2021-10-13 17:05:08 +02:00
David Kocik
15c87d5240 missing include and template type 2021-10-13 17:04:40 +02:00
David Kocik
926f66a741 Merge branch 'dk_notifications' 2021-10-13 15:39:31 +02:00
David Kocik
ed471b1f41 Preferences: notify_relese option with Choice type Field.
OptionsGroup:: Added possibility of the right alignment of the controls
+ Added separator line to Preferences
2021-10-13 15:39:06 +02:00
enricoturri1966
c17004fba4 Fix in seams detection (restore detection after wiping) 2021-10-13 11:13:31 +02:00
YuSanka
4a975dd97a Auto color change: check overhangs lust from Preview when detecting auto color changes
+ fixed typo in equivalent_areas()
 + Added missed include
2021-10-12 15:23:50 +02:00
YuSanka
9b7225cf35 Follow-up cedfc5e3fb - Next code refactoring to avoid inconsistency between AutoColorChangeDetection in Preview and DoubleSlider 2021-10-12 14:18:39 +02:00
enricoturri1966
736d1c41ef Seams detection now takes in account for overhang perimeters 2021-10-12 12:03:34 +02:00
enricoturri1966
affcb311fa Revert of e28ebf9386 2021-10-12 11:49:51 +02:00
tamasmeszaros
bee6a41d72 Minor beautification 2021-10-12 10:55:23 +02:00
YuSanka
f4edcd7458 DoubleSlider: Code refactoring for auto color change 2021-10-12 10:47:21 +02:00
tamasmeszaros
6a327e00df Removing search for upstream miniz as its no longer compatible.
Due to 729298c408

fixes #7080
2021-10-12 09:59:59 +02:00
enricoturri1966
ee568857c9 Removed threshold to detect seams to be shown in preview 2021-10-12 09:53:23 +02:00
YuSanka
8a8ada38c9 Gallery: Fixed a naming of the added item with already existing name.
+ Fixed layout after add/delete item to/from Gallery
2021-10-11 11:21:27 +02:00
David Kocik
a9f1b65ab2 Merge branch 'dk_notifications' 2021-10-11 10:02:10 +02:00
David Kocik
8c7562f082 Check version string for alpha and beta release versions.
Preferences setting to show / not show alpha beta releases.
2021-10-11 10:01:48 +02:00
YuSanka
624648f05f Win11 specific: Added workaround for implicit set of the dark mode 2021-10-11 09:54:38 +02:00
YuSanka
e9083556ee ObjectList: Fixed positioning of the object's part/modifiers when it's added
Use load_modifier() for everything without a respect to the type
2021-10-08 12:14:49 +02:00