AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

Set Scale ​

Make a picture true size: click two points on it and say how far apart they really are.

Set Scale: Set Scale uses two picked points and their known real distance.
Concept diagram. Set Scale uses two picked points and their known real distance. View full size

In the app

Click the picture, then two points whose real distance you know (hold Shift to keep the line level or upright), such as the bottom and top of a tyre. Type the real distance and its unit, then apply.

How to use ​

  1. Choose Set Scale. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Picture (plane).
  3. Adjust the settings and check the preview in the viewport.
  4. Use the panel buttons as needed: Pick the two points again.
  5. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Real distance between the two points180.000001 to 10000000
Inmmmm, cm, m, in, ft

Script it ​

Command name set_image_scale. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("set_image_scale", slots={"Picture": ...}, real_distance_between_the_two_points=18, in="mm")