Copy curve move into line, help me!

i have line and curve. When i choose point in curve and click on line (pic1) then curve be copied and rotate perpendicular with line (pic 2). Can we do that?


Pic1

Pic2

Hello - you can use Orient3Pt, more likely. with OSnaps to do this.

This one is easy because the line is ‘ortho’ - if it is not you can use the ‘elevetaor mode’ to get the vertical point in the same view as you start.

-Pascal

1 Like

OrientOnCrv might do what you want with the Perpendicular options - depending on how the original is drawn…

1 Like

Thank you! I want run it by python script :slight_smile:

do you have example?

Hello - in that case I guess you’ll need to define two planes and use a Rhino.Geometry.Transform.PlaneToPlane().

Please post scripting questions in the scripting category:

https://discourse.mcneel.com/c/scripting

-Pascal

1 Like