Align position to center of picked object and rotate it to bounding box
Hey everyone,
I tried but failed to create a script that changes the plates of f.e. a Shelf to my new modeled plate.
The script should change the plates of the shelf and align new plates to it, but should look to the bounding box of the old plates, its not enough to rotate in local mode, because the plates of the old shelf are been detached, so the axis is not correct anymore.
it is not necessary to scale to old plates, the new plates just need the right rotation and center position of the old plates from the shelf.
thx
Dragan
Attachment | Size |
---|---|
script_wanted.jpg | 508.81 KB |
Comments
...
try 3-Point-align script http://www.breidt.net/scripts/index.html#3ptalign
bga
cool script but with it you
cool script but with it you must prepare every plate by hand, i have found a script that put the plates on the right place (look at attached images) but dont rotate it based on the bounding box length of the old plates.
I have attached a new image, i hope it presents my problem better :)
Thx