Select Objects in a curve

(Clem Granger) #1

Hi everyone,

I want to select all the squares that are in the curve. How can I do ?

(90)

See gh with internalized data.

rect_selection.gh (5.5 KB)

Thanks to all

0 Likes

(IVELIN PEYCHEV) #2

my guess is get the corners of each small square and check each corner if it is inside the big square. If all 4 points are in then the square is in.

image

0 Likes

(Seghier khaled) #4
0 Likes

(Seghier khaled) #5

You can use this

shapes in a curve.gh (9.6 KB)

0 Likes

(Clem Granger) #6

Hi,
Thanks to both of you it works perfectly.

Le lun. 15 avr. 2019 à 19:01, Seghier khaled via McNeel Forum mcneel@discoursemail.com a écrit :

0 Likes