Converting this cross sectional shape only to cylinder geometry and not from square

@manthrax
Thanks for the response but i will still need code for that. It would be helpful if you can give me uv mapping may be? i am not sure though
How can i use these two files (blend and glb) in javascript code? to convert to exact 3d of that cross sectional image? Do i need to use uv mapping? and how?

I am using the same code as i asked in this question and i have event.detail.textureUrl which i load in 3d and use that texture which i got as the function parameter to wrap over the cone (which is made from cylinder)