Commit Graph

9005 Commits

Author SHA1 Message Date
enricoturri1966
49bd0e4e6f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-08 13:44:13 +01:00
enricoturri1966
8e76324ad9 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Changed background color of additional button and its icon 2021-11-08 13:43:53 +01:00
enricoturri1966
4c0067e97f #7258 - Fixed cut of merged object 2021-11-08 12:56:38 +01:00
Lukáš Hejl
145b095ce4 OSX specific: Fix of #7259 - (Darker colors of objects inside the multi-material gizmo on macOS Monterey on Arm64 CPU)
Since macOS 12 (Monterey), the issue with the opposite direction on macOS running on Arm64 CPU seems to be fixed, and computed triangle normals inside fragment shader using dFdx and dFdy have the right direction.
So the previous patch bad51cdb52 is constrained to just macOS versions before macOS 12 (Monterey).
2021-11-08 11:27:24 +01:00
YuSanka
beec6e7518 MSW: Dark Mode: Update of PrintHostDialogs 2021-11-08 11:06:48 +01:00
combolek
4d4c4558ae Fixes issue #7247: Wxwidgets 3.0 yet again. MsgDialog.hpp:270:40: error: ‘wxASCII_STR’ was not declared in this scope
Replace wxASCII_STR with wxString::FromAscii for compatibility with wxWidgets 3.0
2021-11-08 10:00:29 +01:00
enricoturri1966
c96d450393 #7245 - Added validation of values typed by user in scale and size fields of object/part manipulator in sidebar 2021-11-08 08:38:37 +01:00
enricoturri1966
626a4a8883 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Additional button, added to imgui float slider, using svg icon 2021-11-08 08:29:19 +01:00
Lukáš Hejl
381133cb81 Fixed a compiler warning. 2021-11-05 23:19:01 +01:00
Lukáš Hejl
c2fc15bd98 Fix of #7109 (Bulges with model's base color on multi-material painted models) 2021-11-05 22:52:52 +01:00
Lukáš Hejl
aa8eabee88 Fix of #7235 (Dimples in external perimeter after multi-material segmentation) 2021-11-05 22:52:52 +01:00
Lukáš Hejl
d17a2c8897 Small refactoring of storing colored polygons in multi-material segmentation.
Previously, colored polygons were stored so that each polygon had a color assigned to it, which made it difficult to perform operations like union or so on all polygons of the same color. Now polygons are stored grouped by their assigned color/extruder.
2021-11-05 22:52:52 +01:00
Lukáš Hejl
5a5097a856 Added a missing include (GCC 11.1). 2021-11-05 22:52:13 +01:00
YuSanka
c4c68f1a89 Added "Color" parameter for SLA material 2021-11-05 17:22:37 +01:00
tamasmeszaros
410c8fe858 Verify layerHeight conf value before use 2021-11-05 15:58:40 +01:00
tamasmeszaros
6e81ec86c8 Fix some mesh errors in sl1 archive reconstruction 2021-11-05 15:43:40 +01:00
tamasmeszaros
2aff8076a6 Do not reset sl1 import dialog settings between imports 2021-11-05 15:31:27 +01:00
tamasmeszaros
6a1b1f65f4 Load layer height from config.ini if profile is missing from sl1 archive 2021-11-05 15:31:15 +01:00
YuSanka
eacc7f5c96 MSW: DarkMode: Improvements for message Dialogs
* A little bit reworked MsgDialog: Checkbox and buttons are placed under the Static line
 * Implemented wrapper for wxRichMessageDialog
 + Implemented wrapper for wxStaticLine
