Syntax
 setbackToArea(area) { selector operator operations  ... }
 setbackToArea(area, uvSet) { selector operator operations  ... }
 setbackToArea(area, minDistances) { selector operator operations  ... }
 setbackToArea(area, minDistances, uvSet) { selector operator operations  ... }
 setbackToArea(area, minDistances, maxDistances) { selector operator operations  ... }
 setbackToArea( area, minDistances, maxDistances, uvSet) { selector operator operations  ... }
Parameters
 area—floatThe desired area of the setback remainder. Must be >0.
 minDistances, maxDistances—float[]An array containing setback distances separately for each face edge. The applied setback will be in this range.
 uvSet, selector, operator, operationsAll other parameters are the same as for the setback operation.
Description
The setbackToArea operation is similar to the setback operation. The difference is that setback distances are automatically chosen such that the remainder fulfills a given area.
If no minDistances are given the setback distances are chosen to be equal for each edge. If minDistances are specified then these distances are increased by a common offset such that area is satisfied. Optionally, maxDistances define maximum values for the applied distances.
The desired area cannot be achieved when the minimum distances are too large, the maximum distances are too small or the area of the current shape is smaller than the specified area.
Note:
The remainder depends on the setbacks of selected edges. If you are only interested in the remainder shape you still have to provide a setback selector:
setbackToArea(area) { all = NIL  remainder = X. }
Geometry tags
The operation automatically applies semantic component tags to the resulting edge components. Refer to the setback operation for more details.
Related
Examples
Setback to area
Left: A square shape with an area of 400 is setback to an area of 100. Right: A setback is performed such that all setback faces have an area of 300.
 
A Lshaped setback to area 100 and 300.
 
A setback to area 100 on the same shape at different scales.

Lower and upper bounds
The setback to restricted by minimum and maximum distances (highlighted in red).
