Commit Graph

4912 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
9cefc74e3d Fix using of deprecated opengl functions 2022-08-31 15:53:13 +02:00
Filip Sykala - NTB T15p
c549c6afbe Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/CMakeLists.txt
#	src/libslic3r/Format/3mf.cpp
#	src/libslic3r/Model.hpp
#	src/libslic3r/Point.hpp
#	src/libslic3r/Technologies.hpp
#	src/slic3r/CMakeLists.txt
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/GLSelectionRectangle.cpp
#	src/slic3r/GUI/GUI_Factories.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoMove.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoMove.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
#	src/slic3r/GUI/MeshUtils.cpp
#	src/slic3r/GUI/MeshUtils.hpp
#	src/slic3r/GUI/ObjectDataViewModel.cpp
#	src/slic3r/GUI/ObjectDataViewModel.hpp
#	src/slic3r/GUI/Selection.cpp
2022-08-31 15:22:10 +02:00
Filip Sykala - NTB T15p
27e640180f Add unprojecting of SurfacePatch contours 2022-08-31 08:35:43 +02:00
Vojtech Bubnik
eacacc7317 WIP Tree Supports: Added anchors at the starts of tree support loops,
extruding the support loops in consistent (CCW) orientation,
always starting with the anchor.
2022-08-30 17:23:30 +02:00
Lukas Matena
d7a34f7e40 Merge branch 'master_250' 2022-08-30 16:31:07 +02:00
YuSanka
9bb74d92c7 Fix for #8380 - Disable/Remove "Sliced Object "*" looks like a logo or a sign
Preferences: Added option "Allow automatically color change"
2022-08-30 14:32:16 +02:00
Lukáš Hejl
614cd7081d Fix of #8778 and #8760: Artifacts on models when Arachne was used.
This was caused by mistakenly swapping the key and the value in a vertex map.
2022-08-30 12:29:06 +02:00
Lukas Matena
b878b3a80f Follow-up to 9e88954 (avoid unnecessary copy) 2022-08-30 11:14:41 +02:00
YuSanka
16675a42a9 Follow-up f277bc80c2 - Added missed include 2022-08-30 11:10:42 +02:00
Lukas Matena
87a51165f3 Fix of #8766: PP scripts not working on UNIX when $SHELL is undefined:
thanks @jfbauer432 for pointing the problem out.
2022-08-30 10:50:33 +02:00
YuSanka
f277bc80c2 ConfigOptionDef: min/max values type are changed from INT to FLOAT. 2022-08-30 10:33:52 +02:00
Lukáš Hejl
de48bcd1b2 Fix of #8724, #8747, and #8753: Crash when Voronoi vertexes of a finite edge have some coordinate NaN or infinite. 2022-08-30 08:28:14 +02:00
Vojtech Bubnik
c74f16d7c7 Added filament type "PA" to the list of known filament types.
While we already had "NYLON" in the list, "PA" code is promoted
by Prusa Filament company.
2022-08-29 17:39:33 +02:00
YuSanka
656a1d262a Fix for #2519 - Takes focus away from input box when moving cursor to plater
Take focus away only, if ObjectList was focused, when mouse cursor is moved to 3d-Scene
2022-08-29 15:19:03 +02:00
enricoturri1966
9e65fc1cac SPE-1277 - Fixed toolpath height calculated while processing custom start gcode 2022-08-29 14:42:19 +02:00
Vojtech Bubnik
c1807d6acd Follow-up to c36af0e739
Fixed a bug introduced in Polygon.cpp Polygon::contains(_
2022-08-29 11:52:43 +02:00
Vojtech Bubnik
c36af0e739 WIP TreeSupports: Expand enforced areas so that the supports will be
generated even on steep overhangs.
2022-08-26 09:31:12 +02:00
YuSanka
c900f2e04f Fix for SPE-1271 - The profile is displayed as modified even after reverting all changes 2022-08-25 16:42:48 +02:00
Filip Sykala - NTB T15p
16a84ebc49 Fix build 2022-08-25 15:01:09 +02:00
Filip Sykala - NTB T15p
63121cee2e Better healing for Glyph shape - remove duplicit points + self intersections
Add search of intersecting points (compared with CGAL)
Triangulation can [optionaly] accept multi points
2022-08-25 13:28:10 +02:00
enricoturri1966
4e188c71c3 SPE-1275 - Tech ENABLE_WORLD_COORDINATE - Fixed update of non selected instances when applying mirror 2022-08-25 11:59:51 +02:00
Vojtech Bubnik
7e77048593 Removed shiny profiler. The Shiny profiler was only working on MSVC
and nowadays the sampling profiler inside Visual Studio is better.
2022-08-24 16:32:01 +02:00
Vojtech Bubnik
51cfec55cf WIP TreeSupports: Fixed yet some more compiler warnings 2022-08-24 15:32:23 +02:00
Vojtech Bubnik
f54ba6aeaf WIP TreeSupports: Fixed some more compiler warnings 2022-08-24 14:39:13 +02:00
Vojtech Bubnik
9045ff8f0e WIP TreeSupports: Fixed some compiler warnings 2022-08-24 14:03:21 +02:00
Vojtech Bubnik
5b62a4954e WIP TreeSupports: Taking into account the support angle threshold
and number of enforced layers.
2022-08-24 13:45:56 +02:00
PavelMikus
9e88954fbc Fix of issue 8695 - seam enforced areas were not respected with arachne generator.
The real issue was with T-Junctions created by Arachne - seam placer then sometimes
choose the wrong perimeter to split. The fix cases the seam placer to look for two
consecutive points that point to the same perimeter, which enusres that the correct
loop is split
2022-08-24 11:36:41 +02:00
Vojtech Bubnik
b9cb63c14c WIP TreeSupports:
Fixed after code review by @ThomasRahm:
Restored TreeModelVolumes::safeOffset() because it prevents
a fast (steep branch angle) branch to tunell through the object wall.
af7108f792 (r81983536)
2022-08-24 11:26:26 +02:00
enricoturri1966
abbc99924e Follow-up of 6be84d529d - Fixed processing of spiral vase mode in GCodeProcessor::process_G1 2022-08-24 09:48:50 +02:00
Vojtech Bubnik
abc2bff3d8 One more OSX specific fix 2022-08-24 09:06:37 +02:00
Vojtech Bubnik
5acbcebf20 Fixing compilation on OSX 2022-08-23 17:25:06 +02:00
Vojtech Bubnik
3f69643516 Merge branch 'vb_treesupports' 2022-08-23 16:45:34 +02:00
Vojtech Bubnik
bfbfdaedb9 WIP TreeSupports: Fixed some compiler warnings and errors. 2022-08-23 12:04:18 +02:00
Vojtech Bubnik
b9e7cd2d7b WIP TreeSupports: Improved speed of TreeModelVolumes by better
parallelization, cleaned up the code by better structuring
the collision caches with their mutexes.
2022-08-23 11:37:06 +02:00
Vojtech Bubnik
14e0cd0e96 Parallelized PrintObject::bridge_over_infill() 2022-08-22 15:41:36 +02:00
Vojtech Bubnik
7949ea9544 Fixed some compiler warnings.
Removed some implicit type conversions of ExPolygon (to Points, Polylines, Polygons)
Fixed obsolete boost::spirit includes.
2022-08-22 15:14:54 +02:00
YuSanka
eac1191b25 Fix for #8710 - Changing colors doesn't qualify as a change to save project 2022-08-22 14:53:03 +02:00
Lukáš Hejl
8c0db761c1 Fix #8716, #8717, and #8718: The pressure equalizer was producing a malformed GCode that caused underextrusion. 2022-08-19 15:07:11 +02:00
Vojtech Bubnik
781a9535db Fixed performance issue at backgorund processing update
with a large number of modifier meshes:
Bounding box of a chain of modifier meshes overlapping with
an object bounding box was not correctly calculated (bounding boxes
were unioned instead of intersected).
2022-08-19 15:03:39 +02:00
Lukáš Hejl
f95a6e3d33 Follow-up to 263b23fb46: Fixed an assert. 2022-08-19 09:09:59 +02:00
Lukáš Hejl
263b23fb46 Follow-up to 6f5813a849: Recalculate infill surfaces when infill_only_where_needed is enabled while switching from the Lightning infill to another infill or vice versa. 2022-08-18 21:17:39 +02:00
PavelMikus
be9cae74a0 Random seam fix - pseudorandom generator instead of rand() 2022-08-18 17:19:58 +02:00
PavelMikus
d746ece41a fix performance problem in seam placer - do not generate merged islands for each layer; use lslices insted
affects also overhang estiamtion and thus other params
2022-08-18 17:19:58 +02:00
Lukáš Hejl
952a6c882c Fixed an issue that the wipe was shorter when it was located where extrusion width was changing. 2022-08-18 17:00:28 +02:00
Vojtech Bubnik
55835aa050 Optimization of GCodeViewer vertex buffer generator:
Rounding by round_to_bin() is now 2x faster on MSVC.
2022-08-18 13:32:30 +02:00
enricoturri1966
c497306a60 Disabled tech ENABLE_OPENGL_ES before merging branch et_opengl_es_rebase into master 2022-08-18 13:22:10 +02:00
enricoturri1966
2b996158d2 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_opengl_es_rebase 2022-08-18 12:51:55 +02:00
Lukáš Hejl
499c2253bb Fix of #8704 - Travels in spiral vase mode when Arachne is used.
Now Arachne is used just for bottom layers, and for spiralizer layers is used Classic perimeter generator.
2022-08-18 11:22:47 +02:00
Lukáš Hejl
6f5813a849 Fix of #8648 - Lightning infill wasn't connected to perimeters when it was combined with the option "Only infill where needed".
Now Lightning infill will ignore this setting and treat it as off. Because Lightning infill and "Only infill where needed" do a similar thing, and their combination doesn't make much sense.
2022-08-18 11:22:45 +02:00
Lukáš Hejl
2115b40728 Fixed incorrectly computed starting position in Concentric infill when Arachne is used. 2022-08-18 11:22:39 +02:00