Converting a mesh to a wireframe
First up is the method to convert a mesh to a wireframe, which we briefly showed in Chapter 9.
Let’s repeat the basics one more time. The idea is that we want to take a mesh and disregard all the faces from it. This is the first step in making a wireframe effect. Luckily, this can be done using the Mesh to Curve node, which disregards all the faces in its received input and converts it to a Curve object. After that, we can use a Curve to Mesh node to convert these Curve objects back to Mesh.
Don’t forget to utilize the Profile Curve socket; otherwise, your node will not output any geometry.
Usually, you’ll use a Curve Circle node as your profile curve. This is because this shape gives us a nice round profile. It’s best to use a low-resolution Curve Circle node, since the shape of it will be used in the wires of your wireframe mesh. It’s also good to use a low radius so that your model does not intersect...