Skocz do zawartości

Featured Replies

Napisano

Hej, nie wiem czy już było ale natknalem sie na bardzo przydatny srypt do 3d maxa który działa troche jak opcja distribute w photosopie. rozlokowuje obiekty w równych odstępach pomiędzy dwoma krańcowymi elementami, może sie komuś przyda:

 

macroScript DistributeEvenly category:"Bobo_s Tools"

(

local theSel = Selection as array

if theSel.count > 0 do

(

local theMin = pickObject()

if isValidNode theMin do

(

local theMax = pickObject()

if isValidNode theMax do

(

theDelta = (theMax.pos - theMin.pos)/(theSel.count+1)

for i = 1 to theSel.count do theSel.pos = theMin.pos + theDelta*i

)

)

)

)

 

instrukcja:

*Copy, evaluate, customize a toolbar or menu, drag "DistributeEvently" from "Bobo_s Tools" category.

*Select the objects to be distributed (MINUS the first and last)

*Launch the script by pressing the button or selecting the menu item

*Pick the first object (the unselected one)

*Pick the last object (the other unselected one)

RESULT: All selected objects will be spaced evenly on the line between the two picks.

  • Odpowiedzi 2
  • Wyświetleń 716
  • Created
  • Ostatniej odpowiedzi

Top Posters In This Topic

Napisano

Jeżeli skrypt nie jest twój należało by dla porządku napisać kto jest jego autorem, lub przynajmniej zamieścić linka do miejsca, w którym go znalazłeś. Rozumiem że skrypt jest darmowy?

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Powiadomienie o plikach cookie

Wykorzystujemy cookies. Przeczytaj więcej Polityka prywatności