Commit Graph

20506 Commits

Author SHA1 Message Date
PavelMikus
7743bf2502 store pointer to original extrusion in each line 2022-08-22 11:01:58 +02:00
PavelMikus
619309a1a4 bug fix - external extrusions were cleaned out before use 2022-08-22 11:01:58 +02:00
PavelMikus
0a8f70c1ba inital phase of refactoring, segmentation should now build graph of connected sections 2022-08-22 11:01:58 +02:00
PavelMikus
263e16ca92 draft mode of recon_thin_islands, but not working properly 2022-08-22 11:01:58 +02:00
PavelMikus
91ec455fa3 remove unnecesary randomization 2022-08-22 11:01:58 +02:00
PavelMikus
0187ed855e do not consider concave angles for curling, they actually improve the issue 2022-08-22 11:01:58 +02:00
PavelMikus
8e5cdf29ba improve curling model parameters,
other small improvements
2022-08-22 11:01:58 +02:00
PavelMikus
cf94c44fd5 add voxel grid cache to suppress accumulation of stability support points 2022-08-22 11:01:58 +02:00
PavelMikus
6a971b462d estimation of malformed and curled segments, increase extruder conflict power accordingly 2022-08-22 11:01:58 +02:00
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