How to convert Pixels to cm's while resizing and retaining aspect ratio of a fixed value in Illustartor CS5


Question

My objective is to create a shape which is exactly 5cm in width and 4cm in height.

I start off with a Artboard which is 1000px wide by 1000px in height. I do my drawings in such a way that there is a 5px gab from top, bottom, left and right.

So my drawing is actually 990px wide (1000 - (5+5))X 990px Height (1000 - (5+5)).

Finalizing the drawing, I see that there is some space at the bottom which is empty. So I resize the artboard to 830px in height.

Now my Artboard is 1000px wide and 830px in height while my drawing is 990px wide and 820px in height with 5px on each side (top, bottom, left, right). The drawings is centred both horizontal and vertically relative to the Artboard. All shapes in the drawings are given sizes as per the size of the drawing.

(Hope I am making sense). Now I copy the drawing (Not the Artboard & and not by using place or import, but copy & paste) to a new document, change the UNITS from pixels to cm, and resize the drawing to a width of 5cm while Locking the aspect ratio in the Tranform Panel.

I get the final drawing with the dimensions of 5cm in width and 4.124cm in height. (Thank you for bearing with me for so long).

My question is, what pixels I start with in the first place (Not perefered to do like that) OR resize the Artboard later (Perefered) in such a manner that:

  1. There is always 5px gap from top, bottom, left and right between the drawing and artboard.
  2. On resizing the drawing, the aspect ratio is always maintained of value 1:1. For example if it is 5cm in width, resizing it will result in 4cm in height, or if it is 2cm in width, it will have a height of 1cm when resized.

I could offcouse disslect the "maintain/lock aspect ratio" in the Transform Panel and than change the height to 4cm. But that messes up the drawing.

Thanks in advance.

(Have setup 300 resoultion)

1
0
3/29/2012 6:41:00 PM

Accepted Answer

Set up the artboards to the sizes you need.....

Like so.....

enter image description here

You could then create 3 layers. 1 layer for the small artwork, duplicate the layer and scale it to match the mid-sized artboard. Then duplicate and scale to match the large artboard.

I've got the artboard stacked on top of each other here, but it would be easier if they were side by side.

Then when saving the file, simply choose which artboard you want to save.

If the artwork is a symbol (you can have layers within symbols with CS5), then you can simply edit the symbol and change artwork on all 3 artboards at the same time.

1
3/29/2012 8:10:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
^