Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 20721) +++ trunk/doc/user/09_appendix/action_details.html (revision 20722) @@ -3014,6 +3014,21 @@ +

smartdisperse

+
+

+ +
Syntax summary: +SmartDisperse([All|Selected]) +
Help text: +TODO +
Registered by: +smartdisperse plugin +
+

+Improve the initial dispersion of subcircuits by choosing an order based on the netlist, rather than the arbitrary subcircuit order. This isn't the same as a global autoplace, it's more of a linear autoplace. It might make some useful local groupings. For example, you should not have to chase all over the board to find the resistor that goes with a given LED. +

+

swapsides

Index: trunk/doc/user/09_appendix/action_reference.html =================================================================== --- trunk/doc/user/09_appendix/action_reference.html (revision 20721) +++ trunk/doc/user/09_appendix/action_reference.html (revision 20722) @@ -12,11 +12,12 @@

Action Reference

+ @@ -276,7 +277,7 @@ - + Index: trunk/doc/user/09_appendix/action_src/smartdisperse.html =================================================================== --- trunk/doc/user/09_appendix/action_src/smartdisperse.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/smartdisperse.html (revision 20722) @@ -0,0 +1,6 @@ +Improve the initial dispersion of subcircuits by choosing an order based +on the netlist, rather than the arbitrary subcircuit order. This isn't +the same as a global autoplace, it's more of a linear autoplace. It +might make some useful local groupings. For example, you should not +have to chase all over the board to find the resistor that goes with +a given LED. Index: trunk/src_plugins/smartdisperse/smartdisperse.c =================================================================== --- trunk/src_plugins/smartdisperse/smartdisperse.c (revision 20721) +++ trunk/src_plugins/smartdisperse/smartdisperse.c (revision 20722) @@ -11,12 +11,6 @@ * Ported to pcb-rnd by Tibor 'Igor2' Palinkas in 2016. * Upgraded to subc by Tibor 'Igor2' Palinkas in 2017. * - * Improve the initial dispersion of subcircuits by choosing an order based - * on the netlist, rather than the arbitrary subcircuit order. This isn't - * the same as a global autoplace, it's more of a linear autoplace. It - * might make some useful local groupings. For example, you should not - * have to chase all over the board to find the resistor that goes with - * a given LED. */ #include @@ -114,7 +108,8 @@ #define is_visited(obj) htpi_has(&visited, ((void *)(obj))) static const char pcb_acts_smartdisperse[] = "SmartDisperse([All|Selected])"; -static const char pcb_acth_smartdisperse[] = "TODO"; +static const char pcb_acth_smartdisperse[] = "Disperse subcircuits into clusters, by netlist connections"; +/* DOC: smartdisperse.html */ static fgw_error_t pcb_act_smartdisperse(fgw_arg_t *res, int argc, fgw_arg_t *argv) { int op = -2;
\n -This is pcb-rnd 2.0.0 (svn r18442) an interactive printed circuit board editor , Revision: 20698 +This is pcb-rnd 2.0.0 (svn r18442) an interactive printed circuit board editor , Revision: 20721
Action Description Syntax Plugin
AboutPresent the about boxAbout()dialogs plugin
AddRatsAdd one or more rat lines to the board.AddRats(AllRats|SelectedRats|Close)
AddTimerAdd a new timerAddTimer(action, period, [repeat], [userdata])script plugin
ApplyVendorApplies the currently loaded vendor drill table to the current design.ApplyVendor()vendor drill mapping
ArcNewCreate a pcb arc segment on a layer. For now data must be "pcb". Returns the ID of the new object or 0 on error.ArcNew(data, layer, centx, centy, radiusx, radiusy, start_ang, delta_ang, thickness, clearance, flags)act_draw
AtomicSave or restore the undo serial number.Atomic(Save|Restore|Close|Block)
sklineTool for drawing sketch linesskline()sketch_route plugin
skretriangulateReconstruct CDT on all layer groupsskretriangulate()sketch_route plugin
sktransformTransform sketch to geometrical wiringsktransform(rect|oct|alldir)sketch_route plugin
smartdisperseTODOSmartDisperse([All|Selected])smartdisperse plugin
smartdisperseTODOSmartDisperse([All|Selected])smartdisperse plugin
splitUse one or more objects as cutting edge and trim or split other objects. First argument is the cutting edgetrim([selected|found|object], [selected|found|object])
split([selected|found|object], [selected|found|object])
ddraft plugin
strokeVarious gesture recognition related functionsstroke(gesture, seq)stroke plugin
sttExecute a script one-liner using a specific languageOneliner(lang, script)script plugin