I am using edges geometry to get the border across my 3d shape but if you see in the attached image the edges is perfectly follow the shape i only need an line loop means an outer border instead of getting the edges like shape.
If you just want a border like an outline, you probably have to use post processing. Consider to use a) OutlinePass or implement an edge detection pass by yourself based on a e.g. sobel filter.
I am using this algorithm but i my code the offset value is less than 1 like 0.00894 for an example and this algorithm is fail in that case so what i am doing i am using the extrudegeometry with bevelThickness to get such an bigger polygon and it give me proper result also but i am not getting an border line i gives me solid shape but i need outline only.
Please see my code
let shape = new THREE.Shape(points);
extrudeSettings.bevelSize = offset
let shapeGeometry = new THREE.ExtrudeGeometry(shape, extrudeSettings);
shapeGeometry.rotateX(Math.PI * .5);
let mesh = new THREE.Mesh(shapeGeometry,new THREE.MeshBasicMaterial({color: 'red'}))
let edgesMesh = new THREE.LineSegments( geometry, new THREE.LineBasicMaterial( { color: 0x000000, linewidth: 10 } ) );
so the black borders are edges but i need lineloop not edges.