Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4125

[Request] Quick & Dirty lay flat

$
0
0

If someone is interested, can you make this one (in Python):

  • Call the script via macro or keystroke
  • if object wasn’t pre-selected, an option to select the object
  • click on a planar face of the object
  • that face lays flat on world plane

that’s it

whatever orientation that face happens to be in space is how it plops to Z=0
(as in, there’s no describing the plane using something like Orient3pt)

for example, say you select a surface with Auto CPlane turned on. Whatever that chooses for X,Y,Z can just keep X,Y point the same and just remaps to the regular cplane with Z being at zero.

just looking for a one-click deal to get an object laying flat with desired surface facing downwards.

thanks

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 4125