Hi all
I am new to three.js and did a some getting started tutorials and that worked just fine.
I am stuck with this problem. I would like to draw a solid body like this.
I have data about the edges. Like lines and circles and arcs but I cannot see how to build that model in three.js.
I tried with points but that does not work with the rounded edges. I tried with wireframe but it only shows the edges, not the faces.
Could someone give me a hint or example? Thank you.
Thanks for your reply. I tried that in an example but it is not what I’m looking for.
I just realize that my example is a “bit” too simple.
I would like to build the full model without extruding, as the model might not always be “symetrical”.
if you can convert your data to triangles then you can create the mesh using buffergeometry Three.js Custom BufferGeometry
with data about lines , arcs & circles ; shapes is the way to go , you can skip the extrusion part and have a flat shape , but shape only works in 2d space ,