Macro CloneConvert

Description
Creates a clone of the object and the converted in the chosen position and size (inch, mm, m, µm...). The base object is recognized in mm (FreeCAd base)

Uses
Run the macro, the XYZ settings, choose a unit select your object, and click button

The base is the mm example with a 1 mm cube of side :

Select in the comboBox inch, 1 inch = 25.4 mm, the fields "Scale free" automatically adjusts to 25.4 (the values ​​in "Scale-free" can be changed separately). Click button, the clone created will have 25,4 mm x 25,4 mm x 25,4 mm

Predefined units are :

km, hm, dam, m, dm, cm, mm, µm, nm, inch, link, foot, yard, perch, chain, furlong, mile, league, nautique.


 * Mode
 * Coordinate X : Coordinate placement X
 * Coordinate Y : Coordinate placement Y
 * Coordinate Z : Coordinate placement Z
 * Scale predefined
 * Scale predefined : predefined scales in units, km, hm, dam, m, dm, cm, mm, µm, nm, inch, link, foot, yard, perch, chain, furlong, mile, league, nautique.
 * Scale free
 * Scale X : free scale, if the value is negative ( -10) , the object is scaled x 10 and will be reversed in the X axis, to reduce the shape give a decimal value (0,5)
 *  : This button align the YZ values on the value of X if the three values are identical
 * Scale Y : free scale, if the value is negative ( -10) , the object is scaled x 10 and will be reversed in the Y axis, to reduce the shape give a decimal value (0,5)
 * Scale Z : free scale, if the value is negative ( -10) , the object is scaled x 10 and will be reversed in the Z axis, to reduce the shape give a decimal value (0,5)
 *  : the OK button validates and launches the command
 *  : the Reset button puts all the values to zero
 *  : the Quit button exit the macro
 *  : the OK button validates and launches the command
 *  : the Reset button puts all the values to zero
 *  : the Quit button exit the macro

Script
Macro_CloneConvert.FCMacro