Skip to content

Use initial inset direction for layer 0#2295

Closed
HellAholic wants to merge 9 commits into5.13from
CURA-13004
Closed

Use initial inset direction for layer 0#2295
HellAholic wants to merge 9 commits into5.13from
CURA-13004

Conversation

@HellAholic
Copy link
Contributor

InsetOrderOptimizer::addToLayer now reads 'initial_layer_inset_direction' when processing layer 0 instead of always using 'inset_direction'. This enables a different wall/inset ordering for the first layer while preserving the existing setting for subsequent layers.

Ultimaker/Cura#21431

CURA-13004

HellAholic and others added 2 commits February 23, 2026 20:44
InsetOrderOptimizer::addToLayer now reads 'initial_layer_inset_direction' when processing layer 0 instead of always using 'inset_direction'. This enables a different wall/inset ordering for the first layer while preserving the existing setting for subsequent layers.
Copy link
Contributor

@wawanbreton wawanbreton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, and I don't think the comment is necessary. The code is self-explanatory enough.
Also you could add the condition directly inside the get to slightly reduce the code.

Copy link
Member

@rburema rburema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: dbe932f Previous: 3816773 Ratio
SimplifyTestFixture/simplify_slot_noplugin 4.230196866851769 ns/iter 2.607504276959351 ns/iter 1.62

This comment was automatically generated by workflow using github-action-benchmark.

CC: @nallath @jellespijker @wawanbreton @casperlamboo @saumyaj3 @HellAholic

@github-actions
Copy link
Contributor

github-actions bot commented Mar 17, 2026

Test Results

30 tests   30 ✅  5s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit fc95f76.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@wawanbreton wawanbreton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great !! And by the way, this is a tiny but really nice feature ... I remember countless print failures of models with a lot of small holes in the bottom, that should definitely help ! And also we have better print beds nowadays 😄

@HellAholic HellAholic changed the base branch from main to 5.13 March 19, 2026 08:44
@HellAholic HellAholic closed this Mar 19, 2026
@HellAholic HellAholic deleted the CURA-13004 branch March 19, 2026 08:54
@HellAholic
Copy link
Contributor Author

Closed in favor of #2309
Rebase and the change caused too much clutter.
The PR iteself was a 1 line change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Community Contribution 👑 Community Contribution PR's

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants