I've been exploring ways to add depth to lines in Three.js that can cast shadows and appear as solid objects, but so far I've only achieved thicker lines that lack the 3D look I'm aiming for.
This is for an online 3D printing platform where I need to visualize sliced geometry made up of lines, similar to how software like Cura handles it, as seen in this image:
https://i.sstatic.net/nz6S0.png
Converting these lines into mesh geometry might not be feasible due to the high number of lines in some models, making it too dense.
If anyone has suggestions on achieving the desired effect in three.js or another JavaScript library, I would be very grateful!