rivan
Diamond Member
I'm trying to make a custom plugin for IllustratorCS3/OSX. I'm a programming newbie, and I've got a fairly lofty initial goal, but as I go along through the tutorials I'm trying to apply what I'm learning to the goal, sort of in the back of my head.
Something that's somewhat distracting is I'm not sure how I need to structure the size and scale computations, so I'm here to maybe get a little help to put that at ease.
So, I want my plugin to create marks on the page based on the following criteria:
The final art may be of almost any size - from business card to billboard, and may be vertically or horizontally oriented.
The final art must be printed (for our records) on either an 11x17 or an 8.5x11 sheet of paper; the final art may be printed portrait or landscape. It can be scaled down during printing to fit the smaller sheet size, but not scaled up.
Now for the twist - there are auxiliary marks that need to be on every sheet. Those marks are: a block for signatures, and a descriptive block that contains things like the job number, date, etc. Finally, there must be dimension marks on each piece. These marks must be drawn in scale such that they are a consistent size on the 11x17. So the smaller the final art needs to be printed, the larger these marks should be drawn on the artboard to properly reproduce.
So, how can I, given an argument of the final art's height and width, calculate the best position and orientation for the final art and required marks on a given page size?
Something that's somewhat distracting is I'm not sure how I need to structure the size and scale computations, so I'm here to maybe get a little help to put that at ease.
So, I want my plugin to create marks on the page based on the following criteria:
The final art may be of almost any size - from business card to billboard, and may be vertically or horizontally oriented.
The final art must be printed (for our records) on either an 11x17 or an 8.5x11 sheet of paper; the final art may be printed portrait or landscape. It can be scaled down during printing to fit the smaller sheet size, but not scaled up.
Now for the twist - there are auxiliary marks that need to be on every sheet. Those marks are: a block for signatures, and a descriptive block that contains things like the job number, date, etc. Finally, there must be dimension marks on each piece. These marks must be drawn in scale such that they are a consistent size on the 11x17. So the smaller the final art needs to be printed, the larger these marks should be drawn on the artboard to properly reproduce.
So, how can I, given an argument of the final art's height and width, calculate the best position and orientation for the final art and required marks on a given page size?