4
$\begingroup$

Using Geometry nodes Extrude Mesh node, I can extrude a simple cube like so:

enter image description here

But the moment I introduce more geometry, for example by adding loopcuts to the cube, the extrude node deforms the new geometry. I guess it interpolates normals around the sharp edges which is why the extrusion looks a bit rounded like so:

enter image description here

If using solidify modifier instead, I can fix this issue by using the Even Thickness option in the modifier. Is it possible to recreate this option in geometry nodes?

enter image description here

$\endgroup$
5
  • $\begingroup$ Can you please describe your goal in more detail? $\endgroup$
    – quellenform
    May 26, 2022 at 10:07
  • $\begingroup$ @quellenform The goal is to extrude the cube (or any geometry) in geometry nodes evenly, so that all the edges are straight. Like when using solidify modifier the even thickness setting. I'm asking how to recreate the even thickness setting from solidify modifier in geometry nodes. $\endgroup$
    – Dalibor-P
    May 26, 2022 at 10:12
  • $\begingroup$ Check mark individual. Then all faces extrude evenly $\endgroup$
    – TheJeran
    May 26, 2022 at 10:47
  • $\begingroup$ @TheJeran That option does not fill the corners, but I thought I might be able to scale the new geometry and merge by distance. It results in horrible internal geometry, but it kinda works imgur.com/a/WGhOuak. $\endgroup$
    – Dalibor-P
    May 26, 2022 at 11:01
  • $\begingroup$ So what is your end goal then? Just a larger cube? $\endgroup$
    – TheJeran
    May 26, 2022 at 12:57

3 Answers 3

2
$\begingroup$

Update 8/25/2003:

  • Here is a full setup for my solidify node.
    enter image description here
  • this is how the node group looks
  • This how it looks compared to the solidify modifier enter image description here

Original post:

here is a true way to do it that is the same as the modifier. enter image description here

if you want explanation then let me know 😉

$\endgroup$
5
  • $\begingroup$ You'd wish it was that simple ...Unfortunately, the Solidify modifier (especially with "Even Thickness") is a bit more complicated, and all the answers given here do not lead to the goal. But anyway: still a nice solution! $\endgroup$
    – quellenform
    Aug 24, 2023 at 10:11
  • $\begingroup$ it is close, though for how simple it is $\endgroup$
    – shmuel
    Aug 24, 2023 at 17:15
  • $\begingroup$ when I say close I mean very close, and if do some adjustments it could get closer. I'll share a full setup later. $\endgroup$
    – shmuel
    Aug 24, 2023 at 22:12
  • $\begingroup$ @quellenform I just checked it again and i retract what i said. this looks exactly the same as the modifier. (before my midlevel [offset] was different so it looked different). (this is as of now) (actually it is this similar 🤏 $\endgroup$
    – shmuel
    Aug 25, 2023 at 3:33
  • $\begingroup$ anyway you'll see $\endgroup$
    – shmuel
    Aug 25, 2023 at 3:41
1
$\begingroup$

With this solution you can't reproduce it 100%, but it works sufficiently well in most cases:

Just capture the normals of each point, scale them, and use this vector in the node Set Position.

This offsets the points along their normals by a certain value.

enter image description here

Alternatively, you can use the Scale Elements node, and then send the original mesh with the scaled version to the Mesh Boolean node.

enter image description here

But the main problem remains in any case: The scaling is not 100% with constant thickness, but it comes close.

$\endgroup$
3
  • 1
    $\begingroup$ Scaling along the normals results in the same uneven surface on meshes like the subdivided cube. The inner, original cube has straight faces, while the larger cube that has been scaled up has uneven, almost round shape. imgur.com/kBAb8XH $\endgroup$
    – Dalibor-P
    May 26, 2022 at 10:49
  • $\begingroup$ It's also scaling the object, while I would prefer extrusion. So that the original surface is connected with the new extruded surface. $\endgroup$
    – Dalibor-P
    May 26, 2022 at 10:55
  • $\begingroup$ @aphatetic_artist Ah, now I understand what you mean ;-) In this case you can use the node Scale Elements in combination with Mesh Boolean. Otherwise I'm afraid there is no (easy) possibility in Geometry Nodes. $\endgroup$
    – quellenform
    May 26, 2022 at 10:58
1
$\begingroup$

In case of a cube, you can stack it like that:

node setup

result

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .