I have a 3D shape (THREE.Shape) that I created in Threejs using some vertices. I then used ExtrudeGeometry to give it a 3D appearance. Now, I need to add a 45-degree cut to the edges of this shape. However, the challenge lies in cutting the edges of the extruded part of the geometry. Despite my efforts, I have not been able to find a solution for this anywhere. I will do my best to clarify the actual requirement.
https://i.sstatic.net/kedKh.png
My goal is to specifically cut the edges of the extrude part rather than the face. Please refer to the image below for better understanding.
https://i.sstatic.net/ECYx8.png
It's important to note that this is not the face of the shape. The simple shape without the extruded part looks like this:
https://i.sstatic.net/ha6EA.png
If there is anyone who can assist me in finding a solution to this problem, I would truly appreciate their help in resolving this issue.