Hi guys … I have simple problem that I cannot solve.
I have a circle and an outside curve ( geometry imported inside Grasshopper ).
I would like that the outside curve increase proportionally when I increase the circle.
So basically I need to scale the light green curve to stay consistent to the dimension of the circle ( offset wise ). Increasing the circle will increase the dimension of the light green curve as well.
Then it’s not simple for you, eh? Have you ever seen this page?
3. Attach minimal versions of all the relevant files
I said simple because I guess it’s not a big deal for you guys … but for me I cannot find a way around. I update the question with a screenshot … here the super simple def.
curve scale.gh (12.8 KB)
What
can you please tell me what you need?
Sorry I’m kind of new to grasshopper … I know it’s probably simple but I cannot do it.
Thanks for your help
I’m just trying to learn
make fun of someone who’s learning … doesn’t really help the learning process.
I thought this was a helping forum … not a change to laugh about someone who is willing to learn.
Hello
don’t mind Joseph reaction. He often helps after some sarcasm.
What you are after is a sort of “Rule of Three”.
You just have to use a Scale component but in order to calculate the factor of Scale you need a reference curve. I took 12.5 ? reference curve
As length is proportional to the radius I do that
curve scale.gh (16.3 KB)
Thank you so much … I tried also the same way … or with bounding boxes … but I couldn’t get the scale factor right
… now I got it … Thank you so much really
there’s a problem though … the distances between the ring size and the outside curve are changing. I need that those distances stay the same no matter the ring size I’m going to input
The reference and ok distances are on the 12.5 measure … and they should stay the same always
Not good answer but whatever, I did it.
A scale scales also the thickness. Some Math is mandatory
New Width = thickness * 2 + new Radius
Old Width = = thickness * 2 + reference Radius
New Width = thickness * 2 * factor*reference Radius
Factor of scale for exterior = (thickness * 2 * factor*reference Radius)/(thickness * 2 + reference Radius)
You can measure Thickness using bounding box and the same for the 2 radiuses.
Something like that
curve scaleLD2.gh (21.4 KB)
thanks … i’ll check this out. In the meantime I found the solution myself.
Maybe a more complicate workaround but it works
I created a rectangle and starting from the radius of the circle + the dimension I needed on each side… then I remapped the curve on that rectangle.
Don’t worry I have a solution, I didn’t understood well what you wanted.
A bit more complex because the component you use doesn’t output consistent curves.
curve scaleLD3.gh (22.1 KB)
You don’t realize how insulting it is to start a thread by saying “I have simple problem…”.
And you provided this important detail very late in the game:
This wasn’t as simple as you assumed, especially without critical information.
Thank you … I didn’t mean to insult anyone amd sorry if I did … I really thought it was super simple to do it.
Anyhow … interesting to see that all 3 of us came to the same conclusion with different approach.
Thank you again
Wrong And always insulting to assume so, intentional or not. It happens too often.
may I ask you what is the Number you input on the division?
I don’t get it
It’s simple And wrong, based on your belated requirement to keep the same offset (thickness) - which I explored too but… it’s so simple