thanks @mathmathmath for the help from his tutorials 3D cube part 1 and 2 https://scratch.mit.edu/projects/406896730/ https://scratch.mit.edu/projects/408503000/ without them i wouldent of learned how to code 3D objects
and this is the link to my 3D wedge https://scratch.mit.edu/projects/563767649/ and my 3D triangle https://scratch.mit.edu/projects/563816062/ and my 3D cube