Commit graph

10767 commits

Author SHA1 Message Date
enricoturri1966
a3aab02f56 Fixed warning 2022-07-21 08:47:29 +02:00
enricoturri1966
520261925f Fixed conflicts after merge with master 2022-07-21 08:14:44 +02:00
enricoturri1966
42dbaf92bf SPE-1251 - Fixed crash in Gizmo Rotate when rotating an object when the camera is using orthographic projection 2022-07-20 13:45:21 +02:00
enricoturri1966
91b3c3dd1d Tech ENABLE_GL_CORE_PROFILE - Added call to method PlatformDefaults() to the wxGLContextAttrs used to generate wxWidgets OpenGL context 2022-07-20 11:46:05 +02:00
Vojtech Bubnik
23099c83dc WIP Tree Supports: Extracted Cura configs into a structure,
replaced Cura AABB with BoundingBox,
headers should be compilable now.
2022-07-20 11:21:53 +02:00
enricoturri1966
4353c626fc Revert of 324594db5e 2022-07-20 09:45:32 +02:00
enricoturri1966
324594db5e Added some errors to test new command line option '--opengl-debug' 2022-07-20 08:55:39 +02:00
enricoturri1966
90c49f4c1a Added filtering of key auto repeat for SHIFT and CTRL keys in GLCanvas3D 2022-07-20 08:15:38 +02:00
Vojtech Bubnik
6e1e4fcca2 WIP Tree Supports: Ported parallelization from cura homebrew parallel_for
to thread building blocks tbb::parallel_for.
2022-07-19 17:14:07 +02:00
enricoturri1966
9690919028 Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown 2022-07-19 13:12:13 +02:00
enricoturri1966
de635f9088 Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown 2022-07-19 12:57:26 +02:00
enricoturri1966
6e6ab640f4 Fixed missing update of object position when dragging it on the plate while Place on Face gizmo is open 2022-07-19 12:13:07 +02:00
Vojtech Bubnik
f6ae93366a WIP TreeSupports: Replaced cura namespace with Slic3r,
removed Cura includes.
2022-07-19 11:10:17 +02:00
Vojtech Bubnik
4c41311df3 WIP Tree Supports: Updated copyright 2022-07-19 10:59:10 +02:00
Vojtech Bubnik
b74fde237d WIP Porting tree supports by Thomas Rahm, losely based on Cura tree supports.
https://github.com/ThomasRahm/CuraEngine
2022-07-19 10:55:43 +02:00
Lukas Matena
a965956cba Removed extra member qualification in declaration (does not build with /permissive-) 2022-07-19 10:53:41 +02:00
enricoturri1966
92cf1d6e0c Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-07-19 10:04:07 +02:00
enricoturri1966
0d5de5fdf2 Tech ENABLE_WORLD_COORDINATE - Removed unneeded parameter from GLGizmoRotate::mouse_position_in_local_plane() declaration 2022-07-19 10:03:46 +02:00
enricoturri1966
76562d1e75 SPE-1252 - Fixed update of contours in Cut Gizmo when modifying the orientation or the scale of a part of a multipart object 2022-07-18 15:38:56 +02:00
enricoturri1966
8db552ce26 Tech ENABLE_GL_CORE_PROFILE - Command line option '--opengl-core=M.m' renamed as '--opengl-version=M.m'
use case 1 - the option is not added to the command line - PrusaSlicer defaults to the highest available core profile OpenGL version

use case 2 - the option specify an OpenGL version which supports core profile - PrusaSlicer select the required OpenGL version, if available

use case 3 - the option specify an OpenGL version which does not support core profile - PrusaSlicer defaults to the highest available compatibility profile OpenGL version

