This isn't a bug, so please excuse me if this isn't the right place to ask!
Basically I am trying to bool shapes with useGroups = true, with the caveat that the resulting shape should retain the original material allocations - meaning, if I have a multi-material Mesh as root operand, and I subtract from it, I'd like the resulting carved-out portion to not have another, extra material, but to keep the respective materials assigned to the boolean root.
Instead of the having the faces of the square set to wholly different material, I'd like the red, green, hotpink materials to persist in the carved-out portion. Would it be possible to somehow take the underlying root's materials into account somehow?
This isn't a bug, so please excuse me if this isn't the right place to ask!
Basically I am trying to bool shapes with useGroups = true, with the caveat that the resulting shape should retain the original material allocations - meaning, if I have a multi-material Mesh as root operand, and I subtract from it, I'd like the resulting carved-out portion to not have another, extra material, but to keep the respective materials assigned to the boolean root.
I've whipped up a quick CSB to demonstrate what I mean: https://codesandbox.io/s/eager-shamir-5zk5zf?file=%2Fsrc%2Findex.js
Instead of the having the faces of the square set to wholly different material, I'd like the red, green, hotpink materials to persist in the carved-out portion. Would it be possible to somehow take the underlying root's materials into account somehow?
Thanks for any pointers!