Index: 09_appendix/action_details.html =================================================================== --- 09_appendix/action_details.html (revision 35242) +++ 09_appendix/action_details.html (revision 35243) @@ -696,7 +696,7 @@ Display(SubcID, template) Display(Grid|Redraw|Pinout|PinOrPadName) Display(CycleClip|ToggleAllDirections|ToggleStartDirection) -Display(ToggleGrid|ToggleRubberBandMode|ToggleUniqueNames) +Display(RealignGrid|ToggleRubberBandMode|ToggleUniqueNames) Display(ToggleName|ToggleClearLine|ToggleFullPoly|ToggleSnapPin) Display(ToggleSnapOffGridLine|ToggleHighlightOnPoint|ToggleCheckPlanes) Display(ToggleThindraw|ToggleThindrawPoly|ToggleOrthoMove|ToggleLocalRef) @@ -4195,6 +4195,24 @@ +
+
Syntax summary: | +SetGridOffs(x_offs, y_offs) + |
---|---|
Help text: | +Change grid offset (alignment) to x_offs and y_offs. Offsets should be specified with units. + |
Registered by: | n/a + |
+Changes the grid offset to relative or absolute x_offs and y_offs. For non-zero values always use units, e.g. SetGrifOffs(0.5mm, 0.1mm). +
+ The final grid offset alues will be scaled down so they are always between 0 and the current grid size. For example with a 25 mil grid, a value of 7mil will be taken as 7mil offset, but a value of 27 mil will be taken as a 2mil offset. +
+ If an offset starts with + or -, it is taken as relative, which means it is added to the current offset value. +
Index: 09_appendix/action_reference.html =================================================================== --- 09_appendix/action_reference.html (revision 35242) +++ 09_appendix/action_reference.html (revision 35243) @@ -13,7 +13,7 @@
Action | Description | Syntax | Plugin | |||
---|---|---|---|---|---|---|
About | Present the about box | About() | dialogs plugin | @@ -95,7 +95,7 @@|||
DescribeLocation | Return a string constant (valud until the next call) containing a short description at x;y (object, net, etc.) | DescribeLocation(x, y) | lib_hid_pcbui/status | |||
DisableVendor | Disables automatic drill size mapping. | DisableVendor() | oldactions plugin | |||
DisperseElements | Disperses subcircuits. | DisperseElements(All|Selected) | - | |||
Display | Several display-related actions. | Display(SubcID, template) Display(Grid|Redraw|Pinout|PinOrPadName) Display(CycleClip|ToggleAllDirections|ToggleStartDirection) Display(ToggleGrid|ToggleRubberBandMode|ToggleUniqueNames) Display(ToggleName|ToggleClearLine|ToggleFullPoly|ToggleSnapPin) Display(ToggleSnapOffGridLine|ToggleHighlightOnPoint|ToggleCheckPlanes) Display(ToggleThindraw|ToggleThindrawPoly|ToggleOrthoMove|ToggleLocalRef) Display(ToggleLiveRoute|ToggleShowDRC|ToggleAutoDRC|LockNames|OnlyNames) | + | |||
Display | Several display-related actions. | Display(SubcID, template) Display(Grid|Redraw|Pinout|PinOrPadName) Display(CycleClip|ToggleAllDirections|ToggleStartDirection) Display(RealignGrid|ToggleRubberBandMode|ToggleUniqueNames) Display(ToggleName|ToggleClearLine|ToggleFullPoly|ToggleSnapPin) Display(ToggleSnapOffGridLine|ToggleHighlightOnPoint|ToggleCheckPlanes) Display(ToggleThindraw|ToggleThindrawPoly|ToggleOrthoMove|ToggleLocalRef) Display(ToggleLiveRoute|ToggleShowDRC|ToggleAutoDRC|LockNames|OnlyNames) | ||||
distribute | Distribute objects | Distribute(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]]) | distalign plugin | |||
distributetext | Distribute objects | Distribute(X/Y, [Lefts/Rights/Tops/Bottoms/Centers/Marks/Gaps, [First/Last/pcb_crosshair, First/Last/pcb_crosshair[, Gridless]]]) | distalign 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 | @@ -113,7 +113,7 @@|||
DrcQueryExport | Export a rule and related definitions to a file. | DrcQueryExport(ruleID, [filename], [format]) | drc_query | |||
DrcQueryImport | Import a rule and related definitions from a file. | DrcQueryImport([filename]) | drc_query | |||
DrcQueryListRules | List all drc rules implemented in drc_query | DrcQueryListRules() | drc_query | -|||
DrcQueryRuleMod | Automated DRC rule editing (for scripting and import) | DrcQueryRuleMod(clear, source) DrcQueryRuleMod(create, rule_name) DrcQueryRuleMod(get, rule_name, field_name) DrcQueryRuleMod(set, rule_name, field_name, value) | drc_query | +|||
DrcQueryRuleMod | Automated DRC rule editing (for scripting and import) | DrcQueryRuleMod(clear, source) DrcQueryRuleMod(create, rule_name) DrcQueryRuleMod(get, rule_name, field_name) DrcQueryRuleMod(set, rule_name, field_name, value) DrcQueryRuleMod(remove, rule_name) | drc_query | |||
DumpActions | Dump all actions available. | DumpActions() | ||||
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 | |||
DumpCsect | Print the cross-section of the board (layer stack) | DumpCsect() | draw_csect | @@ -136,6 +136,7 @@|||
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 | +|||
ExecActionFile | Run actions from the given file. | ExecuteFile(filename) | ||||
ExecCommand | Run shell command | System(shell_cmd) | ||||
ExecuteFile | Run actions from the given file. | ExecuteFile(filename) | ||||
ExpFeatTmp | Experimental Feature Template. | ExpFeatTmp(...) | experimental features plugin | @@ -187,6 +188,7 @@|||
ImportcpcbFrom | Loads the auto-routed tracks from the specified c-pcb output. | ImportcpcbFrom(filename) | cpcb plugin | |||
ImportGUI | Asks user which schematics to import into PCB. | ImportGUI() | oldactions plugin | |||
ImportSch | Import schematics/netlist. | ImportSch() ImportSch(reimport) ImportSch(setup, importer, [args...]) | import_sch2 plugin | +|||
ImportSes | Loads the specified routed dsn file. | ImportSes(filename) | dsn importer/ses | |||
Info | report plugin | |||||
InfoBarFileChanged | Present the "file changed" warning info bar with buttons to reload or cancel | InfoBarFileChanged(open|close) | dialogs plugin | |||
integrity | perform integrirty check on the current board and generate errors if needed | integrity() | diag plugin | @@ -216,7 +218,7 @@|||
Load | Load layout data from a user-selected file. | Load() Load(Layout|LayoutToBuffer|ElementToBuffer|Netlist|Revert) | dialogs plugin | |||
LoadAccelNetFrom | Loads the specified Accel EDA netlist file. | LoadAccelNetFrom(filename) | accel_net importer | |||
LoadCalayFrom | Loads the specified calay netlist/component file pair. | LoadCalayFrom(filename) | calay importer | -|||
LoadDsnFrom | Loads the specified routed dsn file. | LoadDsnFrom(filename) | dsn importer | +|||
LoadDsnFrom | LoadDsnFrom() is a legacy action provided for compatibility and will be removed later. Please use ImportSes() instead! | LoadDsnFrom(filename) | dsn importer/ses | |||
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. | LoadFootprint(filename[,refdes,value]) | @@ -241,7 +243,7 @@ | |||
Log | Manages the central, in-memory log. | Log(clear, [fromID, [toID]) Log(export, [filename, [text|lihata]) | ||||
LogDialog | Open the log dialog. | LogDialog() | lib_hid_common plugin | |||
m | Loads a layout into the current buffer. | m [name] | shand_cmd plugin | -|||
ManagePlugins | Manage plugins dialog. | ManagePlugins() | dialogs plugin | +|||
ManagePlugins | Manage plugins dialog. | ManagePlugins() | lib_hid_common plugin | |||
MarkCrosshair | Set/Reset the pcb_crosshair mark. | MarkCrosshair() MarkCrosshair(Center) | ||||
MenuDebug | Menu debug helpers: save the merged menu in a file | MenuDebug(save, path) | ||||
MenuPatch | Manage menu patches | MenuPatch(load, cookie, path, desc) MenuPatch(unload, cookie) MenuPatch(list) MenuPatch(InhibitInc|InhibitDec) | @@ -383,6 +385,7 @@ | |||
SelectLayer | Select which layer is the current layer. | SelectLayer(1..MAXLAYER|Silk|Rats) | ||||
SetFlag | Sets flags on objects. | SetFlag(Object|Selected|SelectedObjects, flag) SetFlag(SelectedLines|SelectedPins|SelectedVias, flag) SetFlag(SelectedPads|SelectedTexts|SelectedNames, flag) SetFlag(SelectedElements, flag) flag = thermal | join | ||||
SetGrid | Change grid size. | SetGrid(delta|*mult|/div, [unit]) | + | |||
SetGridOffs (RND) | Change grid offset (alignment) to x_offs and y_offs. Offsets should be specified with units. | SetGridOffs(x_offs, y_offs) | ||||
SetOctagon | oldactions plugin | |||||
SetSame | Sets current layer and sizes to match indicated item. | SetSame() | ||||
SetSquare | oldactions plugin | Index: 09_appendix/formats.html =================================================================== --- 09_appendix/formats.html (revision 35242) +++ 09_appendix/formats.html (revision 35243) @@ -52,6 +52,10 @@works |
dsn board
+ + specctra .dsn (route result: wires and vias) + + specctra .ses (route result: wires and vias) | dsn board | ||
io_eagle @@ -158,13 +162,6 @@ calay (netlists + footprint info) | n/a - | |||||
import_dsn - | no - | works - | - specctra .dsn (wires and vias) - | -n/a | ||
import_edif | no | works @@ -314,13 +311,6 @@ n/a | C drawing code - | |||
export_dsn - | no - | works - | -n/a - | - specctra .dsn (padstacks and subcircuits, works with freerouting.net) | ||
export_dxf | no | works |