use case 4 - the option contains invalid OpenGL version - PrusaSlicer defaults to the highest available core profile OpenGL version
2022-07-18 15:33:24 +02:00
David Kocik
5c7cb3b55a Delete unused variable 2022-07-17 19:24:29 +02:00
David Kocik
faa4207b1c OSX build fix 2022-07-17 18:40:07 +02:00
David Kocik
cd30e8f2e7 get_host_from_url function 2022-07-17 18:40:07 +02:00
David Kocik
9ee6839017 Resize IP list dialog. 2022-07-17 18:40:07 +02:00
David Kocik
a2330e77c2 Filter lookup replies by service name 2022-07-17 18:40:07 +02:00
David Kocik
8481de43cc Improved error message if both ipv4 and ipv6 upload fails. 2022-07-17 18:40:07 +02:00
David Kocik
d9058b2a92 Cancel upload priority before error showing. 2022-07-17 18:40:07 +02:00
David Kocik
89e288dcf8 Propagate resolved ip address to the UI layer (both upload dialog and notification) 2022-07-17 18:40:07 +02:00
David Kocik
bc167ce90b Decision tree for different types and numbers of resolved IPs. 2022-07-17 18:40:07 +02:00
David Kocik
9fd3108726 Resolved IP dialog before uploading - needs better design and to not show if only 1x v4 and v6 is resolved. 2022-07-17 18:40:07 +02:00
David Kocik
36f473c984 Bonjour lookup function in same style as resolve function.
Includes refactoring of resolve function. 
refactor
2022-07-17 18:40:07 +02:00
David Kocik
457a5d4a65 system ifdefs 2022-07-17 18:40:07 +02:00
David Kocik
d2c6f597d2 Bonjour - resolve hostname to IP using mdns.
Octoprint - on Windows use Bonjour resolving to get IP address before the http connection. Only use Windows address resolving if Bonjour couldn't resolve.
2022-07-17 18:40:07 +02:00
Lukas Matena
fbdf777898 Merge branch 'master_250' 2022-07-15 15:04:10 +02:00
enricoturri1966
6b0ea79d34 SPE-1252 - Fixed update of contours in Cut Gizmo when modifying the orientation or the scale of a part of a multipart object 2022-07-15 14:55:13 +02:00
Lukas Matena
edc0aa4bce Mentioned CuraEngine in the CopyrightsDialog 2022-07-15 13:58:17 +02:00
Pavel Mikus
70677858a1 Use resampling only with smooth surfaces generated by Arachne 2022-07-14 18:00:59 +02:00
enricoturri1966
f06a931d0b Tech ENABLE_RAYCAST_PICKING - Fixed wrong behavior when pressing CTRL while dragging a model on the plate 2022-07-14 14:45:19 +02:00
Pavel Mikus
2e437d1761 curling improvements 2022-07-14 11:47:29 +02:00
enricoturri1966
f9f2be9936 Tech ENABLE_RAYCAST_PICKING - Gizmo hollow: fixed crash when activating the gizmo 2022-07-14 11:07:43 +02:00
Pavel Mikus
d5d1633e2b Bugfix: seam enforcers and blockers not respected on different nozzle widths -
now flow width is used instead of fixed distance param
2022-07-14 10:15:05 +02:00
Pavel Mikus
f5efb0d0aa remove global angle computation, wrong results 2022-07-14 10:15:05 +02:00
Pavel Mikus
4a9f9aa89b oversample smooth surfaces, which reduces curling on those surfaces, because the shortest path down is better defined 2022-07-14 10:15:05 +02:00
Pavel Mikus
40408c2178 increase snapping angle 2022-07-14 10:15:05 +02:00
PavelMikus
768bfd5c7f reduce curling 2022-07-14 10:15:05 +02:00
PavelMikus
c65e22e6bb refactored find_seam_string func 2022-07-14 10:15:05 +02:00
PavelMikus
4d8e8afb10 Count seam string weight and try mutiple strings; choose highest weight 2022-07-14 10:15:05 +02:00
Pavel Mikus
f31865a627 increase weight of central seam enforcers 2022-07-14 10:15:05 +02:00
Pavel Mikus
232517fe77 choose seam string with lower variance weighted by visibility 2022-07-14 10:15:05 +02:00
Pavel Mikus
feeb9b2b1b bug fixes in the linear regression 2022-07-14 10:15:05 +02:00
PavelMikus
fec3afa490 cubic spline segment size based on the length of string 2022-07-14 10:15:05 +02:00
PavelMikus
1e05d09324 search points based on updated linear regression model (line), make search raidus dynamic based on layer thickenss 2022-07-14 10:15:05 +02:00
enricoturri1966
2a2d442b28 Tech ENABLE_RAYCAST_PICKING - Gizmo flatten: fixed update of raycasters transformations 2022-07-14 09:59:20 +02:00
Lukáš Hejl
39404be75a Fix of #8471 - Pressure equalizer caused unintentional deceleration before ironing and acceleration after ironing. 2022-07-14 09:30:37 +02:00
Lukáš Hejl
b4ff9b72a9 Fix of #8455 - Incorrect scale in ExtrusionLine::simplify() prevented removing vertices between collinear and nearly collinear lines. 2022-07-14 09:10:25 +02:00
Lukáš Hejl
e2e1272003 Fix of #8455 - Fixed the incorrect computation of the threshold for grouping ExtrusionPaths with the same extrusion width in thick_polyline_to_extrusion_paths() that was affecting Arachne and gap fill.
The previous behavior didn't merge two ExtrusionPaths with the same extrusion width, and it also could merge two ExtrusionPaths with different widths, which was unintentional, and it could also possibly create visible artifacts in some cases.
Because simplification of ExtrusionLoop in GCode::extrude_loop is working on ExtrusionPath and not on whole ExtrusionLoop, so previous incorrect behavior was preventing simplification and removing small extrusions like in #8455.
2022-07-14 09:10:22 +02:00
enricoturri1966
b9caacfdd9 Merge branch 'et_opengl_3_rebase' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_raycast_picking_rebase 2022-07-13 13:50:34 +02:00
enricoturri1966
da0a5b5cfb Removed obsolete code leading to assert on MAC 2022-07-13 13:31:36 +02:00
enricoturri1966
9fc2d5b337 Tech ENABLE_GL_CORE_PROFILE - Force wxWidgets rgba context on MAC Os 2022-07-13 12:47:27 +02:00
enricoturri1966
642f64cb41 Tech ENABLE_LEGACY_OPENGL_REMOVAL - Fixed rendering of layer editing background on older OpenGL compatibility profile 2022-07-13 12:12:35 +02:00
YuSanka
bd077ae401 Search: Fix of the wrong search, when print technology was changed, but search line wasn't inputted.
Partially reverted a248490507 -> UnsavedChangesDialog:A sort of Sercher's options have to be reverted back an the and of update_tree()
May be related to #8376 - SEARCH {CTRL-F}
2022-07-13 10:14:07 +02:00
enricoturri1966
e0c8ffc524 Tech ENABLE_OPENGL_DEBUG_OPTION - Let option opengl-debug be always available to avoid error unknown option at startup 2022-07-13 10:06:57 +02:00
enricoturri1966
22b634ca1d Fixed crash at startup on Mac OS 2022-07-13 08:56:00 +02:00
Lukáš Hejl
22255822a2 Fix of #8488 - Infinite loop in the lightning infill. 2022-07-12 18:59:48 +02:00
YuSanka
92f874cdea Fix for #8450 - Tip Of The Day - configuration snapshots shortcut not work in the language Portuguese Brazil
Note: This bug was related not just for the language Portuguese Brazil but for all another dictionaries, where
for "&MenuItem" and "MenuItem" are used "&LocalMenuItem1" and "LocalMenuItem2" instead of "&LocalMenuItem" and "LocalMenuItem"
2022-07-12 14:57:11 +02:00
YuSanka
1afc6fb57c Fix for #8459 - Tooltip on "Retract amount before wipe" setting for retractions 2022-07-12 14:17:37 +02:00
Lukáš Hejl
7860cf8811 Follow-up to e86463a369: Forgot to remove useless asserts. 2022-07-12 13:52:02 +02:00
Lukáš Hejl
e86463a369 Fix of #8463 - Crash in SkeletalTrapezoidation::computePointCellRange() when a cell point didn't fit into Vec2i64 because it was too far away. 2022-07-12 13:36:26 +02:00
Lukas Matena
f41d72d656 Fixed empty 'G1' lines generated by the wipe tower:
They are not nice and trigger assertions in CoolingBuffer
2022-07-12 10:59:24 +02:00
enricoturri1966
a6a0e3e759 Another attempt to fix crash at startup on Mac OS 2022-07-11 12:57:44 +02:00
enricoturri1966
c7d44d3576 #8467 - GCodeProcessor - Added processing of parameter 'T' for gcode lines M104 2022-07-11 12:24:42 +02:00
enricoturri1966
850b590c31 #8467 - GCodeViewer - Fixed detection of extruder changes for gcode produced by other slicers, by adding missing default values 2022-07-11 11:52:58 +02:00
Lukáš Hejl
d02a0ec1b2 Fix of #8447 - Zero spacing when Clipper Z-coordinate (line width) equaled zero because the resulting path after clipping had vertices from a clipping polygon (which has Z-coordinate equal to zero). 2022-07-11 11:31:59 +02:00
Lukáš Hejl
38ca763c36 Fix of #8437 - Very tiny unprintable polygons caused InfillFailedException in the lightning infill. 2022-07-11 10:50:01 +02:00
Lukas Matena
c7640bb650 Update year in the copyright notice 2022-07-08 16:37:06 +02:00
Lukas Matena
c99de065f7 Fix of #8299 (Linux crash when selecting locales) 2022-07-07 16:09:56 +02:00
tamasmeszaros
7fbaf0f96c Fix previous commit 2022-07-07 15:57:15 +02:00
tamasmeszaros
6091412c6b Arrange params storage/retrieve functions now ignore locale 2022-07-07 15:53:53 +02:00
tamasmeszaros
e58a15bdf8 Prepare arrange for variable bed distance 2022-07-07 15:51:41 +02:00
tamasmeszaros
f025c9cd6f Adding overload for string conversion to float directly 2022-07-07 15:43:32 +02:00
enricoturri1966
a7af73795d Tech ENABLE_RAYCAST_PICKING - Method GLCanvas3D::_mouse_to_3d() modified to use the new scene raycaster instead of reading data from the depth buffer 2022-07-01 15:00:27 +02:00
enricoturri1966
c991798740 Tech ENABLE_RAYCAST_PICKING - Fixed wrong scope for ENABLE_RAYCAST_PICKING_DEBUG in GLCanvas3D::_picking_pass() causing the 3d scene to freeze while rotating it 2022-07-01 14:57:22 +02:00
YuSanka
49dd124169 Added link to helper for "Pressure equalizer" parameters 2022-07-01 13:35:47 +02:00
enricoturri1966
e6742279cb Attempt to fix crash at startup on Mac OS 2022-07-01 12:47:23 +02:00
enricoturri1966
a10495f132 Added some debug output to help finding the reason of crash at startup on Mac OS 2022-07-01 09:21:41 +02:00
enricoturri1966
4b6d2a58b0 Tech ENABLE_OPENGL_DEBUG_OPTION - Fix in GUI_App::init_glcontext 2022-06-30 13:40:46 +02:00
enricoturri1966
1fdb927b56 Fixed build on non Windows systems 2022-06-30 12:21:52 +02:00
enricoturri1966
38683ee221 Tech ENABLE_OPENGL_DEBUG_OPTION - Add new command line option '--opengl-debug' to allow users to force PrusaSlicer to output to console OpenGL related errors on graphics cards supporting it. 2022-06-30 09:49:29 +02:00
Lukáš Hejl
5d557ed32f Fix of #8436 - Crash in the lightning infill when some region has zero infill density. 2022-06-30 09:44:00 +02:00
Lukáš Hejl
f91fed7938 Added missing includes (GCC 11.2 without PCH). 2022-06-30 00:29:26 +02:00
Lukáš Hejl
7783915a34 Fix of #8435 - Division by zero in lightning infill when automatic extrusion width was used. 2022-06-29 18:33:57 +02:00
Lukas Matena
6c0db58628 Fixing conflicts part 4:
See previous commit. This one applies changes from master_250
to the files mentioned
2022-06-29 16:43:29 +02:00
Lukas Matena
d662bf2a18 Fixing conflicts part 3:
Some files have whitespace changes that make resolving conflicts difficult.
Take the version from master first, next commit will apply changes from master_250
2022-06-29 16:43:29 +02:00
Lukas Matena
e6d341f9f2 Fixing conflicts part 2:
SeamPlacer.cpp/.hpp files from master_250 were used, there should be no changes
in master that will be overwritten, the feature was backported from master and
only developed in master_250 from then on
2022-06-29 16:43:29 +02:00
Lukas Matena
62e59a4526 Fixing conflicts part 1:
fixed simple conflicts
2022-06-29 16:43:29 +02:00
Lukas Matena
b61714bb3e Merge branch 'master_250' (NO CONFLICTS FIXED):
CONFLICT (content): Merge conflict in resources/profiles/PrusaResearch.idx
CONFLICT (content): Merge conflict in resources/profiles/PrusaResearch.ini
CONFLICT (content): Merge conflict in src/libslic3r/CMakeLists.txt
CONFLICT (content): Merge conflict in src/libslic3r/Fill/Fill.cpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode.cpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode.hpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode/GCodeProcessor.cpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode/GCodeProcessor.hpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode/SeamPlacer.cpp
CONFLICT (content): Merge conflict in src/libslic3r/GCode/SeamPlacer.hpp
CONFLICT (add/add): Merge conflict in src/libslic3r/Geometry/Curves.hpp
CONFLICT (content): Merge conflict in src/libslic3r/PerimeterGenerator.cpp
CONFLICT (content): Merge conflict in src/libslic3r/Point.hpp
CONFLICT (content): Merge conflict in src/libslic3r/PrintConfig.hpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/ConfigWizard.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/GCodeViewer.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/GLCanvas3D.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/GUI_App.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/Gizmos/GLGizmoHollow.cpp
CONFLICT (content): Merge conflict in src/slic3r/GUI/Gizmos/GLGizmoSlaSupports.cpp
CONFLICT (content): Merge conflict in src/slic3r/Utils/FixModelByWin10.cpp
CONFLICT (modify/delete): t/perimeters.t deleted in HEAD and modified in master_250.  Version master_250 of t/perimeters.t left in tree.
CONFLICT (content): Merge conflict in tests/fff_print/CMakeLists.txt
CONFLICT (content): Merge conflict in tests/fff_print/test_fill.cpp
CONFLICT (content): Merge conflict in version.inc
CONFLICT (modify/delete): xs/xsp/PerimeterGenerator.xsp deleted in HEAD and modified in master_250.  Version master_250 of xs/xsp/PerimeterGenerator.xsp left in tree.
2022-06-29 14:37:14 +02:00
enricoturri1966
39b1222b22 Tech ENABLE_RAYCAST_PICKING - Rendering for rectangle selection made only inside the rectangle, on systems supporting framebuffers 2022-06-29 12:14:41 +02:00
tamasmeszaros
621ec86dbe Equip boost adapter with extensive 3D bounding box support 2022-06-29 10:55:04 +02:00
tamasmeszaros
a7e50b7a98 Generalize BoostAdapter for all Vec<> types and move out of SLA 2022-06-29 10:54:04 +02:00
tamasmeszaros
f90d62c771 Fix crash with a single support point 2022-06-29 10:52:48 +02:00
tamasmeszaros
d23f9d7674 Refactoring and performance optimization for support trees in SLA 2022-06-29 10:43:46 +02:00
enricoturri1966
ae76468f7c Tech ENABLE_RAYCAST_PICKING - Partial revert of 89ac932628 - Restored rectangle selection using encoded colors rendering 2022-06-28 14:12:57 +02:00
Vojtech Bubnik
1d41ffdd7d When placing seam, never produce segments shorter than 1.5um. 2022-06-28 10:30:04 +02:00
YuSanka
d81009c6ce Follow-up 56466abe99# - Fixed a Search in the Preferences options
+ Preferences dialog: Deleted unused variable 'reverted'
2022-06-27 11:10:33 +02:00
Vojtech Bubnik
f0886b46fb Follow-up to c6bcaedba9 2022-06-27 10:42:42 +02:00
Vojtech Bubnik
c6bcaedba9 Follow-up to d01f6099c3
Fixing unit tests.
2022-06-24 17:46:26 +02:00
Vojtech Bubnik
d01f6099c3 Fixing Polyline::split_at() to handle correctly splitting
at the first / last point.
2022-06-24 17:28:09 +02:00
Vojtech Bubnik
0c99a14b63 Follow-up to f1d52cb412
Fixes of cooling buffer logic:
    Fixed division by zero on zero length extrusions.
