Skip to content

Preserve painted facet annotations after plane cuts#10613

Merged
lanewei120 merged 1 commit into
bambulab:masterfrom
solidblu:fix-cut-dropping-paint
May 8, 2026
Merged

Preserve painted facet annotations after plane cuts#10613
lanewei120 merged 1 commit into
bambulab:masterfrom
solidblu:fix-cut-dropping-paint

Conversation

@solidblu

@solidblu solidblu commented May 7, 2026

Copy link
Copy Markdown
Contributor

Track source face indices through mesh cutting and use them to propagate support, seam, MMU segmentation, and fuzzy skin facet annotations onto cut volumes.

Based on the corresponding PrusaSlicer fix for preserving facet annotations across cut operations.

Tested this on Windows and Mac that the built version preserves paint after cuts. Screenshots for Windows in this issue thread:

#750

Track source face indices through mesh cutting and use them to propagate support,
seam, MMU segmentation, and fuzzy skin facet annotations onto cut volumes.

Based on the corresponding PrusaSlicer fix for preserving facet annotations
across cut operations.
@Haidiye00

Copy link
Copy Markdown
Contributor

Hello, could you record a GIF to see the effect, thank you.

@Haidiye00

Copy link
Copy Markdown
Contributor

good job

@solidblu

solidblu commented May 8, 2026

Copy link
Copy Markdown
Contributor Author
Cut-with-Paint.mov

Here is a screen recording from a Mac.

@lanewei120 lanewei120 merged commit ff34a8f into bambulab:master May 8, 2026
16 of 17 checks passed
@lanewei120

Copy link
Copy Markdown
Collaborator

Hi @solidblu

thanks for doing this

@mareksobania99s-source

Copy link
Copy Markdown

Hi,

Sorry for the silly question, but how do I use this?
I go to the page with the files and code, but I don't understand any of it.
Please help.

@solidblu

solidblu commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

Hi,

Sorry for the silly question, but how do I use this? I go to the page with the files and code, but I don't understand any of it. Please help.

Hey @mareksobania99s-source ,

So this is the source code of the application. To actually use it it needs to be compiled into the application which will happen at some interval that the project maintainers (people who run Bambu Studios) determine and released to the general public.

If you wanted to use this change yourself now before that happens you would need to go through a fairly long complex process to build the application from source. Personally having just went through at on a Mac and Windows computer to test this change I would not recommend unless you are a developer / engineer who has done something similar before.

The easiest thing is just to wait for this to make it into the next release of the application. I am not sure if it will make it into the release or not, but keep an eye one the releases page:

https://github.com/bambulab/BambuStudio/releases

@mareksobania99s-source

Copy link
Copy Markdown

Thank you very much for your reply @solidblu
Unfortunately, I’m not a programmer, so I don’t think I can handle this. I’m really sorry because I have an urgent project (a 1:1 scale F1 front wing) that needs to be colored.
Is there any chance I could buy the corrected file from you so I can make the cut myself without losing any of the colors?

@solidblu

solidblu commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

@mareksobania99s-source I won't take any payment. This is honestly risky to take binaries from strangers, but a quick google search showed me the crunch F1 is in currently and I can empathize with that.

@lanewei120

lanewei120 commented May 9, 2026

Copy link
Copy Markdown
Collaborator

Thank you very much for your reply @solidblu Unfortunately, I’m not a programmer, so I don’t think I can handle this. I’m really sorry because I have an urgent project (a 1:1 scale F1 front wing) that needs to be colored. Is there any chance I could buy the corrected file from you so I can make the cut myself without losing any of the colors?

Hi @mareksobania99s-source

you can have a try for the building files generated on github
this is the building link for this patch
https://github.com/bambulab/BambuStudio/actions/runs/25524815320

and the windows building files can be found here
https://github.com/bambulab/BambuStudio/actions/runs/25524815320/artifacts/6870761927
image

@utj947

utj947 commented Jun 8, 2026

Copy link
Copy Markdown

Check out this website; it supports plane cutting and color separation for 3MF files while preserving the colors.
split3mf.com

@solidblu

solidblu commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Check out this website; it supports plane cutting and color separation for 3MF files while preserving the colors. split3mf.com

Plane cutting is now in the main release, but the color separation is pretty cool. Thanks for sharing.

Cstm3DBldr added a commit to Cstm3DBldr/BambuStudio that referenced this pull request Jun 11, 2026
…rt, and repair

Per-triangle paint (color/MMU, support, seam, fuzzy-skin) was dropped when merging
objects, splitting them, merging to a multi-part object, or repairing a mesh. This
carries the facet annotations through those operations so painted data survives,
matching the existing behavior for cut (bambulab#10613).

- merge / split / merge-to-multipart: exact carry-through of the annotations.
- repair: best-effort transfer across the re-projected mesh, with a cancelable
  warning dialog before a repair that may alter painted data.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants