WISH - orient face to 3 pts

Not sure if this exists or if some rhino wizard out there created a script.

I’d like to have orient face to 3 pts to work like this:

  1. run command
  2. prompt: select face (user clicks face on solid object)
  3. prompt: pick 3 points (user picks 3 pts) = rhino orients however it wants –

— the orientation of the face on step 2 doesn’t matter - that’s why I want to skip picking 3 pts and just pick the face instead

I would die for this command.

Oh wait did I mention how freaking cool this would be if I could apply this operation to multiple objects and click multiple faces on step 2 ???

I would imagine that they all would NOT land on top of each other if they all start off in different locations

can you post an example of what you are trying to do? On the surface it seems like cplane to object and remap cplane would do this for you, but seeing your workflow would help-

Hello - is the thing being oriented just the polysurface that contains the face that you pick?

Dunno if this is it, but just in case -

OrientFromFace.py (3.2 KB)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

Yes this is exactly what I am looking for @pascal thank you.

Any change we can get this to work on blocks ? or multiple parts at once ?

I would love to keep as block so I can retain properties of block for export & naming purposes… Please let me know your thoughts on this…

Hm - I guess I need an example file for the cases you mention…

-Pascal