Align to object and Extract surface by Grasshopper

TEST.gh (146.3 KB) want to get auto angle align plane ,and extract surface from object, like red curve just for example to get plane. and blue surface is extract surface.

Have you checked orient direction? I haven’t opened your file yet.

1 Like

Try again to CLEARLY explain what you want.

1 Like

Yup, do this. Or you can also just find the angles that all your objects are rotated, then rotate each one by the difference from 90 degrees. So if your objects are rotated at these angles from the XY plane:
–33°, +47°, –56°
how do you bring them all back to 0 degrees?
You simply rotate each object by the negative of its current angle — which cancels out the rotation and realigns everything to 0°.

1 Like

The way my red curves are rotated indicates the direction of my object. I want to place my construction plane in that direction whenever I select an object, so that an automatic plane appears in the same direction. Also, I want to extract my blue surface from each object and get its outer line along with it (I am mentioning the outer line aspect now).

i dont try this

1 Like

Anyone help me to complete this




@KIRAN_MALLICK , your “TEST” file only had your breps internalized—which isn’t necessarily a problem if you first state you haven’t tried anything yet. Or clarify if you did. Honesty matters for getting adequate help :wink:

This explanation helps clarify, but it’s not enough for me. Your screenshot shows one intended set of plane axes for each pair of objects, not one per single object. This difference matters.

Also, as it seems you want to derive a plane rather than orienting things, my previous question about using orient direction doesn’t really apply here.

Anyway, I’m well aware I’m not really ‘helping’ you with this given your starting {low} efforts.

Too much fish, not enough net.

Study it and make some corrections if you must :grinning_face: :
TEST.gh (165.4 KB)

Good luck!

2 Likes

Thank You :heart_eyes: