Grasshopper

algorithmic modeling for Rhino

Hello,
I have just started to teach myself Grasshopper. I would appreciate some help in figuring out how I should create a parametric definition of my geometry. There is an image attached and the following points should help:

1. Origin, fixedpt-1 and fixedpt-2 are fixed. However, these distances may change at a later date.
2. The radius of Arc-1 is fixed.
3. Arc-2 must be drawn such that it passes through fixedpt-2 and is tangential to Arc-1 as shown. Radius of Arc-2 is flexible.

I have tried modeling the above but am not really getting anywhere. I have attached my grasshopper file in case anyone is interested.

I am not looking for a full solution, but just some direction. I will appreciate any and all help. Thank you.

Views: 353

Attachments:

Replies to This Discussion

Hello Sameer,

I might be able to help you, but you'd need to give a btter explanation. I sit on 4th south or if you want I can just come up upstairs.
Hi Sameer,
I have attached the files below, hope it would help you a little bit.
Attachments:
Daniel,

The file you have posted is a partial or corrupted. Could you please post again?

Thanks for your time!

Sameer
Sameer,
Maybe it is because the file I attached last time is a .rar file so you have to use winrar to unzip it. I have attached the zip file below.
Attachments:
Daniel,

Thanks for reposting. Rar file was not the problem... for some reason it would download a 1kb file everytime I tried.

Your definition is beautiful and elegant. It was also quite helpful for me conceptually. However, there are a few other constraints that I am looking to build into this geometry which I did not clearly express earlier.

I have developed my own definition of what I would like to achieve and am attaching it below. However, it is far from elegant or efficient; in fact, after seeing your solution, I can say that mine is simply dumb! I would really appreciate if you (or anyone else) would comment on it and help me refine it.

You shall see that to achieve a tangential curve, I have tried to find the center of this larger curve by intersecting a radial line of the small curve and a perpendicular bisector of the line joining fixedpts 1 and 2. I still cannot understand how you have achieved your tangential curve using "Evaluate Curve" and "SED Arc"... I could not make it work.

Also, could someone explain "bake" please? I have ended up with circles where I wanted arcs. How do I extract arcs using the circles?

Thanks a lot!
Attachments:
Hi Sameer,
After viewing your file, I guess you might want to add some parameters to control the angle of Arc1.
I think your problem might be using too many Circles while you want arcs. And you don't have to use many components to generate a point. You can just pick it up on the screen by Point component or pick up a point which you create before in Geometry component.
I have attached the file below. Hope it will help.
Attachments:
Thanks for all your help Daniel. Regarding measuring the angles for defining arcs, is there a way to change the start point for the measurement? Zero degree always defaults to +ve X axis. What if I wanted to measure the angle from a 45 deg line?

In any case, for now I have what I set out for. I may come back with more questions later. Thanks again.
Hallo Daniel,

Maybe you have a clue how to convert a nurbs curves to separated arcs.
Hi Rafi,
I really have no clue about that. I think the key problem of this isue is where to separate the curve. I tried to divide the curve evenly but it works poorly. The files are attached below and you can see how poor it works if someone try to divide the curve evenly.

Attachments:
Hallo Daniel,

Tanks for replay, it would be much better if those arcs going according the domain curve with individual arc length.
-Is it possible to analysing the rotate angle on the axis by 3d nurbs curve?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service