Commit graph

10650 commits

Author SHA1 Message Date
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
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