Commit Graph
14 Commits
Author SHA1 Message Date
Ian Bassi 52e9e93750 Put a test comment back above the test it documents
The tests for the bridge speed and the no-overlap area went in between the comment and the test it describes.
2026-11-30 14:11:14 -03:00
Ian Bassi 1913a24c91 Give regions with their own overhang speeds walls of their own
Regions that differ in the bridge speed or flow get walls of their own,
so their overhang walls print at their own speed. The speeds of partly
overhanging walls, and the settings that turn them on, had the same
problem: a modifier changing them shared its walls with the part around
it and printed at that part's speeds. Compare them too.
2026-11-30 14:11:14 -03:00
Ian BassiandColajichi bfce6f4925 Give regions with their own bridge speed walls of their own
Parts and modifiers with matching wall settings share their walls,
which are generated with the settings of the first one. The check did
not compare the bridge speed and bridge volumetric flow, though
overhang walls print at the bridge speed, so a part with its own bridge
speed printed its overhang walls at the speed of another part. Only
objects whose parts differ in these settings change.

Ported from bambulab/BambuStudio@2d6f964e24

Co-authored-by: Colajichi <shubo.nie@bambulab.com>
2026-11-30 14:11:14 -03:00
Ian Bassiandsongwei.li b1c28b7a90 Clear the no-overlap fill area before generating the walls again
The fill area kept clear of the walls, which gap fill and concentric
infill stay inside, is only appended to while the walls are generated.
Objects with several regions cleared it first, but the path for a
single region did not. Every time only the walls were generated again,
after a change to the wall loops for example, the old area stayed, and
gap fill reached into the overlap with the walls. The G-code then
depended on the order of the changes rather than the settings.

Ported from bambulab/BambuStudio@6df6afa784

Co-authored-by: songwei.li <songwei.li@bambulab.com>
2026-11-30 14:11:14 -03:00
Lam Wei LunandIan Bassi 07f38df2a4 Fix top surface printing over inner walls with only one wall on top (#17597)
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
2026-11-17 14:39:16 -03:00
Ioannis Giannakas 176b1dc63d Fix Arachne wall order at pinched holes and next to one wall on top (#16894)
* Arachne wall order pinch and top band

* Cover Inner/Outer and Outer/Inner in the one wall on top order test
2026-10-27 14:08:09 +00:00
Ian BassiandRodrigo Faselli 0acf1e6680 Fix wall order on narrow tube walls and under outer brims, and test wall order and direction (#16421)
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
2026-10-16 18:56:55 -03:00
Ian BassiandIoannis Giannakas c1baacf8a0 fix: thin-walled holes classic walls flip the direction (#16051)
Co-authored-by: Ioannis Giannakas <59056762+igiannakas@users.noreply.github.com>
2026-10-06 14:09:36 -03:00
Ioannis Giannakas 5a8eb3f14e Fix one wall on top dropping inner walls of narrow Arachne walls (#16174)
* Fix one wall on top dropping inner walls of narrow Arachne walls

* Fix clang tidy errors on the test suite
2026-10-06 14:07:01 +01:00
HanifKoh 84657ff11e Add Missing Includes Across the Remaining Sources and Tests (#16071)
* Ignore Clipper, libpng, mcut and Boost.Polygon Internals in clang-tidy

Each only works through a wrapper or umbrella header: libslic3r/clipper.hpp or clipper_z.hpp configure Clipper before including it, png.h pulls in libpng's config headers, and Boost.Polygon's headers only compile through polygon.hpp or voronoi.hpp.

* Ignore minilzo's Config Headers in clang-tidy

lzoconf.h and lzodefs.h are internal to minilzo.h, which is what the code includes.

* Add Missing Includes Across the Remaining Sources and Tests

Covers src/slic3r/Utils, src/slic3r/plugin, src/slic3r/Config, src/libvgcode, src/dev-utils, src/OrcaSlicer.cpp and tests/, the directories left after src/slic3r/GUI and src/libslic3r. Generated with clang-tidy misc-include-cleaner. libvgcode's own headers are included by relative path as in the rest of that library, and Catch2 and pybind11 with angle brackets as elsewhere in the repo.

* Make the GUI and Test Headers Compile on Their Own

Each now includes, or forward-declares, what it uses instead of relying on what its includers happened to include first. Headers that only compile on one platform, or that nothing built includes, are left alone.

* Keep Windows and nanosvg Setup Ahead of the Added Includes

OrcaSlicer.cpp and several tests set _WIN32_WINNT, WIN32_LEAN_AND_MEAN or NOMINMAX before including Windows.h, and the profile validator defines NANOSVG_IMPLEMENTATION before any libslic3r header. The added includes had landed above those blocks, which broke the Windows build.

* Add the GUI Includes the First Pass Missed

Covers headers that only became editable once they compiled on their own, and wx symbols whose suggested header changed as the clang-tidy ignore list grew after the src/slic3r/GUI pass.

* Keep the Added Test Includes Below the NOMINMAX Guard

test_marchingsquares.cpp and test_texture_displacement.cpp had includes inside #ifndef NOMINMAX, which the tests inherit as defined on Windows from libslic3r, so those were skipped there. .clang-tidy also ignores the MSVC STL and UCRT internals, Boost.Multiprecision's fwd.hpp and CPython's Windows include directory, as in #16068.
2026-10-03 13:45:21 +08:00
0ddc730854 No fuzzy skin on bridge like overhangs perimeters (#13891)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
2026-09-26 16:42:44 -03:00
Ian Bassi 8a17df4a89 Fix some overhang detection (#15694) 2026-09-18 14:23:38 -03:00
Ian Bassi 59e40a2c2e Print unsupported walls last (#15411) 2026-09-17 09:14:20 -03:00
Ian Bassi 6489b4cad3 Fix: Only one wall top surfaces (#14929) 2026-07-29 09:23:35 -03:00