405 Commits

Author SHA1 Message Date
Lukas Matena
3ab20de3c0 Wipe tower: Use perimeter_speed and infill_speed instead of the hardcoded values 2023-07-27 12:53:10 +02:00
Vojtech Bubnik
02f69575ef Fix of SPE-1752, GH #10736:
Extended the bridge expansion algorithm to expand into sparse infill
by a maximum of 1 perimeter width. This solves a situation, where
the "ensure vertical wall thickness" region is filtered out as
too narrow to be important for print stability while the bridge expansion
only happened into the "ensure vertical wall thickness" regions before.

Partial revert of cf6b6ff4e4c47ebbe08f97cf80d923cde81c29af, reverts
	Fix SPE-1726 - hole between bridges and perimeters caused by thin internal fill surface
    GithubIssue https://github.com/prusa3d/PrusaSlicer/issues/10231#issuecomment-1546779200
    During sorting of surfaces into top, bottom and internal, expand bottom bridges by one spacing unit, to ensure better anchoring
2023-06-07 14:24:09 +02:00
Pavel Mikus
cf6b6ff4e4 Fix SPE-1726 - hole between bridges and perimeters caused by thin internal fill surface
GithubIssue https://github.com/prusa3d/PrusaSlicer/issues/10231#issuecomment-1546779200
During sorting of surfaces into top, bottom and internal, expand bottom bridges by one spacing unit, to ensure better anchoring
2023-05-30 15:52:34 +02:00
Vojtech Bubnik
ebecf81bf2 Fixed some more compilation warnings 2023-05-25 13:04:32 +02:00
enricoturri1966
25575bb3f3 SPE-1716 - Fixed synchronization of layer editing texture when using undo/redo 2023-05-25 11:59:57 +02:00
Pavel Mikus
c60a10b7e4 fix SPE-1711 Vertical holes in bridging over infill 2023-05-16 15:45:23 +02:00
PavelMikus
3346b422a7 Fixed various bugs in reconstruction of polygon from vertical lines 2023-05-12 11:29:50 +02:00
PavelMikus
4409743ea4 Fixed wrong usage of thickPolyline, added description of what it should actually contain 2023-05-12 11:29:50 +02:00
PavelMikus
9d3a7f9f2a Implement connecting of lines, but does not work yet 2023-05-12 11:29:50 +02:00
PavelMikus
6e9e4ee8c3 SPE-1626 - improve anchoring over lightning infill by expanding the bridges surfaces 2023-05-12 10:32:14 +02:00
PavelMikus
22f7fe3e21 Fix bugs, finish the feature 2023-05-12 10:32:14 +02:00
PavelMikus
fbe102a7fe initial impl, Created surfaces have wrong parameters 2023-05-12 10:32:14 +02:00
Vojtech Bubnik
84db6356b3 Organic Supports: support_tree_branch_diameter_double_wall
to control when the 2nd wall kicks in.
2023-05-09 10:46:56 +02:00
Vojtech Bubnik
ad203baf77 Moved FFF support code to libslic3r/Support directory 2023-05-05 14:05:22 +02:00
Vojtech Bubnik
9de269889c Improved parallel_foor grain size for ensuring 2023-04-24 11:34:37 +02:00
Vojtech Bubnik
c9a55c2c01 Merge remote-tracking branch 'remotes/origin/vb_scalable_alloc' 2023-04-21 16:28:39 +02:00
PavelMikus
3e3ccc200e Fixed artefacts, made the new slowdown enabled with dynamic overhang speed at all times 2023-04-21 10:04:45 +02:00
Vojtech Bubnik
9cde96993e Reworked the ClipperLib / Polygon types to use
the tbb::scallable_allocator to better scale on multiple threads.
2023-04-20 11:31:44 +02:00
PavelMikus
54db40eae2 Improve bridging lines cut on lightning infill 2023-04-13 17:28:13 +02:00
Lukas Matena
069d63a10c Fixed height detection when using seq. printing (broken in 3349644, fixes #10312) 2023-04-11 13:12:02 +02:00
PavelMikus
68d0f2da2b Improve bridge over infill filtering, fix tests 2023-04-06 15:54:16 +02:00
PavelMikus
32c05aa47a Fix bridging over infill - After wrong flow has been fixed, another problem appeared with small layer heights -the bridging layer was not generated 2023-04-06 14:55:33 +02:00
PavelMikus
fe292cc45d Fix SPE-1642 - wrong flow used for spacing of internal bridging over infill, also caused error when using thin nozzle (0.1) 2023-04-06 11:25:18 +02:00
PavelMikus
b1081d7ac3 Fix segfault in ensuring regularization - wrong check for unbounded access 2023-04-06 09:46:12 +02:00
PavelMikus
b5514120e5 Ensuring improvements and fixes:
Fix issue https://github.com/prusa3d/PrusaSlicer/issues/9978  -  too agressive filtering caused holes in top surfaces
Fix issue https://github.com/prusa3d/PrusaSlicer/issues/10231  - thin bridges not anchored, again due to too aggressive ensuring filter
Fix issue https://github.com/prusa3d/PrusaSlicer/issues/9988  -
	Slicing with 1 top/bottom surface and very low min shell thickness caused non-anchored solid fills.
	Fixed by handling as a special case.
2023-04-05 18:09:28 +02:00
PavelMikus
3a08097cd2 Improve performance of bridge over infill algorithm for very noisy/textured top surfaces
improve bridging direction unification when briding areas start overlapping
2023-03-30 16:23:03 +02:00
Vojtech Bubnik
eec51c67d3 Refactoring of PrintObject::discover_vertical_shells() for readability
and efficiency.
Also added an experiment of adding one more "ensuring" layer to support
top / bottom surfaces, disabled with one_more_layer_below_top_bottom_surfaces
2023-03-29 10:49:49 +02:00
PavelMikus
c6c6f361da remove infill lines which are snapped to the perimeter from anchors - they confuse the angle selection algorithm 2023-03-27 14:12:44 +02:00
PavelMikus
0eb2a2cf04 Disable "infill only where needed" option
Note: only commented out for now.
2023-03-27 13:27:57 +02:00
YuSanka
18e56c3d53 Localization: Fixes for some phrases
+ Added/Fixed comments where it's needed
2023-03-23 22:55:38 +01:00
YuSanka
19f2a1d9e9 Unified usage of localization macros in slic3r/libslic3r 2023-03-23 22:55:38 +01:00
Pavel Mikus
fbcc1ab276 Fix SPE-1595 - crash when no bridgin surfaces present and adaptive fill selected 2023-03-22 13:23:07 +01:00
PavelMikus
79adb72a25 Fix int overflow, reduces amount of bridging substantially, improve code description,
extend bridge anchors when anchoring to solid surfaces on lower layers
2023-03-17 17:15:07 +01:00
PavelMikus
8ed8adfd3d Fix anchoring over sparse infill bug causing overextrusion when stacking thick bridges onto each other 2023-03-16 14:56:07 +01:00
PavelMikus
5277ed502d improve anchoring on lower layer solids, cut the expanded bridge strictly, which hopefully fixes tests 2023-03-15 16:13:06 +01:00
PavelMikus
eb73bf7f24 Bridging over sparse infill - improve coliding regions merging, smoothen results, dissolve tiny ensuring regions around bridging 2023-03-14 16:40:55 +01:00
PavelMikus
c6fd339a39 remove cracks in boundary surface via closing - without it, the bridges were sometimes cut in half 2023-03-14 12:08:28 +01:00
PavelMikus
257837c071 Fix one and zero perimeter case - no bridging was generated 2023-03-14 12:08:28 +01:00
PavelMikus
4af37ca4a5 fix bug - layer id is not same as layer idx, because of raft (super confusing) 2023-03-14 12:08:28 +01:00
PavelMikus
822ea84e0d Fix lambda having modify access - not needed 2023-03-14 12:08:28 +01:00
PavelMikus
12f1cd0bc0 added semi support for lightning infill 2023-03-14 12:08:28 +01:00
PavelMikus
487d9209ed Fix and improve region filtering 2023-03-14 12:08:28 +01:00
PavelMikus
76209d89ff Fixed lighting infill crash.
TODO filtering of small ensuring regions
2023-03-14 12:08:28 +01:00
PavelMikus
d223eef38d Do not generate other than sparse infill lines
Split jobs if candidates bounding boxes do not overlap - otherwise it can become completely linearized and very slow
Improve formatting
2023-03-14 12:08:28 +01:00
PavelMikus
ad693532d3 Fixed clustering for threads issue - inverse comparison, lower job idx incorrectly initialized 2023-03-14 12:08:28 +01:00
PavelMikus
3782d24ccf Fixed bugs with bridging area determination 2023-03-14 12:08:28 +01:00
PavelMikus
f8e7d1b01c core implemented, now fixing the issues 2023-03-14 12:08:28 +01:00
PavelMikus
f4e44f9750 rework of bridiging over sparse infill in progress 2023-03-14 12:08:28 +01:00
Vojtech Bubnik
6f5b71b7df Fix of ca0b218a56ab502a2c51f5e9d7d67ee6a12bbe35 2023-03-10 09:48:02 +01:00
Vojtech Bubnik
9ce81d6d12 Organic Supports improvements:
Added support_tree_branch_distance parameter to UI
Fixed error in calculation of placeable areas, which made some trees to cut through an object.
Locked the tree tips against smoothing of their centerline path.
Reduced density of tips with zero interface layers (see continuous_tips).
Reduced default support_tree_top_rate to 15%
Refactored placement of interfaces for readability.
2023-03-10 09:42:22 +01:00