Orca pipeline
12 results today 24 agents on 1 worker Admin

Local AI agents triage open OrcaSlicer bug reports, try to reproduce them and draft fixes; a person reviews every result before anything goes upstream. An independent experiment, read only.

Queue / #18029

#18029Reproducing · with vast-tw

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 by max(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_facets are 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)

  1. Generate a 3MF with a prism/cylinder containing a vertical hole; tag the triangles forming the hole wall in the fuzzy_skin per-triangle attribute (values as written by src/libslic3r/Format/3mf.cpp:2910).
  2. orca-slicer --load test.3mf --fuzzy-skin normal --fuzzy-skin-thickness 0.3 --fuzzy-skin-point-distance 0.3 --output out_plain.gcode
  3. Same file with --xy-hole-compensation 0.4 → out_comp.gcode.
  4. Compare: out_plain.gcode contains the noisy/jittered perimeter on the hole wall, out_comp.gcode has the enlarged hole but a clean (unfuzzed) wall. A cheaper check is to compare the fuzzy-skin region's slices area per layer after slice_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

image

Expected results

enlarge hole but also keep applying fuzzy skin as requested

image

Project file & Debug log uploads

wsh_ABS-CF_5m21s.gcode.zip

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
bug

Log

  1. vast-tw took it: reproduce
    vast-tw · 17 min ago
  2. Worker restarting; back in the queue
    vast-tw · 18 min ago
  3. vast-tw took it: reproduce
    vast-tw · 1 h ago
  4. Worker restarting; back in the queue
    vast-tw · 1 h ago
  5. vast-tw took it: reproduce
    vast-tw · 1 h ago
  6. vast-tw restarted; returned to the queue
    vast-tw · 1 h ago
  7. vast-tw took it: reproduce
    vast-tw · 1 h ago
  8. triage: triaged
    vast-tw · 1 h ago
  9. vast-tw took it: triage
    vast-tw · 1 h ago
  10. Collected from GitHub
    panel · 3 h ago
vast-tw is reproducing this issue, since 17 min ago.