Extrudedshape facets normals computing

I made an extrudedshape, I can compute normals for each face, but I don’t know the way to use it with the api ?

my extruded shape looks badly :
image

1 Like

Try extrudedmesh.forceSharedVertices()

I checked my contour and path generation . removing duplicated points.
Using forceSharedVertices() look worst
image

Would you put the extrude shape in a PG to make it easier to see what’s going on.

Not sure what you want to do with the normals.

Here is a pg

https://playground.babylonjs.com/#42K8DM#14

Assuming it is the caps you have an issue with. Suggest you try removing caps, create new ends using Irregular Polygons | Babylon.js Documentation and merge with open extrusion.