2022-06-24 16:46:49 +02:00
Vojtech Bubnik
f1d52cb412 Fixes of cooling buffer logic:
Fixed division by zero on zero length extrusions.
Added bunch of asserts to check for divisions by zero.
2022-06-24 15:08:35 +02:00
YuSanka
4c65e468de Localization: New POT and updated dictionaries for CZ, PL, IT and ES
+ Fix for minor issue https://github.com/prusa3d/PrusaSlicer/issues/5672#issuecomment-1160245417
+ Fix for #7858 - Small formatting error in dutch language
+ Community PO-files are extended by new phrases
2022-06-23 13:34:29 +02:00
Lukáš Hejl
3b53a27d5e Unified Arachne parameters and their description with our terminology. 2022-06-23 13:34:29 +02:00
YuSanka
e6f95515c7 Localization: Some phrases are fixed 2022-06-23 13:34:28 +02:00
PavelMikus
79cfefa2fe potential size_t overflow tiny bug fix 2022-06-23 13:34:24 +02:00
Lukas Matena
a96eaf5426 Fix crash when pressing Ctrl+A while a gizmo is open (#8416):
There were two separate issues. Missing update when select_all was invoked in
the scene and missing check when SLA supports/hollow gizmo were asked to select
all points/holes.
2022-06-22 16:51:27 +02:00
enricoturri1966
bcbde32678 Tech ENABLE_GL_CORE_PROFILE - Fixed rendering of rectangle selection with dashed lines 2022-06-22 11:27:40 +02:00
YuSanka
ba9993c198 ObjectLayers: Negative value for layer heights are suppressed
+ Set last valid value, when invalid numeric value was inputted
+ Linux specific: Fixed a crash, when alternate decimal separator was used in input
2022-06-22 11:09:09 +02:00
YuSanka
9d20b01c5b Linux specific: Fix for #7531, #8055, #8408 2022-06-22 11:09:09 +02:00
enricoturri1966
3928c5c01c Tech ENABLE_GL_CORE_PROFILE - Fixed rendering of circle cursor with dashed lines in GLGizmoPainterBase 2022-06-22 10:51:54 +02:00
Lukáš Hejl
9aca685dd4 Fixed a compiler warning. 2022-06-21 14:23:05 +02:00
Lukáš Hejl
c1af26e3fd Modified the pressure equalizer to silently ignores most of the invalid GCode lines. 2022-06-21 13:57:41 +02:00
YuSanka
c3bf861b17 Fix for fff_print_tests 2022-06-21 12:48:54 +02:00
YuSanka
5f5e971fe7 UnsavedChangesDialog: Fixed a crash, when enum_labels wasn't defined for some enum config option. 2022-06-21 12:48:39 +02:00
Lukáš Hejl
d65aaa1db9 Disabled ignoring the pressure equalizer parameters when 3MF is loaded. 2022-06-21 12:35:57 +02:00
Lukáš Hejl
a09cf52798 Fixed that fuzzy skin hadn't connected endpoints of extrusion when Arachne was used. 2022-06-21 12:35:56 +02:00
enricoturri1966
0a1d1ef6c8 Follow-up of 37d36616ee - Fixed previous commit 2022-06-21 11:29:18 +02:00
PavelMikus
f3d0e3c399 fix compile time warning (truncating double to float) 2022-06-21 11:11:10 +02:00
enricoturri1966
89ac932628 Tech ENABLE_NEW_RECTANGLE_SELECTION set as default 2022-06-21 11:10:57 +02:00
enricoturri1966
6d97de14d9 Tech ENABLE_RAYCAST_PICKING - Removal of all remaining code related to old OpenGL based picking 2022-06-21 09:16:36 +02:00
enricoturri1966
255d8657dd Tech ENABLE_RAYCAST_PICKING - Small refactoring 2022-06-21 08:26:39 +02:00
PavelMikus
732586de7c SeamPlacer: Removed skipping mechanics in alignment
improved snapping to sharp angles
reduced curling on smooth surfaces
Rear is now aligned
2022-06-20 17:41:05 +02:00
Lukas Matena
27a18065b3 Added possibly missing includes 2022-06-20 14:48:30 +02:00
enricoturri1966
37d36616ee Tech ENABLE_RAYCAST_PICKING - Do know allow picking while dragging gizmos 2022-06-20 14:07:38 +02:00
enricoturri1966
63890b5f8d Do know allow picking while dragging gizmos 2022-06-20 13:58:06 +02:00
YuSanka
07dfcdd94c Minor fixes for KR localization: Added missed line breaks 2022-06-17 17:37:34 +02:00
YuSanka
2688a29b08 SplashScreen: New image
+ PressureEqualizer" fixed warning
2022-06-17 17:14:14 +02:00
Lukas Matena
32e70e5f57 Fixed compiler warnings 2022-06-17 16:27:49 +02:00
PavelMikus
a3d10f7f50 fix deadlock condition varaible use in netfabb wrapper 2022-06-17 16:14:30 +02:00
Lukas Matena
9aa104d080 Revert "Merge branch 'pm_stable_meshfix' into dev_250"
This reverts commit 71a8ead282, reversing
changes made to a1143ab26e.
2022-06-17 16:13:18 +02:00
YuSanka
d59b11568e Print bed has to be updated, when printer preset is detached from the system preset 2022-06-17 15:35:38 +02:00
YuSanka
311ac96e45 Fixed default values for filament_cooling_initial_speed and filament_cooling_final_speed.
Don't use float value for double type parameter
2022-06-17 15:35:38 +02:00
Lukas Matena
570b43941e Fixed title label when run as G-Code Viewer:
Builds that were not tagged and contained number of commits since last tag
showed "-UNKNOWN" in the title bar, even when they went through the build server
2022-06-17 12:58:24 +02:00
Lukáš Hejl
3a792738cb Added a limit on how many GCode lines pressure equalizer is processing. It reduces pressure equalizer processing time a lot.
Also, the maximum segment length to split was decreased to make the transition between different flow rates smoother.
2022-06-17 11:09:04 +02:00
Lukas Matena
4079eac29a Fixed a failing assert in BuildVolume.cpp 2022-06-16 16:35:06 +02:00
Lukáš Hejl
1622208249 Fixed infill polygons filtering. 2022-06-16 14:01:56 +02:00
YuSanka
84ec233734 Follow-up d0b4a4a87d - Preferences Dialog:Set flag m_settings_layout_changed to false,
when CANCEL button was pushed.
2022-06-16 12:59:33 +02:00
enricoturri1966
db31995310 Allow drag and drop on files into PrusaSlicer no matter which is the current selected tab 2022-06-16 11:12:45 +02:00
PavelMikus
e70aea8b30 SeamPLacer: for extrusion loops, check all paths for ExternalPerimeter role
small parameter tuning
2022-06-16 10:12:44 +02:00
Lukáš Hejl
f34c1f14da Fixed the orientation of ExtrusionLoops when Arachne is used. 2022-06-15 23:28:11 +02:00
enricoturri1966
3a760d61e4 Tech ENABLE_RAYCAST_PICKING - Fixed other warnings on Mac 2022-06-15 15:32:34 +02:00
enricoturri1966
692aabd8e1 Tech ENABLE_RAYCAST_PICKING - Fixed build and warnings on Mac 2022-06-15 14:58:04 +02:00
enricoturri1966
f45711e7e5 Removed tech ENABLE_RENDER_PICKING_PASS 2022-06-15 14:29:29 +02:00
enricoturri1966
7926781ac1 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Gizmo SLA Supports 2022-06-15 14:07:42 +02:00
enricoturri1966
ae09c864c2 Follow-up of c5c5c23ed2 - Fixed raycasters update after deletion 2022-06-15 09:09:11 +02:00
enricoturri1966
c5c5c23ed2 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Gizmo Hollow 2022-06-15 09:01:13 +02:00
Lukas Matena
c3edafcc33 Arachne parameter names: unified case with the rest 2022-06-14 12:48:54 +02:00
enricoturri1966
040a8467bd #8401 - Show error message when trying to import invalid 3mf 2022-06-14 12:17:15 +02:00
enricoturri1966
f5e68a6ac6 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Gizmo Flatten 2022-06-14 11:30:30 +02:00
enricoturri1966
9ac5ab857b Tech ENABLE_RAYCAST_PICKING - Refactoring to allow for easier update of raycasters transform 2022-06-14 10:44:14 +02:00
Lukas Matena
419014133a OSX specific: Fixing opening of G-codes by drag & dropping of G-code
on slicer icon in case slicer is not yet running. (backport of 91a5ceb from master)
2022-06-14 10:03:10 +02:00
Vojtech Bubnik
91a5ceb1dd OSX specific: Fixing opening of G-codes by drag & dropping of G-code
on slicer icon in case slicer is not yet running.
2022-06-13 15:44:43 +02:00
enricoturri1966
0a7dae6df6 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Cut Gizmo 2022-06-13 14:54:52 +02:00
enricoturri1966
0cedf331b1 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Scale Gizmo 2022-06-13 14:46:06 +02:00
enricoturri1966
9962a5a873 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Rotate Gizmo 2022-06-13 14:17:19 +02:00
enricoturri1966
df47ba7122 Tech ENABLE_RAYCAST_PICKING - Raytraced picking of gizmos - Move Gizmo 2022-06-13 13:09:24 +02:00
PavelMikus
20a42e3e2f Fix crash on painted seams - painting blocker close to enforced could cause
points to be recognized as enforced and then marked as blocked, which could
brake the middle enforced point selection
2022-06-13 13:01:23 +02:00
PavelMikus
745c5ecd9b SeamPlacer - fix search radius estimation for visibility computation (use exp distribution)
slightly tune parameters
2022-06-13 10:05:35 +02:00
enricoturri1966
36ec839767 Tech ENABLE_GIZMO_GRABBER_REFACTOR set as default 2022-06-10 15:46:28 +02:00
Lukáš Hejl
bd4b63e67d Fixed an issue when the Lightning infill stuck in an infinite loop on some models.
Cased by two sampled points closer than chosen spacing.
2022-06-10 15:31:02 +02:00
Lukáš Hejl
dba1179708 Fixed an issue when the Lightning infill stuck in an infinite loop on some models.
Cased by two sampled points closer than chosen spacing.
2022-06-10 15:25:04 +02:00
enricoturri1966
6c6713c4ad Tech ENABLE_RAYCAST_PICKING - Raytraced picking of volumes 2022-06-10 14:56:15 +02:00
enricoturri1966
cfc3988b9f Tech ENABLE_RAYCAST_PICKING - 1st installment - Raytraced picking of printbed 2022-06-10 13:20:52 +02:00
Lukáš Hejl
3fba411d17 Follow-up of 18124b07a2 - Forgot to remove code for debugging. 2022-06-10 12:12:26 +02:00
Lukáš Hejl
18124b07a2 Fixed a crash when Arachne returns extrusion with zero-length (just two same endpoints). 2022-06-10 11:46:46 +02:00
Lukáš Hejl
9c07218d82 Reworked pressure equalizer and GCode processing pipeline to make pressure equalizer always returns one whole layer at once.
Now pressure equalizer is returning one layer back (the previous layer).

GCode produced by pressure equalizer now has the same number of decimal places as non-processed GCode.

Pressure equalizer was disabled for external perimeters and gap-fill.
2022-06-10 10:54:35 +02:00
Lukáš Hejl
a497769558 Modified the description of pressure equalizer parameters and moved it to the separate section. 2022-06-09 21:07:48 +02:00
Lukáš Hejl
0463518dc3 Attempted to reenable the old pressure equalizer and fix its issues. 2022-06-09 21:07:41 +02:00
Lukáš Hejl
9be524b01b Fixed an unintentional transformation of ExPolygon to a single vector containing all points from contour and all holes in the Lightning infill.
This was causing most of the issues with randomly generated infill hanging in the air without any support.
2022-06-09 14:51:16 +02:00
Lukáš Hejl
5d82c1601b Fixed an unintentional transformation of ExPolygon to a single vector containing all points from contour and all holes in the Lightning infill.
This was causing most of the issues with randomly generated infill hanging in the air without any support.
2022-06-09 14:49:45 +02:00
Lukáš Hejl
3d9b13a5e3 Added fuzzy skin for Arachne. 2022-06-09 11:23:41 +02:00
Lukáš Hejl
357dbb4686 Fixed the flow of bridging perimeters for Arachne. 2022-06-09 11:23:41 +02:00
Lukáš Hejl
dc2789a0e8 Added computation of bridging perimeters for Arachne. 2022-06-09 11:23:41 +02:00
Lukáš Hejl
f460c53d86 Backported a fix from Clipper 6.4.2 for the issue that Clipper Z coordinated has incorrect value because ZFillFunction wasn't called in all cases (https://sourceforge.net/p/polyclipping/bugs/160/). Also, this issue led to duplicity vertices with the same XY coordinates but differ in Z coordinates. 2022-06-09 11:05:05 +02:00
Vojtech Bubnik
0b6c65ee60 G-code thumbnails in other than PNG format: Fixing Perl unit tests. 2022-06-09 09:58:13 +02:00
Lukáš Hejl
46ade54937 Backported a fix from Clipper 6.4.2 for the issue that Clipper Z coordinated has incorrect value because ZFillFunction wasn't called in all cases (https://sourceforge.net/p/polyclipping/bugs/160/). Also, this issue led to duplicity vertices with the same XY coordinates but differ in Z coordinates. 2022-06-09 09:22:40 +02:00
enricoturri1966
9bd0a3c6b1 Follow-up of 030f460114 - compress_thumbnail_jpg() implemented using embedded libjpeg 2022-06-08 21:12:00 +02:00
enricoturri1966
9bb5874d50 Follow-up of 87cff55856 - Implementation of compress_thumbnail_jpg() 2022-06-08 21:12:00 +02:00
Lukáš Hejl
36bd65d810 Added a missing include (GCC11.1 without PCH). 2022-06-08 21:12:00 +02:00
Vojtech Bubnik
e2405b51da Fixed typo in thumbnail_QOI tag. 2022-06-08 21:12:00 +02:00
Vojtech Bubnik
8ed6d1b466 WIP: Implemented support for QOI G-code thumbnail format as requested
by the RepRapFirmware team due to their low RAM budget for decompression.
Bundled the QOI image compression library.
2022-06-08 21:12:00 +02:00
Lukas Matena
5792190515 Fix of incorrect MMU filament estimate 2022-06-08 21:09:39 +02:00
Lukas Matena
48e1919ff1 Fix double undo/redo snapshot when using SpinCtrl 2022-06-08 21:08:40 +02:00
Lukas Matena
60894a26dd Fix of 8342 (deselection when changing object-specific settings) 2022-06-08 14:49:31 +02:00
enricoturri1966
b42e4b2927 GLTexture - Use BitmapCache::nsvgParseFromFileWithReplace() in place of nsvgParseFromFile() to load images from files 2022-06-08 13:12:29 +02:00
Lukas Matena
9420f47b26 Fixed a crash when rescaling or changing color mode (Windows, macOS) 2022-06-08 10:32:54 +02:00
PavelMikus
27a7ddccb6 improve visibility estimation via distance to plane weighting.
increase angle importance, improve alignment
2022-06-08 10:28:21 +02:00
enricoturri1966
8f40270f93 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3_rebase 2022-06-08 09:06:12 +02:00
tamasmeszaros
86ebe946d9 Make AStar use InvalidQueueID constant 2022-06-07 16:08:09 +02:00
tamasmeszaros
4f8535d0d5 Move out invalid_id constant from MutablePriotityQueue template class
Enclose it into Slic3r namespace
2022-06-07 16:05:16 +02:00
PavelMikus
c09781d61d optimize embedding computation
fix seed of random generators
set high angle importance for nearest mode
2022-06-07 11:12:48 +02:00
PavelMikus
13ac7a24d8 Refactoring of the short edge collpase, should greatly improve performance
integration of NormalsUitls from SDF branch
2022-06-07 11:12:48 +02:00