Commit Graph

20447 Commits

Author SHA1 Message Date
PavelMikus
8e2e4154bd description of the functions 2022-08-22 11:01:58 +02:00
PavelMikus
864c85d47e replace convex hull computation with KDTree, improve sticking centroid estimation 2022-08-22 11:01:58 +02:00
PavelMikus
9294d5e604 improved triangle tracking in triangle selector - if not hit registered, nearest triangle is taken instead 2022-08-22 11:01:58 +02:00
PavelMikus
d5a584a2c2 fixed bug with base layers merging to single accumulator 2022-08-22 11:01:58 +02:00
PavelMikus
eaffb14921 Improved stability supports - now accounts for base convex hull, decreases area of points if too close. 2022-08-22 11:01:58 +02:00
PavelMikus
8dc3956b64 bug fixes, raycasting to find good support spot 2022-08-22 11:01:58 +02:00
PavelMikus
bef26fee2b Bugfixing and refactoring 2022-08-22 11:01:58 +02:00
PavelMikus
08071d85ee integration of the simple physical model into the refactored version 2022-08-22 11:01:58 +02:00
PavelMikus
30f072457f Refactored version without voxel grid, init commit 2022-08-22 11:01:58 +02:00
PavelMikus
51d738c564 refactored algorithm to use AABB tree instead of edge grid 2022-08-22 11:01:58 +02:00
PavelMikus
ad4502d96e implemented AABBTree version for lines 2022-08-22 11:01:58 +02:00
PavelMikus
e39d14bf98 finished base for curling stability tests
added comments
2022-08-22 11:01:58 +02:00
PavelMikus
4144b73ccd curling estimation improvements 2022-08-22 11:01:58 +02:00
PavelMikus
609f42fb18 refactoring, pressure points extracted but not accounted for 2022-08-22 11:01:58 +02:00
PavelMikus
68243edc65 vastly improved computational time by optimizing the convex hull computations 2022-08-22 11:01:58 +02:00
PavelMikus
49e6d15a67 vastly improved curling detection, 3d histogram of curled height now corresponds
with real prints
2022-08-22 11:01:58 +02:00
Godrak
9b290bd211 debug info, problem with random freezing, also support point downward projection still has issues 2022-08-22 11:01:58 +02:00
Godrak
91a4047586 Fixed various problems with support placement. 2022-08-22 11:01:58 +02:00
PavelMikus
6f6a0e7efd Another bulk of bug fixes. Some problems however persist, support points are still placed on weird spots 2022-08-22 11:01:58 +02:00
PavelMikus
6caec6926c TON of bugfixes, balancing still does not work 2022-08-22 11:01:58 +02:00
Godrak
824e3f111e extended model with balance checking - centroids of segments, bed adhesion, supports adhesion, model stability 2022-08-22 11:01:58 +02:00
Godrak
5cc9bd380b Compilation fixes after rebase 2022-08-22 11:01:58 +02:00
Godrak
148b24bd93 accumulators given base height;
object base split to separate islands by connectivity
2022-08-22 11:01:58 +02:00
PavelMikus
d9bd1080da UNFINISHED!
refactoring of algorithm to bottom up propagation of support islands
Added CentroidAccumulators for balance issues checking
2022-08-22 11:01:58 +02:00
PavelMikus
f0bdf2760c improved voxelization - fixed bugs with sinking objects.
testing version of flooding the weight matrix
2022-08-22 11:01:58 +02:00
PavelMikus
cfe9b27a6d refactoring,
initial work on weight distribution matrix
2022-08-22 11:01:58 +02:00
PavelMikus
a46e1dc79c initial works on EdgeGrid alternative 2022-08-22 11:01:58 +02:00
PavelMikus
c14b4a5d2e quick search simplified, removed expensive layer estimators
added explanations and comments
2022-08-22 11:01:58 +02:00
PavelMikus
1955cd066e include external_perimeters_first option, change paramters accordingly 2022-08-22 11:01:58 +02:00
PavelMikus
d41b20547d greatly upgraded the algorithm for support placement -
added dynamic splitting of long paths,
included flow width of current and previous layer,
refactored and renamed parameters
2022-08-22 11:01:58 +02:00
PavelMikus
e516ba0dd0 Moved TriangleSelectorWrapper methods to cpp file, added comment describing problems with FacetsAnnotations/TriangleSelector
structure
2022-08-22 11:01:58 +02:00
PavelMikus
706cd63e61 Beta version of the algorithm
Implemented long unsupported segments detection, which considers also curvature
Implemented detection of curved segments at the edge of the previous layer - danger of warping/curling
2022-08-22 11:01:57 +02:00
PavelMikus
adf39805bc work in progress:
hooked in new step: posSupportableIssuesSearch
created layout of the processing
2022-08-22 11:01:57 +02:00
enricoturri1966
e9f5551450 #8563 - Fix icon scaling causing crash on startup. Ported from c8bb0a46b8 2022-08-22 09:53:51 +02:00
Lukas Matena
6690d49bea Bumped up version to 2.5.0-rc1 2022-08-19 16:41:23 +02:00
Lukáš Hejl
9430387354 Windows specific: Use mipmaps generated through OpenGL for AMD graphics cards with drivers newer than 22.6.1.
Since AMD driver version 22.7.1, there is probably some bug in the driver that causes the issue with the missing texture of the bed. It seems that this issue only triggers when mipmaps are generated manually (combined with a texture compression) and when mipmaps are generated through OpenGL glGenerateMipmap is working.

This workaround detects the AMD driver version and generates mipmaps through OpenGL for driver versions newer than 22.6.1.
2022-08-19 15:18:33 +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
rtyr
0c22ca3ece
Sync with PrusaSlicer-settings 2022-08-18 15:48:10 +02:00
YuSanka
dcdbc6bff1 Localization: Updated dictionary for JA 2022-08-18 13:43:47 +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
f586a3e727 Merge remote-tracking branch 'origin/et_opengl_es_rebase' 2022-08-18 13:23:38 +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