Hello, I am trying to achieve a shape similar to that of a donut segment. My first thought was to create one big quarter circle and then a smaller one which will hide the inner part
let shape = new THREE.Shape(); shape.moveTo(0, 0); shape.absarc(0, 0, radius, 0, Math.PI/2, false); shape.lineTo(0, 0); //cut out the center let holePath = new THREE.Path(); holePath.moveTo(0,0); holePath.absarc(0,0, radius*0.8, 0, Math.PI/2, false); holePath.lineTo(0,0); shape.holes.push(holePath);
The code above works great except the fact that the border of the shape element remains visible even though holePath technically covers these coordinates. Maybe there is something I have misunderstood about holes?