How do I create a surface with four curves in a grasshopper?

how do I create a surface with four curves in a grasshopper??

the curves are connected to each other.

is it fashionable to create a program that will find four lines linked to the layer (number 3 ) and create a surface??

unnamed.gh (1.4 KB)

Безымянный.3dm (43.4 KB)


1 and 3 into U
2 and 4 into V


That should work on any 4 given curves that are ends-connected:

2 Likes

Hello @Piotr, thanks for your answer. Tried the look, came back an hour, but I still couldn’t get the look ;_; .

Can you please tell me exactly what to do (I only found lines, but U V C → S I still couldn’t find “I searched in the surface”)


Здравствуйте @Piotr , спасибо за ответ . Попробовал повторить, потратил час, но, у меня так и не получилось его повторить ;_; .

Можете пожалуйста подсказать прям по действиям (у меня только линии нашлись , а U V C → S так и не нашёл “искал в surfase” )

From what I see, when reading your comment, you have a very basic or no knowledge of Gh at all.
I gave you two solutions:

  1. for the specific set of curves where I have arranged them manually. The order of my curves is not the one you are having in your file I shuffled them slightly. The key is the order.
  2. for any set of 4 curves, they are automatically arranged. There can not be more than 4 curves and they need to be on the exact layer otherwise you have to remove the text from the pipeline component.,
1 Like

Hello @Piotr, I didn 't say it quite right . I couldn’t find some elements.

I also couldn’t set up the ones I found.

That’s because your Gh is not displaying all components.
To fix it, go to Menu / View / Obscure Components and click it.
Both: Geometry Pipeline and Network Surface are native stuff.

1 Like

You can always connect more than one item to an input if you also press Shift key. (Ctrl is to remove an existing one…)
List Item (“Item”) can have additional outputs if you zoom-in.

Check your connections, you made mistakes.

1 Like

Hello @Piotr, Thank you , I was able to implement the first case.

I can’t do the second example.
I can’t configure the item (which needs to be configured ,the second one, I just don’t know how to do, books don’t help).

I also want to know how to make it show icons and not descriptions (how you examples).

The one with the question mark is List Item. To add more Items just click the + at the bottom.
To replace text with icons go to Menu / Display / Draw icons.

1 Like

@timob2567 You just have to zoom into the component pretty far. It took me some time when I was first starting to find those little things.

1 Like

Hello @Piotr, Thank you, everything worked out, the only difference is the circle, I still didn’t understand how to remove it.


to use this algorithm in practice.
To run this logarithm you need to call the command, GrasshopperPlayer, select the file with the algorithm, and then save?

Right click on the circle component and pick Preview, it will turn dark grey meaning computing but not displaying.

1 Like

Hello @Piotr, this is probably the last question (I think I’ve tormented you) .

How do I save the result??

So that I could close the “grasshopper”, but the resulting surface did not disappear. And I could continue to draw.

Right click on a surface component and choose Bake from the menu. By default it will save to the current layer but you can choose the destination as well as the object’s colour.

3 Likes

+1 for patience.

1 Like