# Fill curve node adding extra lines to object in geometry nodes

I've created a yin yang symbol with the ability to change the number of "arms" in geometry nodes, see example below.

But when I use the Fill Curve node (to fill the faces of each arm) it adds various straight lines. See image below with arrows.

It should look something like this for three arms see image below.

I've tried Mesh to Curve and Curve to Mesh but the lines keep popping up.

See Blend file below.

• The problem is that your curves aren't outlining the whole 1-colored surface. Each color surface should be surrounded by one curve. I'll try formulate an answer soon but no promises. Commented Mar 18 at 20:39

(Using Blender 3.6.8)

Approach: build a single "leaf", then duplicate and rotate it.

To build the leaf:

To fill the leaf, then to duplicate it with rotation: The nodes sequence Join Geometry, Curve to Mesh, Merge by Distance and Mesh to Curve is providing a single closed curve.

Resources:

### N-sided yin-yang

The idea is to build 3 curves (corresponding to each side of the shape) as follows :

• A half-circle as the first branch
• A half-circle as the second branch
• An arc as the outside of the shape

The geometry nodes are a bit heavy but I tried staying as simple as possible. I've reused the general process you were following but I've restarted from scratch.

My general process is : generate each part of the outline as curves, convert them to meshes so it's simpler to work with (basically join them), then at last convert them back to curves and fill them.