There are two lines that form a certain zone or region. There is a brep, which borders the zone, but beyond its aisles. I need the grasshopper to understand what position the brep is in and automatically move the brep to the green zone if the brep is outside. That is, if a brep outside the zone is “false” - he must change his position to “true”. If the brep is in the “true” zone, it remains in its place.
Something like this?
№1_re.gh (9.8 KB)
if I need the edge of the brep always to be adjacent to the edge of the line to which it originally belonged?
№1_reV2.gh (14.2 KB)
Thank you so much