Repository navigation
Give the four overhang speeds a tooltip that matches how this fork reaches them (adapted from upstream #18038) - #1315
Open
alandebortolo wants to merge 1 commit into
Open
alandebortolo wants to merge 1 commit into
alandebortolo wants to merge 1 commit into
Conversation
…ches them Snapmaker Orca reaches the overhang speeds at 10, 25, 50 and 75% overhang (overhang_overlap_levels 100/90/75/50/25/0 in GCode.cpp) and blends linearly between them, so the existing labels are right; only their tooltips were commented out. The Overhang speed line now shows the same tooltip. Adapted from OrcaSlicer#18038 (tooltip and Tab.cpp line); its relabel to 10-25%/.../75-87% is not taken because upstream uses a different level table.
There was a problem hiding this comment.
🟡 Changes recommended
An option-ID mismatch in Tab.cpp causes Speed page configuration reloads to throw std::out_of_range, preventing the page from loading.
1 open issue
What changed in this PR
Adds shared overhang-speed help text tailored to this fork’s speed thresholds, while preserving existing labels and G-code behavior.
Changes:
- Gives all four overhang-speed fields a shared, translatable tooltip explaining interpolation, percentage values, and zero-value behavior.
- Reuses that tooltip for the “Overhang speed” row.
| File | Description |
|---|---|
src/slic3r/GUI/Tab.cpp |
Uses the field tooltip for the overhang-speed row. |
src/libslic3r/PrintConfig.cpp |
Defines and assigns the shared tooltip to all four speed fields. |
Review effort: Balanced
| optgroup->append_single_option_line("enable_overhang_speed", "speed_settings_overhang_speed#slow-down-for-overhang"); | ||
| optgroup->append_single_option_line("slowdown_for_curled_perimeters", "speed_settings_overhang_speed#slow-down-for-curled-perimeters"); | ||
| Line line = { L("Overhang speed"), L("This is the speed for various overhang degrees. Overhang degrees are expressed as a percentage of line width. 0 speed means no slowing down for the overhang degree range and wall speed is used") }; | ||
| Line line = { L("Overhang speed"), optgroup->get_option("overhang_1_4_speed", 0).opt.tooltip }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adapted from OrcaSlicer#18038 (merged upstream 2026-11-30, author credited there).
Problem. In Process > Speed > Overhang speed, the four overhang speeds (
overhang_1_4_speed..overhang_4_4_speed) have no tooltip: theirs are commented out insrc/libslic3r/PrintConfig.cpp. The line's own tooltip doesn't say where each speed is reached or that the speed blends between them, so hovering a field tells the user nothing.Why not a straight port. Upstream OrcaSlicer#18038 also relabels the fields to 10-25%, 25-50%, 50-75% and 75-87%, because upstream reaches its speeds at 25/50/75/87% overhang. This fork uses a different table:
overhang_overlap_levels({100, 90, 75, 50, 25, 0})inGCode.cpp(around line 8189), withoverhang_totally_speedat 0% overlap. InExtrusionQualityEstimator::estimate_extrusion_qualityeach speed is reached at its level and the speed blends linearly between levels. So here the four speeds are reached at 10, 25, 50 and 75% overhang and the 100% speed at 100%: the current labels are already right, and the relabel would make them wrong. I kept the labels.Change.
< 0.5 -> 100%branches inGCode.cpp).Tab.cppshows the same tooltip (same one-line change as upstream).Limits. Labels and tooltips only; G-code does not change. New translatable string, catalogs not regenerated. Built on Linux (WSL, Ubuntu):
PrintConfig.cpp.oandTab.cpp.orecompiled,snapmaker-orcalinked, build rc=0 in 148 s; ctest 801/804, and the 3 failures (#96 Local-Z layer 66, #514 and #516 render_realtime_body) also fail on main, so they are not from this change. Not built on Windows or macOS, and the tooltip was not checked on screen.