crop marks around objects
Copy link to clipboard
Copied
hi
i search for script that do'es crop marks around object like this:
Explore related tutorials & articles
Copy link to clipboard
Copied
...and object means? Smartobjects? Shapes? Paths? Pixel layers?
Copy link to clipboard
Copied
only rectangles
Copy link to clipboard
Copied
Did you know that illustrator has a function for crop marks? Do you really need cross marks?
Copy link to clipboard
Copied
× ×©×œ×— מה-iPhone שלי
Copy link to clipboard
Copied
You can use this script twice.
Copy link to clipboard
Copied
i didn't sucsses to do it.
Copy link to clipboard
Copied
It's pretty easy to make an action to distribute a symbol of this mark in relation to the Artboard. If needed the action can even be configured to make the symbols objects and outlined.
Copy link to clipboard
Copied
Tom Winkelmann wrote:
"You can use this script twice."
One time with the right settings should be enough.
 
@Tom Winkelmann - your link does work for me
Copy link to clipboard
Copied
@pixxxelschubser
Stimmt. Da hätte ich selbst drauf kommen können. 🙂
Copy link to clipboard
Copied
Ja, das hättest du.
😄
Copy link to clipboard
Copied
// select path
var b = app.selection[0].geometricBounds,
items = app.activeDocument.pathItems;
var draw = function (x, y) {
var l1 = items.add(), p1 = [[x-10, y], [x+10, y]];
l1.setEntirePath(p1);
l1.strokeWidth = 1;
var l2 = items.add(), p2 = [[x, y-10], [x, y+10]];
l2.setEntirePath(p2);
l2.strokeWidth = 1;
}
draw(b[0], b[1]);
draw(b[2], b[1]);
draw(b[0], b[3]);
draw(b[2], b[3]);
Copy link to clipboard
Copied
thanks!!!
how can i set it to mm?
Copy link to clipboard
Copied
Set what to mm? Stroke weight? If so, change the 1 in front of strokeWidth (lines 7 and 10) to 2.83465.

