please download attach files.
when I want to increase and decrease the amount of scale factor and amount of rectangle I want automatically stop it on point intersection between points and rectangle.
how can i do it?
ok so here’s what i got from your description, which is half working (only every other stop - because of the exponential nature of scale): STOP Scale on points_re.gh (12.5 KB)
1st: i want to set a rectangle with custom size that i want with no change in dimension of circles and distance between theme. (please do not change rectangle base) STOP Scale on points rev1.gh (8.3 KB)
2nd : i want to SCALE circles until they (points) connect to the rectangles.
I can do this with hand but i want to sure the connection occured correctly.
for example:
in this picture you see we have created a rectangle with this size : x=600 y=200
now i want to change the scales.
I want to have a stop when the points intersect to the top and right side of rectangular.
like this:
I’m still not completely clear on what you are trying to do. Is it something like this? This only snaps to scale to the top line of the rectangle, as you have shown.
updated your script to snap to top & right of rectangle. i exchanged multiplications for expressions so it’s compatible to RH5. @tube did you at least work on the problem while you were waiting for a solution?