Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 20655) +++ trunk/doc/user/09_appendix/action_details.html (revision 20656) @@ -524,6 +524,44 @@ +

distribute

+

+ +Example: Distribute(X, [Lefts/Rights/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])
+ +

+ +Example: Distribute(Y, [Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])
+ +

+ As with +align +, plus: +

+ Arguments: +

+ + + + + + + +
+ Gaps + + Make gaps even rather than spreading points evenly. +
+ First, Last, pcb_crosshair + + Two arguments specifying both ends of the distribution, they can't both be the same. +
+ +

+ Defaults are Marks, First, Last +

+ Distributed subcircuits always retain the same relative order they had before they were distributed. +

djopt

The different types of optimizations change your board in order to reduce the total trace length and via count. Index: trunk/doc/user/09_appendix/action_src/distribute.html =================================================================== --- trunk/doc/user/09_appendix/action_src/distribute.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/distribute.html (revision 20656) @@ -0,0 +1,20 @@ +Distribute(X, [Lefts/Rights/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]]) +

+Distribute(Y, [Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]]) +

+As with align, plus: +

+Arguments: +

+ +
Gaps + Make gaps even rather than spreading points evenly. + +
First, Last, pcb_crosshair + Two arguments specifying both ends of the distribution, they can't both be the same. +
+

+Defaults are Marks, First, Last +

+Distributed subcircuits always retain the same relative order they had +before they were distributed. Index: trunk/src_plugins/distalign/distalign.c =================================================================== --- trunk/src_plugins/distalign/distalign.c (revision 20655) +++ trunk/src_plugins/distalign/distalign.c (revision 20656) @@ -351,23 +351,8 @@ return 0; } -/* - * Distribute(X, [Lefts/Rights/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]]) - * Distribute(Y, [Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]]) - * - * As with align, plus: - * - * Gaps - Make gaps even rather than spreading points evenly. - * First, Last, - * pcb_crosshair - Two arguments specifying both ends of the distribution, - * they can't both be the same. - * - * Defaults are Marks, First, Last - * - * Distributed subcircuits always retain the same relative order they had - * before they were distributed. - */ static const char pcb_acts_distribute[] = "Distribute(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]])"; +/* DOC: distribute.html */ static fgw_error_t pcb_act_distribute(fgw_arg_t *res, int argc, fgw_arg_t *argv) { const char *a0, *a1, *a2 = NULL, *a3 = NULL, *a4 = NULL;