Scripts for arranging parts in layout view ? are there any


#1

im trying to find out if there are any scripts that will automatically space lots of selected parts over a specified area and with a set spacing
I’m also needing a logharhymical layout as well as one for equal spread and distances

Is this possible ?

can this be modded to work in a script this does a logarithmic layout up the screen would be good if it could go horizontally
and have component selection this does lines though and is set to space 100 lines how could we apply this to components in layout view at a desired width or height ? found this at http://jsfiddle.net/fhbTp/4/

function log10(val) {
return Math.log(val) / Math.LN10;
}

var paper = Raphael(‘meh’, 1000,1000);

for (var i = 1; i <= 100; i++) {
var log = log10(i) * 125;
var yPos = 260 - log;
var r = paper.rect(0,yPos,5,1,1);
if (i==1 || i==10 || i==100) {
paper.text(15,yPos,i);
}
r.attr({opacity: 0.6, ‘stroke-width’: 0, fill: ‘#000000’});
console.log(yPos);
};

it would also be good it we could have circular layouts in a script and spiral in a script