1
$\begingroup$

Is it possible to convert each edge into a face in GN as shown in the image below?

I have a non-planar wireframe mesh made up of edges only, and I’d like to turn each edge into a flat face, forming connected strips—similar to the effect of a bevel modifier.

Here’s an example of what I mean:

Example image

$\endgroup$
3
  • $\begingroup$ You have a non-planar wireframe but you give a simple coplanar example. There's many design decisions to make when designing a 3D wireframe. Also it's basically too hard of a problem for BSE unless you're fine with some rudimentary solution. $\endgroup$ Commented 20 hours ago
  • $\begingroup$ @MarkusvonBroady I was wondering about that too. If it truly needs to be non-planar I either have to figure it out or delete my answer. $\endgroup$ Commented 15 hours ago
  • $\begingroup$ If I understand correctly the situation, then edges in one direction, horizontal or vertical, are redundant, as their points are in same position. Using only edges in one direction, you could lay a Grid over those points. (Hard part would be to detect where there are no edges). When you have Grid, you can use Extrude Mesh to inset faces. Delete the top, and you have strips. Not the easiest set up, but might work. $\endgroup$
    – khellstr
    Commented 12 hours ago

1 Answer 1

3
$\begingroup$

GN_line to mesh

Here is a similar result to your picture. It was made by:

  • Instancing planes on all points that have more than one edge
  • Splitting the edges > converting to curve > trimming the curve by the radius/half the plane's dimension
  • Setting the position of the points without plane instances back to their original position (unfortunately, while I was able to transfer the captured boolean selection for those points, I wasn't able to transfer the points' position data past the trim curve node) by sampling their positions before the trim curve node.
  • Converting the curve to mesh with a curve line using the radius for its dimensions
  • Joining and merging by distance

Edit: If it needs to work as non-planar, but maintains 90 degree angles on x and y, this could work:

3d view

node group

$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.