In Geometry Nodes when I add a Curve Primitive Line and than Curve to Mesh node with Fill Caps enabled and Curve Circle connected as profile the edges of caps are automatically marked sharp, so Shade Smooth ignores those edges. How can I set smooth shading for them inside Geometry Nodes? enter image description here


2 Answers 2


Do this:

enter image description here

The sharp_edge is a built-in attribute, it doesn't need to be created.

  • 1
    $\begingroup$ Yes, that's how you should do it! ...or even more selectively with Store Named Attribute. $\endgroup$
    – quellenform
    Jul 22, 2023 at 14:10

The solution I've found so far that works for me.

  1. Do not use Fill Caps.
  2. Use Z position and the values which determine start and end of the Curve Line to select top and bottom rings of the curve converted to mesh (add a little offset to those values to ensure the rings are in range)
  3. Convert selected rings to curves
  4. Fill Curves (which also converts curves back to mesh)
  5. Use initial start and end values and Set Position to move new polygons back onto where the rings were, because Fill Curves returned them into the center of the scene.
  6. Join with the main shape
  7. Merge by distance to clue islands together
  8. Set Shade Smooth

Here is approximate nodes setup: enter image description here


You must log in to answer this question.

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