2021-11-05 15:20:06 +01:00
Filip Sykala
789b79c76f Change float slider to wrap function. Enrico's request 2021-11-05 14:48:37 +01:00
enricoturri1966
43a0ffd626 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-05 14:47:21 +01:00
enricoturri1966
2cfcc63c58 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Modified ImGuiWrapper::slider_float() to create a compound widget where an additional button can be used to set the keyboard focus into the slider to allow the user to type in the desired value 2021-11-05 14:46:44 +01:00
YuSanka
562b60a3db MSW_DarkMode: Next Improvements
* Refreshed title bar for all Dialogs and MainFrame
* Refreshed header of the DataViewCtrl and ListView
* Refresh tooltips
* Redraw SpinCtrls
* Use system menu with is colored in respect to the color mode
* Preferences: Added parameter "Use system menu for application" and moved to the "Dark mode" tab with "Enable Dark mode parameter"
2021-11-05 10:01:13 +01:00
David Kocik
72764d7b65 Fix of #7169 Check if material or filament profile is_compatible before selecting it when it should be selected as first selected profile in wizard. 2021-11-03 11:37:06 +01:00
scott0122
0d745860a5 Repetier-Server: Enable "Start printing after upload" (#5351) 2021-11-02 23:34:12 +01:00
Lukáš Hejl
4dafbd8f25 Fix of #7112 (Default color sometimes appeared between two multi-material painted areas) 2021-11-02 13:02:00 +01:00
Lukáš Hejl
562e08a63c Small refactoring of post-processing of the projected painted lines in multi-material segmentation. 2021-11-02 13:02:00 +01:00
Lukáš Hejl
688dc094de Added more debug output for multi-material segmentation for debugging projection of the painted lines. 2021-11-02 12:49:46 +01:00
Vojtech Bubnik
1e6c864d11 Cooling buffer used to remove F word from G1 Fxxx lines if the feed rate
did not change compared to the preceding value creating empty "G1" lines.
The empty "G1" lines are now removed.
Improves Features fail with extra G1 moves when above a certain layer height and Detect Thin Walls is enabled #5176
Improves Thin wall detection causes miniature loops to be added, and emits empty G1 commands #3058
2021-11-02 12:11:53 +01:00
David Kocik
03c54e612a Copying from other config folders:
Find if there is more recent config in other folders (alpha / beta / release).
If yes, ask user, make snapshot, copy files.
if there is no current config, ask user and copy recent one.
2021-11-02 10:51:45 +01:00
David Kocik
4895456a6f Hint hypertext preferences highlight 2021-11-02 10:51:45 +01:00
David Kocik
bc9be829c3 ExportOutgoing notification should not show on upload 2021-11-02 10:51:45 +01:00
David Kocik
2c49e3149e Fix of #7170. Delayed notification is not moved until push will succeed. 2021-11-02 10:51:45 +01:00
David Kocik
4a205dd33f Wrong build on windows system (32 vs 64bit) dialog 2021-11-02 10:51:45 +01:00
tamasmeszaros
b6a65d2175 Fixing slow conversion from cgal mesh format 2021-11-02 09:52:44 +01:00
Lukáš Hejl
e9142dc420 Fixed missing brims for nested objects.
Brim wasn't generated when some object was placed inside the hole of another object.
2021-11-01 15:10:51 +01:00
Lukáš Hejl
accbb89e10 Fix of #7213: Not generated inner brim after 7ff76d0768. 2021-11-01 15:10:51 +01:00
Vojtech Bubnik
cf93a094ac Fix of Print::apply() creating hierarchy of regions for complex scenarios:
Unnecessary regions were created for a modifier over a volume or a modifier,
where the modifier did not modify any of its parent's properties.
This lead to an explosion of regions for this particular 3MF.
Fixes Non Responsive & Memory Leak when opening or changing this 3MF project #7220
2021-11-01 13:48:45 +01:00
Lukas Matena
44bac15901 SLA supports gizmo: selection rectangle now selects partially obscured points as well 2021-11-01 13:02:25 +01:00
Lukas Matena
d5544221ad SendSystemInfo: Reworked internet connection check,
now we only do the check on Windows, see the comments
in the code for details.
2021-11-01 12:57:49 +01:00
Lukas Matena
cef03ccb7f Fixed a tripping assert 2021-11-01 12:52:45 +01:00
enricoturri1966
1a02d21af7 #7211 - Fixed reset direction of view clipping not aligning cut surface correctly when viewed from Left or Right 2021-11-01 11:08:02 +01:00
enricoturri1966
06007313d8 Fixed build on non-Windows OSs 2021-11-01 08:46:37 +01:00
Yuri D'Elia
65020c9a9f Fix build on linux/clang 13 (#7203)
* Include missing headers

* Disambiguate nested template function for clang 13
2021-11-01 08:02:20 +01:00
Vojtech Bubnik
49f5299f47 Fixing the GCC/clang builds. MSVC is again non-conformant. 2021-10-30 14:00:23 +02:00
Vojtech Bubnik
37ca0daac2 Numerical improvements to Welzel minimum enclosing circle algorithm 2021-10-30 11:18:36 +02:00
Lukas Matena
207187ed79 Fixed encoding of gizmo entering/leaving undo redo snapshots,
which was broken by adding an extra TakeSnapshot overload in 41dc265
2021-10-29 21:47:47 +02:00
Vojtech Bubnik
576dc73136 Support generator: Regression wrt. PrusaSlicer 2.3.3:
"with sheath" now again uses the lighweight zig-zag algorithm
for the sparse support columns, while PrusaSlicer 2.4.0-alpha1
to PrusaSlicer 2.4.0-beta1 used the new "stable" zig-zag
algorithm for both the non-sheathed and sheathed sparse support columns
creating unnecessarily thick support column perimeters.
2021-10-29 16:53:03 +02:00
Vojtech Bubnik
15e27ab8ff New placeholder parser values for output file name template;
{num_objects} - number of printable objects on the plater.
{num_instances} - number of printable instances on the plater, adding up
  	all printable instances of all objects.
Implements #2735 #3339 #4607
2021-10-29 14:27:36 +02:00
Vojtech Bubnik
384303d57b PlaceholderParser: implemented round(), digits() and zdigits() macros.
round() rounds to an integer.
This is a popular request, for example #3472

digits(value, num_digits, num_decimals) rounds to num_digits and
	num_decimals, left filled with spaces.
digits(value, num_digits) the same as digits(value, num_digits, 0)
    Neither decimal separator nor any decimals after decimal separator
    are emitted.
zdigits(...) is the same as digits(...) only left filled with zeros.
If the result does not fit num_digits, the result is never trimmed.
2021-10-29 13:36:26 +02:00