Sg2.9
Grid builder
Recent RSS
Creator:  tomek kozysa
Date:  11. February 2011, 17:41

A small and simple tool to set up a grid for your design work. Allows you to define amount of columns, widths, gutters and the baseline. All parts of created grid are grouped.

Re: Grid builder
From:  Jay Weeks
Date:  12. March 2011, 19:51

Really simple, but a nice utility. It'd be nice to be able to define an overall width and number of columns as an option. Probably will add this myself. :)

Re: Grid builder
From:  shane
Date:  25. March 2011, 03:26

strange error,

Cannot convert { cyan: 0, magenta: 0, yellow: 255, black: 0.5 } to java.awt.Color
at Examples/Scripts/gridbuilder.js:42

I've tried changing the color mode and values for the var but to no avail.

Re: Grid builder
From:  shane
Date:  25. March 2011, 03:50

looks like this worked:

// comment this out
//var components = [0, 0, 255, 0.5];
//var columnColor = new RGBColor(components);

var groupC = new Group();
var groupG = new Group();
var groupI = new Group();

var grid = new Group();
for(var i = 0; i < columns; i++)
{

var bottomLeft = new Point(x, -1200);
var rectSize = new Size(width, height);
var myRect = new Path.Rectangle(bottomLeft, rectSize);
// hard code the value
myRect.fillColor = '#0f3daf';
myRect.strokeWidth = 0;
myRect.opacity = .3
x+=width+gutters;

Re: Grid builder
From:  ken frederick
Date:  4. February 2012, 12:49

i just whipped up a script which allows one to create a grid (margins, rows, and columns) in illustrator similar to "create guides..." in indesign.


http://kenfrederick.blogspot.com/2012/02/scriptographer-create-grid.html

and then i discovered that tomek had made this one already. oops.

between the two, it seems grid creation in illustrator is covered. haha.

Ken

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19