Commit Graph

3777 Commits

Author SHA1 Message Date
e063fe920e Fix of the last commit, G-code resolution was increased 10x by mistake. 2021-11-16 15:59:43 +01:00
135b3fcea8 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-11-16 15:48:17 +01:00
0420f63540 Higher resolution G-code and volumetric rate legend, disabled. 2021-11-16 15:48:06 +01:00
1aaa4845c5 Partially ported https://github.com/supermerill/SuperSlicer/commit/ff195fc9(Add max_literal to setting def, to set the threshold for popup warning for float% fields) from @SuperSlicer
(related to https://github.com/prusa3d/PrusaSlicer/issues/2829#issuecomment-955606863)
2021-11-16 13:44:48 +01:00
9af9b9b35d Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS set as default 2021-11-16 12:39:54 +01:00
58c93196d5 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-11-16 10:18:58 +01:00
cc44089440 New BuildVolume class was created, which detects build volume type (rectangular,
circular, convex, concave) and performs efficient collision detection agains these build
volumes. As of now, collision detection is performed against a convex
hull of a concave build volume for efficency.

GCodeProcessor::Result renamed out of GCodeProcessor to GCodeProcessorResult,
so it could be forward declared.

Plater newly exports BuildVolume, not Bed3D. Bed3D is a rendering class,
while BuildVolume is a purely geometric class.

Reduced usage of global wxGetApp, the Bed3D is passed as a parameter
to View3D/Preview/GLCanvas.

Convex hull code was extracted from Geometry.cpp/hpp to Geometry/ConvexHulll.cpp,hpp.
New test inside_convex_polygon().
New efficent point inside polygon test: Decompose convex hull
to bottom / top parts and use the decomposition to detect point inside
a convex polygon in O(log n). decompose_convex_polygon_top_bottom(),
inside_convex_polygon().

New Circle constructing functions: circle_ransac() and circle_taubin_newton().

New polygon_is_convex() test with unit tests.
2021-11-16 10:15:51 +01:00
f535b592ac Fixed a crash when loading STL file (from 02c18dbc52)
+ Added info_icon next to the "Volume" value
2021-11-16 09:42:20 +01:00
02c18dbc52 Sidebar: Info box: Fixed value of the "Volume"
+ Hidden "Materials" item
2021-11-15 17:36:01 +01:00
a6863961f7 Localization + new POT
+ added hyperlinks for Ironing parameters
2021-11-15 08:32:40 +01:00
17b9189974 Empty layer warning is now generated once per object 2021-11-12 17:08:14 +01:00
8bfa132a1b Localization fixes + new POT 2021-11-12 09:21:41 +01:00
217bcfd37d SLA only mode in wizard
Activates only if PrusaSlicer.ini does NOT contains any FFF printers.
Added only_default_printers() function to activate wizard if none printers are installed.
2021-11-11 17:08:54 +01:00
3c61d2b352 Merge branch 'master' into fs_removes_SimplifyMesh 2021-11-11 16:05:43 +01:00
17686b4814 Slight performance boost
follow up to f7db7c0
2021-11-11 11:12:03 +01:00
549c98ac88 Fix its_number_of_patches returning bool instead of size_t 2021-11-11 10:02:58 +01:00
43986c2896 Changes in notifying about new releases.
- Unified preferences settings. version_check option is replaced with notify_release that has 3 states.
- fixed logic when show notification based on version string.
- notification shows released version
- dialog notifying new version is never showing if external updater is running.
Escape quotes inside path to external updater
2021-11-10 15:27:46 +01:00
f7db7c0a26 #7282 - Fixed crash after splitting object into parts (missing or degenerate convex hulls) 2021-11-10 12:07:43 +01:00
e8be7b2ecd Implemented possibility to show resin colors from the Plater (Bottles with resin are colored now in preset combobox)
+ Added nsvgParseFromFileWithReplace() to replace some colors before parsing from SVG file
+ Thumbnails are saved with selected resin color in SL1 or SL1S files
+ "white" folder is deleted from "icons" now. THere is no needed anymore.
2021-11-09 17:01:50 +01:00
7de0f1195a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-09 15:09:32 +01:00
ab6ceaa68c #7246 - Fixed rrror when resize object to bed limit 2021-11-09 12:29:22 +01:00
67533da405 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-08 13:44:13 +01:00
5190a1f425 #7258 - Fixed cut of merged object 2021-11-08 12:56:38 +01:00
69b7fac01f Fixed a compiler warning. 2021-11-05 23:19:01 +01:00
e13be90283 Fix of #7109 (Bulges with model's base color on multi-material painted models) 2021-11-05 22:52:52 +01:00
f5a6e53298 Fix of #7235 (Dimples in external perimeter after multi-material segmentation) 2021-11-05 22:52:52 +01:00
b572588fc5 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
2fcab52f86 Added "Color" parameter for SLA material 2021-11-05 17:22:37 +01:00
535191c1e9 Verify layerHeight conf value before use 2021-11-05 15:58:40 +01:00
c4c8b7608e Fix some mesh errors in sl1 archive reconstruction 2021-11-05 15:43:40 +01:00
fb429c1e23 Load layer height from config.ini if profile is missing from sl1 archive 2021-11-05 15:31:15 +01:00
2a940863e1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_imgui_slider 2021-11-05 14:47:21 +01:00
f7662682c8 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
aff9e1f7ea 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
a771519b9f 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
f9bdde5603 Remove SimplifyMesh 2021-11-02 14:23:49 +01:00
54b0ee6a4a Fix of #7112 (Default color sometimes appeared between two multi-material painted areas) 2021-11-02 13:02:00 +01:00
3eb4ae309a Small refactoring of post-processing of the projected painted lines in multi-material segmentation. 2021-11-02 13:02:00 +01:00
e04c934253 Added more debug output for multi-material segmentation for debugging projection of the painted lines. 2021-11-02 12:49:46 +01:00
4e9f906848 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
ca8f7fbf80 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
73af0ed331 Fixing slow conversion from cgal mesh format 2021-11-02 09:52:44 +01:00
78879b2e84 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
30a37d0c25 Fix of #7213: Not generated inner brim after 7ff76d0768. 2021-11-01 15:10:51 +01:00
a0ee41770d 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
4a2e991ffe Fixed build on non-Windows OSs 2021-11-01 08:46:37 +01:00
0074df9c74 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
a94f1b332a Fixing the GCC/clang builds. MSVC is again non-conformant. 2021-10-30 14:00:23 +02:00
d78a5acba9 Numerical improvements to Welzel minimum enclosing circle algorithm 2021-10-30 11:18:36 +02:00
5f84c504fc 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