Fix support interface semantics, gap handling, behavior; fix bottom interface generation for organic trees; fix non organic tree interfaces (#11812)

* Fix support interface semantics and gap handling

Fix zero-gap interface detection and gap initialization for supports and raft.
Ensures correct top/bottom contact semantics and avoids relying on default zero gaps.

* Additional fixes and robustness improvements

Fix incorrect coupling between top and bottom support interface spacing and density, ensuring bottom interfaces use their own parameters for smoothing and toolpath generation.
Restore correct bottom interface generation for organic (tree) supports when a non-zero bottom Z gap is used, and preserve contacts even when base polygons are empty.
Improve robustness of organic support slicing by fixing layer index drift and guarding against degenerate polygon boolean operations.

* Typo and semantics fix

differnt_support_interface_filament -> different_support_interface_filament

soluble -> zero_top_z_gap

* Fix non organic tree bottom support interface generation

Slim tree bottom interface layer numbers were capped by the object's layer number beneath it.
Fixed by refactoring the generation algorithm.

* Fix non organic tree interlaced support generation

Deterministic local interlaced support layers generation for non-organic tree support

* Enable support interface multimaterial for non organic tree

Enables mixed-material support interface behavior for non organic tree support type.

* Fix tree support interface layer counts and contact handling

- Correct non‑organic tree top interface layer budgeting so gaps don’t consume a layer (N stays N).
- Remove the extra roof interface pass that was duplicating the 2nd layer.
- Organic tree: use only the lowest contact footprint and avoid extra bottom‑contact extrusion so interface count matches the user setting.

* Bugfixes (a lot)

Many, many bugs fixed, majority edge-case but still not  playing by the rule.
Some of them:
- on multilevel base, on very small level variations the support was capped to the topmost level height
- non-organic tree had gaps for supports in a multilevel base situiation
- independent support layer height had issues with support interfaces (base support beneath bottom interface, top contact layer sometimes missing)
- organic tree had issues with small variation multi-level base
- organic tree support with zero top Z distance could overlap support-material and interface-material paths when separate materials were used
- many, many others (I lost track of them)
This commit is contained in:
Kiss Lorand
2026-05-10 10:12:56 +03:00
committed by GitHub
parent 5108b721a9
commit 4e507fffb2
33 changed files with 1098 additions and 447 deletions

View File

@@ -16082,8 +16082,14 @@ msgstr "Biến thể máy in"
msgid "Raft contact Z distance"
msgstr "Khoảng cách Z tiếp xúc raft"
msgid "Z gap between object and raft. Ignored for soluble interface."
msgstr "Khe Z giữa đối tượng và raft. Bị bỏ qua cho giao diện hòa tan."
msgid ""
"Z gap between raft and object. "
"If Support Top Z Distance is 0, this value is ignored and "
"the object is printed in direct contact with the raft (no gap)."
msgstr ""
"Khoảng cách Z giữa bè và vật thể. "
"Nếu khoảng cách Z trên của hỗ trợ bằng 0, giá trị này sẽ bị bỏ qua "
"và vật thể được in tiếp xúc trực tiếp với bè (không có khe hở)."
msgid "Raft expansion"
msgstr "Mở rộng raft"
@@ -17024,14 +17030,20 @@ msgstr "Ignore small overhangs that possibly don't require support."
msgid "Top Z distance"
msgstr "Khoảng cách Z trên"
msgid "The Z gap between the top support interface and object."
msgstr "Khe Z giữa giao diện support trênđối tượng."
msgid "Z gap between the support's top and object."
msgstr "Khoảng cách Z giữa mặt trên của hỗ trvật thể."
msgid "Bottom Z distance"
msgstr "Khoảng cách Z dưới"
msgid "The Z gap between the bottom support interface and object."
msgstr "Khe Z giữa giao diện support dưới và đối tượng."
msgid ""
"Z gap between the object and the support bottom. "
"If Support Top Z Distance is 0 and the bottom has interface layers, this value "
"is ignored and the support is printed in direct contact with the object (no gap)."
msgstr ""
"Khoảng cách Z giữa vật thể và phần đáy của hỗ trợ. "
"Nếu khoảng cách Z trên của hỗ trợ bằng 0 và phần đáy có các lớp giao diện, giá trị "
"này sẽ bị bỏ qua và hỗ trợ được in tiếp xúc trực tiếp với vật thể (không có khe hở)."
msgid "Support/raft base"
msgstr "Đế support/raft"
@@ -22875,3 +22887,4 @@ msgstr ""
#, c-format, boost-format
#~ msgid "*Printing %s material with %s may cause nozzle damage"
#~ msgstr "*In vật liệu %s với %s có thể gây hư hỏng đầu phun"