Pay once, no subscription. Free updates.|Try PowerScripts free|Install / update
PowerScripts Help

Site Tools


rescale

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rescale [2026/10/25 02:27] – Markup fix for the DokuWiki upgrade (spaces inside bold/italic) 0.0.0.0rescale [2026/10/25 02:53] (current) – Help pages updated for PowerScripts 3.8 (help pages session) remoteuser
Line 1: Line 1:
-====== Calculate Scale PowerScript ====== +====== Calculate Scale ======
-Version 1.0.2\\ +
-This PowerScript has been designed to help scalling photos of real world objects.+
  
-====== Interface ====== +Scale a photo of a real object to an exact size. Draw a line over something you've measured (a door, a wall, a vehicle), type its real length, and Calculate Scale works out the scale and resizes the photo to the scale you want to design at.
-{{:calc-scale.png|}}+
  
-  * **Separate Scale for Horizontal and Vertical** Checkbox - Tick this if you want to scale the artwork  +[[https://o2creative.co.nz/shop/PowerScript_Packages|In the PowerScript packages]] · Version 1.1.6 · Needs PowerScripts 3.8.32 or later
-  * **Calc Scale** Button - Once you have drawn a line on the document, select the line and click this button. Enter the real word size of the line including units, such as "15 inch" or "315mm" and the program will calculate the scale +
-  * **Calculated Scale** - This shows the calculated scale of the artwork +
-  * **Desired Scale** - The final scale of the artwork +
-  * **Add Scale Label** - Add the scale as text in the bottom left of the artwork +
-  * **Apply Scale** - Select all the artwork that needs to be scaled and click apply scale.+
  
 +===== Where to find it =====
  
-====== How  to use ======+Open the PowerScripts panel (**Window > Extensions > PowerScripts**) and choose **Calculate Scale** from the **Tools** scripts.
  
-1) Place the photo into illustrator+===== Quick start =====
  
-2) Draw a line on the object which corresponds to a measurement you took. In this example the width of the door. \\ +  - Place the photo in Illustrator. 
-{{:calc-scale-2.jpg|}}+  - Draw a straight line over something you measured, for example the width of a door. 
 +  - Select the line and press **Calc Scale**. Type the real size **with its units**, for example ''915mm'' or ''36 in''. 
 +  - Enter the **Desired Scale** you want to design at, for example ''10'' for 10%. 
 +  - Select the photo and press **Apply Scale**.
  
-3) Press the [Calculate Scale] button and enter the real world measured size, you MUST include units such as inches, mm, meters, points etc.\\ +===== Options =====
-{{:calc-scale-3.jpg|}}+
  
-4) Enter in the designed scale you want the photo to be, such as 10% +{{:calc-scale.png|The Calculate Scale panel}}
  
-5) Select the photo and press [Apply Scale] and the photo will now be the correct size +  * **Separate scale for horizontal and vertical**: work out the scale across and down separately, with **Calc Horizontal Scale** and **Calc Vertical Scale**. Use it when the photo is stretched or taken at an angle. 
-{{:calc-scale-4.jpg|}}+  * **Calculated Scale**: the scale the photo is at now, worked out from your line. You can also type it if you know it. 
 +  * **Calc Scale**: select one straight line, press it, and type the line's real length with units. The scale is the line's length on the page divided by its real length. 
 +  * **Desired Scale**: the scale you want the artwork at, for example 100% for full size or 10% for a large sign. 
 +  * **Add Scale Label**: write "SCALE: 10.00%" at the bottom left of the scaled artwork. 
 +  * **Apply Scale**: scales the selected artwork from the calculated scale to the desired one.
  
 +===== How to... =====
  
 +==== Design a shop front sign on a photo ====
  
 +  - Place the photo of the shop front.
 +  - Draw a line across the door, which you measured as 915 mm.\\ {{:calc-scale-2.jpg?500|A line drawn across the door}}
 +  - Select the line, press **Calc Scale** and type ''915mm''.\\ {{:calc-scale-3.jpg?500|Type the real size}}
 +  - Set **Desired Scale** to ''10''.
 +  - Select the photo and press **Apply Scale**. The photo is now at 10%, so 1 mm on the artboard is 10 mm on the building.\\ {{:calc-scale-4.jpg?500|The photo at the right scale}}
 +  - Design the sign at 10% on top of the photo. Use [[dimension|Dimension]] with the same scale to add real-world measurements.
 +
 +===== Tips =====
 +
 +  * Measure the longest thing you can in the photo: a longer line gives a more accurate scale.
 +  * Draw the line on something flat-on to the camera. Things at an angle look shorter than they are.
 +
 +===== Good to know =====
 +
 +  * **Calc Scale** needs one straight line selected (two points). Anything else and the panel asks you to select a single line.
 +  * Always type the units: ''915'' on its own isn't enough, ''915mm'' is.
 +
 +===== What's new =====
 +
 +  * **1.1.6**: Buy in PowerScripts now opens the packages that include this script.
 +  * **1.1.5**: Updated for PowerScripts 3.8.32.
 +  * **1.1.4**: Updated for the new version of PowerScripts.
 +  * Older changes: [[releasenotes|PowerScripts Release Notes]]
  
rescale.txt · Last modified: by remoteuser