x/y hole compensation overrides fuzzy skin
Agent answer
Triage: reproducible on Linux → triaged (slicing).
Reasoning
- The failure is entirely inside the slicing pipeline, not in the Windows GUI: paint-on fuzzy skin splits layer regions via
apply_fuzzy_skin_segmentation(src/libslic3r/PrintObjectSlice.cpp:1230, invoked at :1432-1446) and then XY hole/contour compensation is applied to the regions at :1455-1456 / :1515-1545. The fuzzy-skin region is a band only one external perimeter wide (fuzzy_skin_segmentation_by_painting, src/libslic3r/MultiMaterialSegmentation.cpp:2525-2541), and the multi-region compensation path offsets each region bymax(xy_hole_scaled, xy_contour_scaled)and re-clips it against the merged, hole-grown layer contour, which wipes out that thin band → hole enlarged, fuzzy skin gone. Matches the report exactly. - Reproducible headless:
fuzzy_skin_facetsare persisted per-triangle in 3MF (src/libslic3r/Format/3mf.cpp:2228-2229, write side :2910), so a small cylinder-with-hole 3MF can be scripted with the hole wall triangles tagged, then sliced with the CLI at two settings and compared. No printer, no network, no Windows-only code involved. - Secondary finding worth fixing in the same pass: the code already warns that the two features cannot be combined (src/libslic3r/PrintObjectSlice.cpp:1436-1442 — "XY Size compensation will not be used because it is also fuzzy skin painted"), yet only
is_mm_painted()is honoured when zeroing the compensation at :1455-1456; for fuzzy-skin-painted objects the compensation is applied and the painting silently loses. Either the compensation should be skipped for fuzzy-skin-painted objects (consistent with the warning) or the compensation must be applied before/inside the segmentation so the band survives.
Repro plan (Linux, no GUI needed)
- Generate a 3MF with a prism/cylinder containing a vertical hole; tag the triangles forming the hole wall in the
fuzzy_skinper-triangle attribute (values as written by src/libslic3r/Format/3mf.cpp:2910). orca-slicer --load test.3mf --fuzzy-skin normal --fuzzy-skin-thickness 0.3 --fuzzy-skin-point-distance 0.3 --output out_plain.gcode- Same file with
--xy-hole-compensation 0.4→out_comp.gcode. - Compare:
out_plain.gcodecontains the noisy/jittered perimeter on the hole wall,out_comp.gcodehas the enlarged hole but a clean (unfuzzed) wall. A cheaper check is to compare the fuzzy-skin region'sslicesarea per layer afterslice_volumes()in a small unit test against the uncompensated run.
Areas to look at
- src/libslic3r/PrintObjectSlice.cpp:1432-1456 (warning + zeroing only for
is_mm_painted) - src/libslic3r/PrintObjectSlice.cpp:1515-1545 (multi-region compensation/clip that collapses the thin painted band)
- src/libslic3r/MultiMaterialSegmentation.cpp:2525-2541 (band width limited to max external perimeter width)
Cause
Likely in PrintObject::slice_volumes: fuzzy-skin painting splits the object into two LayerRegions (apply_fuzzy_skin_segmentation, src/libslic3r/PrintObjectSlice.cpp:1230 and :1432-1446), then XY size compensation is applied afterwards in the multi-region branch (src/libslic3r/PrintObjectSlice.cpp:1455-1456, 1515-1545), where each region's slices are grown/offset by max(xy_hole, xy_contour) and re-clipped against the merged, hole-grown layer contour — which destroys the thin fuzzy-skin band (only ~one external perimeter wide, see fuzzy_skin_segmentation_by_painting in src/libslic3r/MultiMaterialSegmentation.cpp:2525-2541), so the painted region loses its slices and no fuzzy skin is emitted. Note src/libslic3r/PrintObjectSlice.cpp:1436-1442 already prints a CRITICAL warning claiming XY size compensation "will not be used" with fuzzy-skin painting, which contradicts the observed behavior (compensation is used, painting is lost).
Triage summary
Painted-on fuzzy skin is dropped when xy_hole_compensation (or xy_contour_compensation) is non-zero: the hole is resized correctly but the fuzzy-skin band region ends up empty, so no fuzzy skin is generated on the painted wall. Purely a slicing-pipeline interaction, reproducible headless on Linux.
Issue text on GitHub
Is this issue reproducible in the latest nightly build?
- [x] I have checked the latest nightly build and the issue is still reproducible
Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
latest nightly as of the creation of this issue
Regression compared to a previous version
No response
Operating System (OS)
Windows
OS Version
latest Windows 11 Insider Build
Additional system information
No response
Printer
custom Klipper CoreXY
How to reproduce
- add any object to orcaslicer
- paint internal holes to be printed with fuzzy skin
- increase x/y hole compensation
- slice
Actual results
hole gets correctly enlarged but fuzzy skin is being ignored for the painted surface
Expected results
enlarge hole but also keep applying fuzzy skin as requested
Project file & Debug log uploads
Checklist of files to include
- [ ] Log file
- [x] Project file
Anything else?
No response
- Area
- slicing
- Platform
- all
- Author
- badbucket1301
- Comments
- 2
- Created
- 2026-11-30
Log
- vast-tw took it: reproducevast-tw · 17 min ago
- Worker restarting; back in the queuevast-tw · 18 min ago
- vast-tw took it: reproducevast-tw · 1 h ago
- Worker restarting; back in the queuevast-tw · 1 h ago
- vast-tw took it: reproducevast-tw · 1 h ago
- vast-tw restarted; returned to the queuevast-tw · 1 h ago
- vast-tw took it: reproducevast-tw · 1 h ago
- triage: triagedvast-tw · 1 h ago
- vast-tw took it: triagevast-tw · 1 h ago
- Collected from GitHubpanel · 3 h ago