Hi everyone,
I’m new to Grasshopper and I can’t figure out why Sweep1 isn’t working.
As a simple example, I have two circles: one as the rail and the other as the section. In Rhino this works without any issues. What am I doing wrong?
Sweep test.gh (27.2 KB)
Dag Bert, Vriendelijke groet, Eef
To ask for help here:
- make it a small example (as possible) use internalise data to isolate the part you have a question about.
- be sure to not include plugins (unless it is a question about that plugin.
When you check with endpoints (see image/file) you will see that the circle starts far away from your section curve.
I used curve | curve to find the closest point and moved startpoint there with seam
Regards, Eef
Sweep testEW.gh (27.2 KB)
1 Like
Dag Eef,
Thanks for the response.
If I understand correctly, the curve’s starting point must lie on the rail. With Seam you can move that starting point of the curve so that it ends up in the correct place. That correct place is the intersection of the curve with the rail, which you obtain using Curve | Curve.
Why do you sweep a circle along a circle instead of just creating a torus?
1 Like
I know this is a torus, but I’m still figuring out how Grasshopper works. This was done purely as a test.
One difference you might find between Rhino and Grasshopper is that in Rhino it depends where you click when selecting a curve and in Grasshopper there is no mouse clicks involved…
That is indeed good to keep in mind. Thanks!
[quote=“Bert van de wielen, post:3, topic:212110, username:Bert_van_de_wielen”][/quote]
The curve’s starting point must lie on the rail.
Let’s use the correct names (to avoid misunderstandings). The section(s) curve(s) should be close to the rail. Not precisely ON. And most of the time it works better when the first section is close to the begin (or end) of the rail .
With Seam you can move that starting point of the curve so that it ends up in the correct place. Yes, very handy component, it all kinds of situations.
But you also could have moved the section to the beginpoint (it does not matter if Moses goes to the Mountain or vice versa) 
Curve | Curve. Fast way to find the closest point or intersection of two curves.
“Curve Closest Point” is very often used (and there are more).
It’s a lot clearer to me now. Thanks!