Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 20628) +++ trunk/doc/user/09_appendix/action_details.html (revision 20629) @@ -1112,6 +1112,12 @@ HID function, causing the user to be prompted for a response. The respose is simply printed to the user's stdout. +
+The +puller + action is a special-purpose optimization. When invoked while the crosshair is over the junction of an arc and a line, it will adjust the arc's angle and the connecting line's endpoint such that the line intersects the arc at a tangent. +
If you have unsaved changes, you will be prompted to confirm (or save) before quitting. Index: trunk/doc/user/09_appendix/action_reference.html =================================================================== --- trunk/doc/user/09_appendix/action_reference.html (revision 20628) +++ trunk/doc/user/09_appendix/action_reference.html (revision 20629) @@ -12,7 +12,7 @@
Action | Description | Syntax | Plugin |
---|---|---|---|
About | Present the about box | About() | dialogs plugin | @@ -21,8 +21,8 @@
ArcNew | Create 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 |
Atomic | Save or restore the undo serial number. | Atomic(Save|Restore|Close|Block) | |
Attributes | Let the user edit the attributes of the layout, current or given layer, or selected subcircuit. | Attributes(Layout|Layer|Element|Subc) Attributes(Layer,layername) | - |
AutoPlaceSelected | Auto-place selected components. | AutoPlaceSelected() | autoplace plugin | -
AutoRoute | Auto-route some or all rat lines. | AutoRoute(AllRats|SelectedRats) | autoroute plugin | +
AutoPlaceSelected | Auto-place selected components. | AutoPlaceSelected() | autoplace plugin | +
AutoRoute | Auto-route some or all rat lines. | AutoRoute(AllRats|SelectedRats) | autoroute plugin |
Backup | Backup the current layout - save using the same method that the timed backup function uses | Backup() | |
Bell | Attempt to produce audible notification (e.g. beep the speaker). | Bell() | oldactions plugin |
BoardFlip | Mirror the board over the x axis, optionally mirroring sides as well. | BoardFlip([sides]) | boardflip plugin | @@ -76,8 +76,8 @@
DupGroup | Duplicate a layer group; if the first argument is not specified, the current group is duplicated | DupGroup([@group]) | |
EditGroup | Change a property or attribute of a layer group. If the first argument starts with @, it is taken as the group name to manipulate, else the action uses the current layer's group. Without arguments or if only a layer name is specified, interactive runs editing. | Editgroup([@group], [name=text|type=+bit|type=-bit])] Editlayer([@layer], attrib, key=value) | |
EditLayer | Change a property or attribute of a layer. If the first argument starts with @, it is taken as the layer name to manipulate, else the action uses the current layer. Without arguments or if only a layer name is specified, interactive runs editing. | Editlayer([@layer], [name=text|auto=[0|1]|sub=[0|1])] Editlayer([@layer], attrib, key=value) | - |
ElementList | Adds the given element if it doesn't already exist. | ElementList(Start|Done|Need, | - |
ElementSetAttr | Sets or clears an element-specific attribute. | ElementSetAttr(refdes,name[,value]) | + |
ElementList | Adds the given element if it doesn't already exist. | ElementList(Start|Done|Need, | + |
ElementSetAttr | Sets or clears an element-specific attribute. | ElementSetAttr(refdes,name[,value]) | |
EnableVendor | Enables automatic drill size mapping. | EnableVendor() | oldactions plugin |
EvalConf | Perform various operations on the configuration tree. | EvalConf(path) - evaluate a config path in different config sources to figure how it ended up in the native database | diag plugin |
ExecCommand | Run shell command | System(shell_cmd) | @@ -91,7 +91,7 @@ |
Flip | Flip a subcircuit to the opposite side of the board. | Flip(Object|Selected) | |
FontEdit | Convert the current font to a PCB for editing. | FontEdit() | fontmode plugin |
FontSave | Convert the current PCB back to a font. | FontSave() | fontmode plugin | -
FreeRotateBuffer | Rotates the current paste buffer contents by the specified angle. The angle is given in degrees. If no angle is given, the user is prompted for one. | FreeRotateBuffer([Angle]) | + |
FreeRotateBuffer | Rotates the current paste buffer contents by the specified angle. The angle is given in degrees. If no angle is given, the user is prompted for one. | FreeRotateBuffer([Angle]) | |
FullScreen | Hide widgets to get edit area full screen | pcb_act_FullScreen(on|off|toggle) | |
GetStyle | Return integer index (>=0) of the currently active style or -1 if no style is selected (== custom style) | GetStyle() | |
GetValue | Convert a coordinate value. Returns an unitless double or FGW_ERR_ARG_CONV. The 3rd parameter controls whether to require relative coordinates (+- prefix). Wraps pcb_get_value_ex(). | GetValue(input, units, relative, default_unit) | act_draw | @@ -110,7 +110,7 @@
LoadDsnFrom | Loads the specified routed dsn file. | LoadDsnFrom(filename) | dsn importer |
LoadEeschemaFrom | Loads the specified eeschema .net file - the netlist must be an s-expression. | LoadEeschemaFrom(filename) | kicad plugin |
LoadFontFrom | Load PCB font from a file | LoadFontFrom([file, id]) | - |
LoadFootprint | Loads a single footprint by name. | pcb_load_footprint(filename[,refdes,value]) | + |
LoadFootprint | Loads a single footprint by name. | pcb_load_footprint(filename[,refdes,value]) | |
LoadFpcbnlFrom | Loads the specified freepcb netlist. | LoadFpcbnlFrom(filename) | fpcb_nl importer |
LoadFrom | Load layout data from a file. | LoadFrom(Layout|LayoutToBuffer|SubcToBuffer|Netlist|Revert,filename[,format]) | |
LoadHpglFrom | Loads the specified hpgl plot file to the current buffer | LoadHpglFrom(filename) | hpgl importer | @@ -127,13 +127,13 @@
ManagePlugins | Manage plugins dialog. | ManagePlugins() | |
MarkCrosshair | Set/Reset the pcb_crosshair mark. | MarkCrosshair() MarkCrosshair(Center) | |
Message | Writes a message to the log window. | message(message) | - |
MinClearGap | Ensures that polygons are a minimum distance from objects. | MinClearGap(delta) MinClearGap(Selected, delta) | + |
MinClearGap | Ensures that polygons are a minimum distance from objects. | MinClearGap(delta) MinClearGap(Selected, delta) | |
MinMaskGap | oldactions plugin | ||
Mode | Change or use the tool mode. | Mode(Arc|Arrow|Copy|InsertPoint|Line|Lock|Move|None|PasteBuffer) Mode(Polygon|Rectangle|Remove|Rotate|Text|Thermal|Via) Mode(Notify|Release|Cancel|Stroke) Mode(Save|Restore) | |
MorphPolygon | Converts dead polygon islands into separate polygons. | pcb_poly_morph(Object|Selected) | - |
MoveLayer | Moves/Creates/Deletes Layers. | MoveLayer(old,new) MoveLayer(lid,group,gid) | + |
MoveLayer | Moves/Creates/Deletes Layers. | MoveLayer(old,new) MoveLayer(lid,group,gid) | |
MoveObject | Moves the object under the crosshair. | pcb_move_obj(X,Y,[units]) | - |
MoveToCurrentLayer | Moves objects to the current layer. | MoveToCurrentLayer(Object|SelectedObjects) | + |
MoveToCurrentLayer | Moves objects to the current layer. | MoveToCurrentLayer(Object|SelectedObjects) | |
NetlistChanged | Tells the GUI that the netlist has changed. | NetlistChanged() | oldactions plugin |
New | Starts a new layout. | New([name]) | |
NewGroup | Create a new layer group with a single, positive drawn layer in it | NewGroup(type [,location [, purpose[, auto|sub]]]) | @@ -145,7 +145,7 @@ |
PadstackConvert | Convert selection or current buffer to padstack | PadstackConvert(buffer|selected, [originx, originy]) | |
PadstackEdit | interactive pad stack editor | PadstackEdit(object, [tab]) | dialogs plugin |
PadstackPlace | Place a pad stack (either proto_id, or if not specified, the default for style) | PadstackPlace([proto_id|default], [x, y]) | - |
PasteBuffer | Various operations on the paste buffer. | PasteBuffer(AddSelected|Clear|1..PCB_MAX_BUFFER) PasteBuffer(Rotate, 1..3) PasteBuffer(Convert|Restore|Mirror) PasteBuffer(ToLayout, X, Y, units) PasteBuffer(ToLayout, crosshair) PasteBuffer(Save, Filename, [format], [force]) PasteBuffer(Push) PasteBuffer(Pop) | + |
PasteBuffer | Various operations on the paste buffer. | PasteBuffer(AddSelected|Clear|1..PCB_MAX_BUFFER) PasteBuffer(Rotate, 1..3) PasteBuffer(Convert|Restore|Mirror) PasteBuffer(ToLayout, X, Y, units) PasteBuffer(ToLayout, crosshair) PasteBuffer(Save, Filename, [format], [force]) PasteBuffer(Push) PasteBuffer(Pop) | |
Pinout2 | Present the subcircuit pinout box | Pinout() | dialogs plugin |
PolyCombine | polycombine plugin | ||
PolyHatch | hatch the selected polygon(s) with lines of the current style; lines are drawn on the current layer; flags are h:horizontal, v:vertical, c:contour, p:poly | PolyHatch([spacing], [hvcp]) PolyHatch(interactive) | lib_polyhelp | @@ -167,7 +167,7 @@
PrintVersion | Print version. | PrintVersion() | |
PromptFor | Prompt for a response. | PromptFor([message[,default]]) | |
PstkNew | Create a padstack. For now data must be "pcb". glob_clearance=0 turns off global clearance. Returns the ID of the new object or 0 on error. | PstkNew(data, protoID, x, y, glob_clearance, flags) | act_draw | -
Puller | Pull an arc-line junction tight. | pcb_act_Puller() | puller plugin | +
Puller | Pull an arc-line junction tight. | pcb_act_Puller() | puller plugin |
Quit | Quits the application after confirming. | Quit() | |
Redo | Redo recent "undo" operations. | redo() | |
RemoveMenu | Recursively removes a new menu, popup (only path specified) or submenu. | RemoveMenu(path|cookie) | @@ -179,8 +179,8 @@ |
Report | Produce various report. | Report(Object|DrillReport|FoundPins|NetLength|NetLengthTo|AllNetLengths|[,name]) | report plugin |
ReportObject | Report on the object under the crosshair | ReportObject() | report plugin |
Return | Simulate a passing or failing action. | Return(0|1) | oldactions plugin | -
RipUp | Ripup auto-routed tracks | RipUp(All|Selected|Element) | - |
Rotate90 | Rotates the object under the crosshair by 90 degree steps. | pcb_move_obj(steps) | + |
RipUp | Ripup auto-routed tracks | RipUp(All|Selected|Element) | + |
Rotate90 | Rotates the object under the crosshair by 90 degree steps. | pcb_move_obj(steps) | |
RouteStyle | Copies the indicated routing style into the current pen. | RouteStyle(style_id|style_name) | |
RouteStylesChanged | Tells the GUI that the routing styles have changed. | RouteStylesChanged() | oldactions plugin |
SaveFontTo | Save PCB font to a file | SaveFontTo([file, id]) | @@ -226,7 +226,7 @@ |
ddraft | Enter 2d drafting CLI mode or execute command | ddraft([command]) | ddraft plugin |
distribute | Distribute subcircuits | Distribute(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]]) | distalign plugin |
distributetext | Distribute Text Elements | DistributeText(Y, [Lefts/Rights/Tops/Bottoms/Centers/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]]) | distaligntext plugin | -
djopt | Perform various optimizations on the current board. | djopt(debumpify|unjaggy|simple|vianudge|viatrim|orthopull) djopt(auto) - all of the above djopt(miter) | djopt | +
djopt | Perform various optimizations on the current board. | djopt(debumpify|unjaggy|simple|vianudge|viatrim|orthopull) djopt(auto) - all of the above djopt(miter) | djopt |
dlg_test | test the attribute dialog | dlg_test() | dialogs plugin |
dumpconf | Perform various operations on the configuration tree. | dumpconf(native, [verbose], [prefix]) - dump the native (binary) config tree to stdout dumpconf(lihata, role, [prefix]) - dump in-memory lihata representation of a config tree | diag plugin |
dumpdata | Dump an aspect of the data | dumpdata() | diag plugin | Index: trunk/doc/user/09_appendix/action_src/puller.html =================================================================== --- trunk/doc/user/09_appendix/action_src/puller.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/puller.html (revision 20629) @@ -0,0 +1,4 @@ +The