Csg subtract problem

I have two customMesh objects and I am trying to subtract using csg, but I get result errors. I would be happy if you help.
Note: English is not my native language.

my playground : fff | Babylon.js Playground (babylonjs.com)

Is the half cylinder mesh completely closed? I can see the inside from the bottom. This might be the reason.

İt’s worked like this, I have no idea how it works.
fff | Babylon.js Playground (babylonjs.com)

var indices2 = indices1.slice().reverse(); This has improved thanks to the line of code.
before => var indices2 = indices1.reverse();

thx for helps.

1 Like