Draft Scale

Description
The tool scales or copies selected objects around a base point.

The Scale tool can produce a copy or a Draft Clone at a defined scale. Use Draft Offset to produce a scaled copy of a wire set at a certain offset. A simple copy with no scaling can be produced with Draft Move.

This tool can be used on 2D shapes created with the Draft Workbench but can also be used on many types of 3D objects such as those created with the  Part or  PartDesign workbenches.



Usage

 * 1) Select the objects that you wish to scale.
 * 2) Press the  button, or press  then  keys. If no object is selected, you will be invited to select one.
 * 3) Click a first point on the 3D view, or type a coordinate and press the  button. This serves as the base point of the operation.
 * 4) Set the X, Y, and Z factors, and the appropriate result options, then press  or the  button to finish the operation.

First task panel
The single character keyboard shortcut mentioned here can be changed. See Draft Preferences.


 * To manually enter the coordinates for the base point enter the X, Y and Z component, and press after each. Or you can press the  button when you have the desired values. It is advisable to move the pointer out of the 3D view before entering coordinates.
 * The checkbox has no purpose for this command.
 * Press or click the  checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the working plane coordinate system.
 * The remaining checkboxes in this task panel are ignore by the command.

Second task panel

 * Enter the X, Y and Z factors to define the scaling. The values must be larger than zero.
 * Check the checkbox to lock the X, Y and Z factors to the same value. For this setting to take effect one of the scale factors has to be changed. Alternatively you can click in the inputbox with the desired scale and press  to finish the command.
 * If the checkbox is checked the scale factors are relative to the working plane coordinate system, else they are relative to the global coordinate system.
 * If the checkbox is checked a scaled copy of the original object is created. This only works for Draft objects that have a  property, such as Draft Wires.
 * If the checkbox is checked the selected subelements are scaled instead of the whole objects. The subelements must belong to Draft objects with a  property.
 * If the checkbox is checked scaled clones of the original objects are created. This works for all object types. For objects that are not Draft objects, or for Draft objects that do not have a  property, this option  be selected.
 * Press the button and pick two additional points in the 3D view to calculate the scale factors. This will automatically check the  checkbox. The X, Y and Z scale factors will therefore be equal and will be set to the distance between the base point and the 'from' point, divided by the distance between the base point and the 'to' point.

Preferences
See also: Preferences Editor and Draft Preferences.


 * To change the number of decimals used for the input of coordinates:.
 * To change the number of decimals used for the input of scale factors:.
 * To store and reuse the same copy mode setting across commands:.
 * To reselect the base objects after copying objects:.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To scale objects use the method of the Draft module.


 * contains the objects to be scaled. It is either a single object or a list of objects.
 * is the vector that specifies by the X, Y and Z scale factors.
 * is the center point of the scaling operation.
 * If is  copies are created instead of scaling the original objects.
 * is returned with the original scaled objects, or with the new copies. It is either a single object or a list of objects, depending on.

Example: