KiCad PCB EDA Suite
pcb_actions.cpp
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2013-2016 CERN
5 * Copyright (C) 2016-2022 KiCad Developers, see AUTHORS.txt for contributors.
6 * @author Maciej Suminski <[email protected]>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, you may find one here:
20 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
21 * or you may search the http://www.gnu.org website for the version 2 license,
22 * or you may write to the Free Software Foundation, Inc.,
23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24 */
25
26#include "pcb_actions.h"
27#include "tool/tool_event.h"
28#include <pcbnew_id.h>
29#include <bitmaps.h>
30#include <layer_ids.h>
32#include <tool/tool_manager.h>
33#include <router/pns_router.h>
35
36// Actions, being statically-defined, require specialized I18N handling. We continue to
37// use the _() macro so that string harvesting by the I18N framework doesn't have to be
38// specialized, but we don't translate on initialization and instead do it in the getters.
39
40#undef _
41#define _(s) s
42
43
44// CONVERT_TOOL
45//
46TOOL_ACTION PCB_ACTIONS::convertToPoly( "pcbnew.Convert.convertToPoly",
47 AS_GLOBAL, 0, "",
48 _( "Create Polygon from Selection..." ), _( "Creates a graphic polygon from the selection" ),
50
51TOOL_ACTION PCB_ACTIONS::convertToZone( "pcbnew.Convert.convertToZone",
52 AS_GLOBAL, 0, "",
53 _( "Create Zone from Selection..." ), _( "Creates a copper zone from the selection" ),
55
56TOOL_ACTION PCB_ACTIONS::convertToKeepout( "pcbnew.Convert.convertToKeepout",
57 AS_GLOBAL, 0, "",
58 _( "Create Rule Area from Selection..." ), _( "Creates a rule area from the selection" ),
60
61TOOL_ACTION PCB_ACTIONS::convertToLines( "pcbnew.Convert.convertToLines",
62 AS_GLOBAL, 0, "",
63 _( "Create Lines from Selection" ), _( "Creates graphic lines from the selection" ),
65
66TOOL_ACTION PCB_ACTIONS::convertToArc( "pcbnew.Convert.convertToArc",
67 AS_GLOBAL, 0, "",
68 _( "Create Arc from Selection" ), _( "Creates an arc from the selected line segment" ),
70
71TOOL_ACTION PCB_ACTIONS::convertToTracks( "pcbnew.Convert.convertToTracks",
72 AS_GLOBAL, 0, "",
73 _( "Create Tracks from Selection" ), _( "Creates tracks from the selected graphic lines" ),
75
76
77// DRAWING_TOOL
78//
79TOOL_ACTION PCB_ACTIONS::drawLine( "pcbnew.InteractiveDrawing.line",
81 MD_SHIFT + MD_CTRL + 'L', LEGACY_HK_NAME( "Draw Line" ),
82 _( "Draw Line" ), _( "Draw a line" ),
84
85TOOL_ACTION PCB_ACTIONS::drawPolygon( "pcbnew.InteractiveDrawing.graphicPolygon",
87 MD_SHIFT + MD_CTRL + 'P', LEGACY_HK_NAME( "Draw Graphic Polygon" ),
88 _( "Draw Graphic Polygon" ), _( "Draw a graphic polygon" ),
90
91TOOL_ACTION PCB_ACTIONS::drawRectangle( "pcbnew.InteractiveDrawing.rectangle",
92 AS_GLOBAL, 0, "",
93 _( "Draw Rectangle" ), _( "Draw a rectangle" ),
95
96TOOL_ACTION PCB_ACTIONS::drawCircle( "pcbnew.InteractiveDrawing.circle",
98 MD_SHIFT + MD_CTRL + 'C', LEGACY_HK_NAME( "Draw Circle" ),
99 _( "Draw Circle" ), _( "Draw a circle" ),
101
102TOOL_ACTION PCB_ACTIONS::drawArc( "pcbnew.InteractiveDrawing.arc",
103 AS_GLOBAL,
104 MD_SHIFT + MD_CTRL + 'A', LEGACY_HK_NAME( "Draw Arc" ),
105 _( "Draw Arc" ), _( "Draw an arc" ),
107
108TOOL_ACTION PCB_ACTIONS::placeCharacteristics( "pcbnew.InteractiveDrawing.placeCharacteristics",
109 AS_GLOBAL, 0, LEGACY_HK_NAME( "Add Board Characteristics" ),
110 _( "Add Board Characteristics" ),
111 _( "Add a board characteristics table on a graphic layer" ),
113
114TOOL_ACTION PCB_ACTIONS::placeStackup( "pcbnew.InteractiveDrawing.placeStackup", AS_GLOBAL, 0,
115 LEGACY_HK_NAME( "Add Stackup Table" ),
116 _( "Add Stackup Table" ),
117 _( "Add a board stackup table on a graphic layer" ),
119
120TOOL_ACTION PCB_ACTIONS::placeImage( "pcbnew.InteractiveDrawing.placeImage",
121 AS_GLOBAL, 0, "",
122 _( "Add Image" ), _( "Add bitmap image" ),
124
125TOOL_ACTION PCB_ACTIONS::placeText( "pcbnew.InteractiveDrawing.text",
126 AS_GLOBAL,
127 MD_SHIFT + MD_CTRL + 'T', LEGACY_HK_NAME( "Add Text" ),
128 _( "Add Text" ), _( "Add a text item" ),
130
131TOOL_ACTION PCB_ACTIONS::drawTextBox( "pcbnew.InteractiveDrawing.textbox",
132 AS_GLOBAL, 0, "",
133 _( "Add Text Box" ), _( "Add a wrapped text item" ),
135
136TOOL_ACTION PCB_ACTIONS::drawAlignedDimension( "pcbnew.InteractiveDrawing.alignedDimension",
137 AS_GLOBAL,
138 MD_SHIFT + MD_CTRL + 'H', LEGACY_HK_NAME( "Add Dimension" ),
139 _( "Add Aligned Dimension" ), _( "Add an aligned linear dimension" ),
141
142TOOL_ACTION PCB_ACTIONS::drawCenterDimension( "pcbnew.InteractiveDrawing.centerDimension",
143 AS_GLOBAL, 0, "",
144 _( "Add Center Dimension" ), _( "Add a center dimension" ),
146
147TOOL_ACTION PCB_ACTIONS::drawRadialDimension( "pcbnew.InteractiveDrawing.radialDimension",
148 AS_GLOBAL, 0, "",
149 _( "Add Radial Dimension" ), _( "Add a radial dimension" ),
151
152TOOL_ACTION PCB_ACTIONS::drawOrthogonalDimension( "pcbnew.InteractiveDrawing.orthogonalDimension",
153 AS_GLOBAL, 0, "",
154 _( "Add Orthogonal Dimension" ), _( "Add an orthogonal dimension" ),
156
157TOOL_ACTION PCB_ACTIONS::drawLeader( "pcbnew.InteractiveDrawing.leader",
158 AS_GLOBAL, 0, "",
159 _( "Add Leader" ), _( "Add a leader dimension" ),
161
162TOOL_ACTION PCB_ACTIONS::drawZone( "pcbnew.InteractiveDrawing.zone",
163 AS_GLOBAL,
164#ifdef __WXOSX_MAC__
165 MD_ALT + 'Z',
166#else
167 MD_SHIFT + MD_CTRL + 'Z',
168#endif
169 LEGACY_HK_NAME( "Add Filled Zone" ),
170 _( "Add Filled Zone" ), _( "Add a filled zone" ),
172
173TOOL_ACTION PCB_ACTIONS::drawVia( "pcbnew.InteractiveDrawing.via",
174 AS_GLOBAL,
175 MD_SHIFT + MD_CTRL + 'V', LEGACY_HK_NAME( "Add Vias" ),
176 _( "Add Vias" ), _( "Add free-standing vias" ),
178
179TOOL_ACTION PCB_ACTIONS::drawRuleArea( "pcbnew.InteractiveDrawing.ruleArea",
180 AS_GLOBAL,
181 MD_SHIFT + MD_CTRL + 'K', LEGACY_HK_NAME( "Add Keepout Area" ),
182 _( "Add Rule Area" ), _( "Add a rule area (keepout)" ),
184
185TOOL_ACTION PCB_ACTIONS::drawZoneCutout( "pcbnew.InteractiveDrawing.zoneCutout",
186 AS_GLOBAL,
187 MD_SHIFT + 'C', LEGACY_HK_NAME( "Add a Zone Cutout" ),
188 _( "Add a Zone Cutout" ), _( "Add a cutout area of an existing zone" ),
190
191TOOL_ACTION PCB_ACTIONS::drawSimilarZone( "pcbnew.InteractiveDrawing.similarZone",
192 AS_GLOBAL,
193 MD_SHIFT + MD_CTRL + '.', LEGACY_HK_NAME( "Add a Similar Zone" ),
194 _( "Add a Similar Zone" ), _( "Add a zone with the same settings as an existing zone" ),
196
197TOOL_ACTION PCB_ACTIONS::placeImportedGraphics( "pcbnew.InteractiveDrawing.placeImportedGraphics",
198 AS_GLOBAL,
199 MD_SHIFT + MD_CTRL + 'F', LEGACY_HK_NAME( "Place DXF" ),
200 _( "Import Graphics..." ), _( "Import 2D drawing file" ),
202
203TOOL_ACTION PCB_ACTIONS::setAnchor( "pcbnew.InteractiveDrawing.setAnchor",
204 AS_GLOBAL,
205 MD_SHIFT + MD_CTRL + 'N', LEGACY_HK_NAME( "Place the Footprint Anchor" ),
206 _( "Place the Footprint Anchor" ),
207 _( "Set the coordinate origin point (anchor) of the footprint" ),
209
210TOOL_ACTION PCB_ACTIONS::incWidth( "pcbnew.InteractiveDrawing.incWidth",
212 MD_CTRL + '+', LEGACY_HK_NAME( "Increase Line Width" ),
213 _( "Increase Line Width" ), _( "Increase the line width" ) );
214
215TOOL_ACTION PCB_ACTIONS::decWidth( "pcbnew.InteractiveDrawing.decWidth",
217 MD_CTRL + '-', LEGACY_HK_NAME( "Decrease Line Width" ),
218 _( "Decrease Line Width" ), _( "Decrease the line width" ) );
219
220TOOL_ACTION PCB_ACTIONS::arcPosture( "pcbnew.InteractiveDrawing.arcPosture",
222 '/', LEGACY_HK_NAME( "Switch Track Posture" ),
223 _( "Switch Arc Posture" ), _( "Switch the arc posture" ) );
224
225TOOL_ACTION PCB_ACTIONS::deleteLastPoint( "pcbnew.InteractiveDrawing.deleteLastPoint",
227 WXK_BACK, "",
228 _( "Delete Last Point" ), _( "Delete the last point added to the current item" ),
230
231TOOL_ACTION PCB_ACTIONS::closeOutline( "pcbnew.InteractiveDrawing.closeOutline",
232 AS_CONTEXT, 0, "",
233 _( "Close Outline" ), _( "Close the in progress outline" ),
235
236// DRC
237//
238TOOL_ACTION PCB_ACTIONS::runDRC( "pcbnew.DRCTool.runDRC",
239 AS_GLOBAL, 0, "",
240 _( "Design Rules Checker" ), _( "Show the design rules checker window" ),
241 BITMAPS::erc );
242
243
244// EDIT_TOOL
245//
246TOOL_ACTION PCB_ACTIONS::editFpInFpEditor( "pcbnew.EditorControl.EditFpInFpEditor",
247 AS_GLOBAL,
248 MD_CTRL + 'E', LEGACY_HK_NAME( "Edit with Footprint Editor" ),
249 _( "Open in Footprint Editor" ),
250 _( "Opens the selected footprint in the Footprint Editor" ),
252
253TOOL_ACTION PCB_ACTIONS::editLibFpInFpEditor( "pcbnew.EditorControl.EditLibFpInFpEditor",
254 AS_GLOBAL,
255 MD_CTRL + MD_SHIFT + 'E', "",
256 _( "Edit Library Footprint..." ),
257 _( "Opens the selected footprint in the Footprint Editor" ),
259
260TOOL_ACTION PCB_ACTIONS::getAndPlace( "pcbnew.InteractiveEdit.FindMove",
261 AS_GLOBAL,
262 'T', LEGACY_HK_NAME( "Get and Move Footprint" ),
263 _( "Get and Move Footprint" ),
264 _( "Selects a footprint by reference designator and places it under the cursor for moving"),
266
267TOOL_ACTION PCB_ACTIONS::move( "pcbnew.InteractiveMove.move",
268 AS_GLOBAL,
269 'M', LEGACY_HK_NAME( "Move Item" ),
270 _( "Move" ), _( "Moves the selected item(s)" ),
272
273TOOL_ACTION PCB_ACTIONS::moveIndividually( "pcbnew.InteractiveMove.moveIndividually",
274 AS_GLOBAL,
275 MD_CTRL + 'M', "",
276 _( "Move Individually" ), _( "Moves the selected items one-by-one" ),
278
279TOOL_ACTION PCB_ACTIONS::moveWithReference( "pcbnew.InteractiveMove.moveWithReference",
280 AS_GLOBAL, 0, "",
281 _( "Move with Reference" ),
282 _( "Moves the selected item(s) with a specified starting point" ),
284
285TOOL_ACTION PCB_ACTIONS::copyWithReference( "pcbnew.InteractiveMove.copyWithReference",
286 AS_GLOBAL, 0, "",
287 _( "Copy with Reference" ),
288 _( "Copy selected item(s) to clipboard with a specified starting point" ),
290
291TOOL_ACTION PCB_ACTIONS::duplicateIncrement( "pcbnew.InteractiveEdit.duplicateIncrementPads",
292 AS_GLOBAL,
293 MD_SHIFT + MD_CTRL + 'D', LEGACY_HK_NAME( "Duplicate Item and Increment" ),
294 _( "Duplicate and Increment" ),
295 _( "Duplicates the selected item(s), incrementing pad numbers" ),
297
298TOOL_ACTION PCB_ACTIONS::moveExact( "pcbnew.InteractiveEdit.moveExact",
299 AS_GLOBAL,
300 MD_SHIFT + 'M', LEGACY_HK_NAME( "Move Item Exactly" ),
301 _( "Move Exactly..." ), _( "Moves the selected item(s) by an exact amount" ),
303
304TOOL_ACTION PCB_ACTIONS::createArray( "pcbnew.InteractiveEdit.createArray",
305 AS_GLOBAL,
306 MD_CTRL + 'T', LEGACY_HK_NAME( "Create Array" ),
307 _( "Create Array..." ), _( "Create array" ),
309
310TOOL_ACTION PCB_ACTIONS::rotateCw( "pcbnew.InteractiveEdit.rotateCw",
311 AS_GLOBAL,
312 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
313 MD_SHIFT + 'R', LEGACY_HK_NAME( "Rotate Item Clockwise (Modern Toolset only)" ),
314 _( "Rotate Clockwise" ), _( "Rotates selected item(s) clockwise" ),
315 BITMAPS::rotate_cw, AF_NONE, (void*) -1 );
316
317TOOL_ACTION PCB_ACTIONS::rotateCcw( "pcbnew.InteractiveEdit.rotateCcw",
318 AS_GLOBAL,
319 'R', LEGACY_HK_NAME( "Rotate Item" ),
320 _( "Rotate Counterclockwise" ), _( "Rotates selected item(s) counterclockwise" ),
321 BITMAPS::rotate_ccw, AF_NONE, (void*) 1 );
322
323TOOL_ACTION PCB_ACTIONS::flip( "pcbnew.InteractiveEdit.flip",
324 AS_GLOBAL,
325 'F', LEGACY_HK_NAME( "Flip Item" ),
326 _( "Change Side / Flip" ), _( "Flips selected item(s) to opposite side of board" ),
328
329TOOL_ACTION PCB_ACTIONS::mirrorH( "pcbnew.InteractiveEdit.mirrorHoriontally",
330 AS_GLOBAL, 0, "",
331 _( "Mirror Horizontally" ), _( "Mirrors selected item across the Y axis" ),
333
334TOOL_ACTION PCB_ACTIONS::mirrorV( "pcbnew.InteractiveEdit.mirrorVertically",
335 AS_GLOBAL, 0, "",
336 _( "Mirror Vertically" ), _( "Mirrors selected item across the X axis" ),
338
339TOOL_ACTION PCB_ACTIONS::swap( "pcbnew.InteractiveEdit.swap",
340 AS_GLOBAL,
341 'S', "",
342 _( "Swap" ), _( "Swaps selected items' positions" ),
344
345TOOL_ACTION PCB_ACTIONS::packAndMoveFootprints( "pcbnew.InteractiveEdit.packAndMoveFootprints",
346 AS_GLOBAL,
347 'P', "",
348 _( "Pack and Move Footprints" ),
349 _( "Sorts selected footprints by reference, packs based on size and initiates movement" ),
351
352TOOL_ACTION PCB_ACTIONS::skip( "pcbnew.InteractiveEdit.skip",
354 WXK_TAB, "",
355 _( "Skip" ), _( "Skip item" ),
357
358TOOL_ACTION PCB_ACTIONS::changeTrackWidth( "pcbnew.InteractiveEdit.changeTrackWidth",
359 AS_GLOBAL, 0, "",
360 _( "Change Track Width" ), _( "Updates selected track & via sizes" ) );
361
362TOOL_ACTION PCB_ACTIONS::filletTracks( "pcbnew.InteractiveEdit.filletTracks",
363 AS_GLOBAL, 0, "",
364 _( "Fillet Tracks" ), _( "Adds arcs tangent to the selected straight track segments" ) );
365
366TOOL_ACTION PCB_ACTIONS::filletLines( "pcbnew.InteractiveEdit.filletLines",
367 AS_GLOBAL, 0, "",
368 _( "Fillet Lines" ), _( "Adds arcs tangent to the selected lines" ) );
369
370TOOL_ACTION PCB_ACTIONS::deleteFull( "pcbnew.InteractiveEdit.deleteFull",
371 AS_GLOBAL,
372 MD_SHIFT + WXK_DELETE, LEGACY_HK_NAME( "Delete Full Track" ),
373 _( "Delete Full Track" ), _( "Deletes selected item(s) and copper connections" ),
374 BITMAPS::delete_cursor, AF_NONE, (void*) REMOVE_FLAGS::ALT );
375
376TOOL_ACTION PCB_ACTIONS::properties( "pcbnew.InteractiveEdit.properties",
377 AS_GLOBAL,
378 'E', LEGACY_HK_NAME( "Edit Item" ),
379 _( "Properties..." ), _( "Displays item properties dialog" ),
381
382
383// FOOTPRINT_EDITOR_CONTROL
384//
385TOOL_ACTION PCB_ACTIONS::showFootprintTree( "pcbnew.ModuleEditor.showFootprintTree",
386 AS_GLOBAL, 0, "",
387 _( "Show Footprint Tree" ), _( "Show Footprint Tree" ),
389
390TOOL_ACTION PCB_ACTIONS::hideFootprintTree( "pcbnew.ModuleEditor.hideFootprintTree",
391 AS_GLOBAL, 0, "",
392 _( "Hide Footprint Tree" ), _( "Hide Footprint Tree" ),
394
395TOOL_ACTION PCB_ACTIONS::newFootprint( "pcbnew.ModuleEditor.newFootprint",
396 AS_GLOBAL,
397 MD_CTRL + 'N', LEGACY_HK_NAME( "New" ),
398 _( "New Footprint..." ), _( "Create a new, empty footprint" ),
400
401TOOL_ACTION PCB_ACTIONS::createFootprint( "pcbnew.ModuleEditor.createFootprint",
402 AS_GLOBAL, 0, "",
403 _( "Create Footprint..." ), _( "Create a new footprint using the Footprint Wizard" ),
405
406TOOL_ACTION PCB_ACTIONS::editFootprint( "pcbnew.ModuleEditor.editFootprint",
407 AS_GLOBAL, 0, "",
408 _( "Edit Footprint" ), _( "Show selected footprint on editor canvas" ),
410
411TOOL_ACTION PCB_ACTIONS::duplicateFootprint( "pcbnew.ModuleEditor.duplicateFootprint",
412 AS_GLOBAL, 0, "",
413 _( "Duplicate Footprint" ), _( "Make a copy of the selected footprint" ),
415
416TOOL_ACTION PCB_ACTIONS::renameFootprint( "pcbnew.ModuleEditor.renameFootprint",
417 AS_GLOBAL, 0, "",
418 _( "Rename Footprint..." ), _( "Rename the selected footprint" ),
420
421TOOL_ACTION PCB_ACTIONS::deleteFootprint( "pcbnew.ModuleEditor.deleteFootprint",
422 AS_GLOBAL, 0, "",
423 _( "Delete Footprint from Library" ), _( "Delete Footprint from Library" ),
425
426TOOL_ACTION PCB_ACTIONS::cutFootprint( "pcbnew.ModuleEditor.cutFootprint",
427 AS_GLOBAL, 0, "",
428 _( "Cut Footprint" ), _( "Cut Footprint" ),
429 BITMAPS::cut );
430
431TOOL_ACTION PCB_ACTIONS::copyFootprint( "pcbnew.ModuleEditor.copyFootprint",
432 AS_GLOBAL, 0, "",
433 _( "Copy Footprint" ), _( "Copy Footprint" ),
435
436TOOL_ACTION PCB_ACTIONS::pasteFootprint( "pcbnew.ModuleEditor.pasteFootprint",
437 AS_GLOBAL, 0, "",
438 _( "Paste Footprint" ), _( "Paste Footprint" ),
440
441TOOL_ACTION PCB_ACTIONS::importFootprint( "pcbnew.ModuleEditor.importFootprint",
442 AS_GLOBAL, 0, "",
443 _( "Import Footprint..." ), _( "Import footprint from file" ),
445
446TOOL_ACTION PCB_ACTIONS::exportFootprint( "pcbnew.ModuleEditor.exportFootprint",
447 AS_GLOBAL, 0, "",
448 _( "Export Footprint..." ), _( "Export footprint to file" ),
450
451TOOL_ACTION PCB_ACTIONS::footprintProperties( "pcbnew.ModuleEditor.footprintProperties",
452 AS_GLOBAL, 0, "",
453 _( "Footprint Properties..." ), _( "Edit footprint properties" ),
455
456TOOL_ACTION PCB_ACTIONS::checkFootprint( "pcbnew.ModuleEditor.checkFootprint",
457 AS_GLOBAL, 0, "",
458 _( "Footprint Checker" ), _( "Show the footprint checker window" ),
459 BITMAPS::erc );
460
461// GLOBAL_EDIT_TOOL
462//
463TOOL_ACTION PCB_ACTIONS::updateFootprint( "pcbnew.GlobalEdit.updateFootprint",
464 AS_GLOBAL, 0, "",
465 _( "Update Footprint..." ),
466 _( "Update footprint to include any changes from the library" ),
468
469TOOL_ACTION PCB_ACTIONS::updateFootprints( "pcbnew.GlobalEdit.updateFootprints",
470 AS_GLOBAL, 0, "",
471 _( "Update Footprints from Library..." ),
472 _( "Update footprints to include any changes from the library" ),
474
475TOOL_ACTION PCB_ACTIONS::removeUnusedPads( "pcbnew.GlobalEdit.removeUnusedPads",
476 AS_GLOBAL, 0, "",
477 _( "Remove Unused Pads..." ),
478 _( "Remove or restore the unconnected inner layers on through hole pads and vias" ),
480
481TOOL_ACTION PCB_ACTIONS::changeFootprint( "pcbnew.GlobalEdit.changeFootprint",
482 AS_GLOBAL, 0, "",
483 _( "Change Footprint..." ), _( "Assign a different footprint from the library" ),
485
486TOOL_ACTION PCB_ACTIONS::changeFootprints( "pcbnew.GlobalEdit.changeFootprints",
487 AS_GLOBAL, 0, "",
488 _( "Change Footprints..." ), _( "Assign different footprints from the library" ),
490
491TOOL_ACTION PCB_ACTIONS::swapLayers( "pcbnew.GlobalEdit.swapLayers",
492 AS_GLOBAL, 0, "",
493 _( "Swap Layers..." ), _( "Move tracks or drawings from one layer to another" ),
495
496TOOL_ACTION PCB_ACTIONS::editTracksAndVias( "pcbnew.GlobalEdit.editTracksAndVias",
497 AS_GLOBAL, 0, "",
498 _( "Edit Track & Via Properties..." ),
499 _( "Edit track and via properties globally across board" ),
501
502TOOL_ACTION PCB_ACTIONS::editTextAndGraphics( "pcbnew.GlobalEdit.editTextAndGraphics",
503 AS_GLOBAL, 0, "",
504 _( "Edit Text & Graphics Properties..." ),
505 _( "Edit Text and graphics properties globally across board" ),
507
508TOOL_ACTION PCB_ACTIONS::globalDeletions( "pcbnew.GlobalEdit.globalDeletions",
509 AS_GLOBAL, 0, "",
510 _( "Global Deletions..." ),
511 _( "Delete tracks, footprints and graphic items from board" ),
513
514TOOL_ACTION PCB_ACTIONS::cleanupTracksAndVias( "pcbnew.GlobalEdit.cleanupTracksAndVias",
515 AS_GLOBAL, 0, "",
516 _( "Cleanup Tracks & Vias..." ),
517 _( "Cleanup redundant items, shorting items, etc." ),
519
520TOOL_ACTION PCB_ACTIONS::cleanupGraphics( "pcbnew.GlobalEdit.cleanupGraphics",
521 AS_GLOBAL, 0, "",
522 _( "Cleanup Graphics..." ),
523 _( "Cleanup redundant items, etc." ),
525
526// MICROWAVE_TOOL
527//
528TOOL_ACTION PCB_ACTIONS::microwaveCreateGap( "pcbnew.MicrowaveTool.createGap",
529 AS_GLOBAL, 0, "",
530 _( "Add Microwave Gap" ), _( "Create gap of specified length for microwave applications" ),
532
533TOOL_ACTION PCB_ACTIONS::microwaveCreateStub( "pcbnew.MicrowaveTool.createStub",
534 AS_GLOBAL, 0, "",
535 _( "Add Microwave Stub" ),
536 _( "Create stub of specified length for microwave applications" ),
538
539TOOL_ACTION PCB_ACTIONS::microwaveCreateStubArc( "pcbnew.MicrowaveTool.createStubArc",
540 AS_GLOBAL, 0, "",
541 _( "Add Microwave Arc Stub" ),
542 _( "Create stub (arc) of specified size for microwave applications" ),
544
545TOOL_ACTION PCB_ACTIONS::microwaveCreateFunctionShape( "pcbnew.MicrowaveTool.createFunctionShape",
546 AS_GLOBAL, 0, "",
547 _( "Add Microwave Polygonal Shape" ),
548 _( "Create a microwave polygonal shape from a list of vertices" ),
550
551TOOL_ACTION PCB_ACTIONS::microwaveCreateLine( "pcbnew.MicrowaveTool.createLine",
552 AS_GLOBAL, 0, "",
553 _( "Add Microwave Line" ),
554 _( "Create line of specified length for microwave applications" ),
556
557
558// PAD_TOOL
559//
560TOOL_ACTION PCB_ACTIONS::copyPadSettings( "pcbnew.PadTool.CopyPadSettings",
561 AS_GLOBAL, 0, "",
562 _( "Copy Pad Properties to Default" ), _( "Copy current pad's properties" ),
564
565TOOL_ACTION PCB_ACTIONS::applyPadSettings( "pcbnew.PadTool.ApplyPadSettings",
566 AS_GLOBAL, 0, "",
567 _( "Paste Default Pad Properties to Selected" ),
568 _( "Replace the current pad's properties with those copied earlier" ),
570
571TOOL_ACTION PCB_ACTIONS::pushPadSettings( "pcbnew.PadTool.PushPadSettings",
572 AS_GLOBAL, 0, "",
573 _( "Push Pad Properties to Other Pads..." ),
574 _( "Copy the current pad's properties to other pads" ),
576
577TOOL_ACTION PCB_ACTIONS::enumeratePads( "pcbnew.PadTool.enumeratePads",
578 AS_GLOBAL, 0, "",
579 _( "Renumber Pads..." ),
580 _( "Renumber pads by clicking on them in the desired order" ),
582
583TOOL_ACTION PCB_ACTIONS::placePad( "pcbnew.PadTool.placePad",
584 AS_GLOBAL, 0, "",
585 _( "Add Pad" ), _( "Add a pad" ),
587
588TOOL_ACTION PCB_ACTIONS::explodePad( "pcbnew.PadTool.explodePad",
589 AS_GLOBAL,
590 MD_CTRL + 'E', "",
591 _( "Edit Pad as Graphic Shapes" ),
592 _( "Ungroups a custom-shaped pad for editing as individual graphic shapes" ),
594
595TOOL_ACTION PCB_ACTIONS::recombinePad( "pcbnew.PadTool.recombinePad",
596 AS_GLOBAL,
597 MD_CTRL + 'E', "",
598 _( "Finish Pad Edit" ),
599 _( "Regroups all touching graphic shapes into the edited pad" ),
601
602TOOL_ACTION PCB_ACTIONS::defaultPadProperties( "pcbnew.PadTool.defaultPadProperties",
603 AS_GLOBAL, 0, "",
604 _( "Default Pad Properties..." ),
605 _( "Edit the pad properties used when creating new pads" ),
607
608
609// SCRIPTING TOOL
610//
611TOOL_ACTION PCB_ACTIONS::pluginsReload( "pcbnew.ScriptingTool.pluginsReload",
612 AS_GLOBAL, 0, "",
613 _( "Refresh Plugins" ), _( "Reload all python plugins and refresh plugin menus" ),
615
616TOOL_ACTION PCB_ACTIONS::pluginsShowFolder( "pcbnew.ScriptingTool.pluginsShowFolder",
617 AS_GLOBAL, 0, "",
618#ifdef __WXMAC__
619 _( "Reveal Plugin Folder in Finder" ), _( "Reveals the plugins folder in a Finder window" ),
620#else
621 _( "Open Plugin Directory" ), _( "Opens the directory in the default system file manager" ),
622#endif
624
625// BOARD_EDITOR_CONTROL
626//
627TOOL_ACTION PCB_ACTIONS::boardSetup( "pcbnew.EditorControl.boardSetup",
628 AS_GLOBAL, 0, "",
629 _( "Board Setup..." ),
630 _( "Edit board setup including layers, design rules and various defaults" ),
632
633TOOL_ACTION PCB_ACTIONS::importNetlist( "pcbnew.EditorControl.importNetlist",
634 AS_GLOBAL, 0, "",
635 _( "Import Netlist..." ), _( "Read netlist and update board connectivity" ),
637
638TOOL_ACTION PCB_ACTIONS::importSpecctraSession( "pcbnew.EditorControl.importSpecctraSession",
639 AS_GLOBAL, 0, "",
640 _( "Import Specctra Session..." ), _( "Import routed Specctra session (*.ses) file" ),
642
643TOOL_ACTION PCB_ACTIONS::exportSpecctraDSN( "pcbnew.EditorControl.exportSpecctraDSN",
644 AS_GLOBAL, 0, "",
645 _( "Export Specctra DSN..." ), _( "Export Specctra DSN routing info" ),
647
648TOOL_ACTION PCB_ACTIONS::generateGerbers( "pcbnew.EditorControl.generateGerbers",
649 AS_GLOBAL, 0, "",
650 _( "Gerbers (.gbr)..." ), _( "Generate Gerbers for fabrication" ),
652
653TOOL_ACTION PCB_ACTIONS::generateDrillFiles( "pcbnew.EditorControl.generateDrillFiles",
654 AS_GLOBAL, 0, "",
655 _( "Drill Files (.drl)..." ), _( "Generate Excellon drill file(s)" ),
657
658TOOL_ACTION PCB_ACTIONS::generatePosFile( "pcbnew.EditorControl.generatePosFile",
659 AS_GLOBAL, 0, "",
660 _( "Component Placement (.pos)..." ),
661 _( "Generate component placement file(s) for pick and place" ),
663
664TOOL_ACTION PCB_ACTIONS::generateReportFile( "pcbnew.EditorControl.generateReportFile",
665 AS_GLOBAL, 0, "",
666 _( "Footprint Report (.rpt)..." ),
667 _( "Create report of all footprints from current board" ),
669
670TOOL_ACTION PCB_ACTIONS::generateD356File( "pcbnew.EditorControl.generateD356File",
671 AS_GLOBAL, 0, "",
672 _( "IPC-D-356 Netlist File..." ), _( "Generate IPC-D-356 netlist file" ),
674
675TOOL_ACTION PCB_ACTIONS::generateBOM( "pcbnew.EditorControl.generateBOM",
676 AS_GLOBAL, 0, "",
677 _( "BOM..." ), _( "Create bill of materials from board" ),
679
680// Track & via size control
681TOOL_ACTION PCB_ACTIONS::trackWidthInc( "pcbnew.EditorControl.trackWidthInc",
682 AS_GLOBAL,
683 'W', LEGACY_HK_NAME( "Switch Track Width To Next" ),
684 _( "Switch Track Width to Next" ), _( "Change track width to next pre-defined size" ) );
685
686TOOL_ACTION PCB_ACTIONS::trackWidthDec( "pcbnew.EditorControl.trackWidthDec",
687 AS_GLOBAL,
688 MD_SHIFT + 'W', LEGACY_HK_NAME( "Switch Track Width To Previous" ),
689 _( "Switch Track Width to Previous" ),
690 _( "Change track width to previous pre-defined size" ) );
691
692TOOL_ACTION PCB_ACTIONS::viaSizeInc( "pcbnew.EditorControl.viaSizeInc",
693 AS_GLOBAL,
694 '\'', LEGACY_HK_NAME( "Increase Via Size" ),
695 _( "Increase Via Size" ), _( "Change via size to next pre-defined size" ) );
696
697TOOL_ACTION PCB_ACTIONS::viaSizeDec( "pcbnew.EditorControl.viaSizeDec",
698 AS_GLOBAL,
699 '\\', LEGACY_HK_NAME( "Decrease Via Size" ),
700 _( "Decrease Via Size" ), _( "Change via size to previous pre-defined size" ) );
701
702TOOL_ACTION PCB_ACTIONS::trackViaSizeChanged( "pcbnew.EditorControl.trackViaSizeChanged",
703 AS_GLOBAL, 0, "",
704 "", "",
706
707TOOL_ACTION PCB_ACTIONS::assignNetClass( "pcbnew.EditorControl.assignNetclass",
708 AS_GLOBAL, 0, "",
709 _( "Assign Netclass..." ), _( "Assign a netclass to nets matching a pattern" ),
711
712TOOL_ACTION PCB_ACTIONS::zoneMerge( "pcbnew.EditorControl.zoneMerge",
713 AS_GLOBAL, 0, "",
714 _( "Merge Zones" ), _( "Merge zones" ) );
715
716TOOL_ACTION PCB_ACTIONS::zoneDuplicate( "pcbnew.EditorControl.zoneDuplicate",
717 AS_GLOBAL, 0, "",
718 _( "Duplicate Zone onto Layer..." ), _( "Duplicate zone outline onto a different layer" ),
720
721TOOL_ACTION PCB_ACTIONS::placeFootprint( "pcbnew.EditorControl.placeFootprint",
722 AS_GLOBAL,
723 'A', LEGACY_HK_NAME( "Add Footprint" ),
724 _( "Add Footprint" ), _( "Add a footprint" ),
726
727TOOL_ACTION PCB_ACTIONS::drillOrigin( "pcbnew.EditorControl.drillOrigin",
728 AS_GLOBAL, 0, "",
729 _( "Drill/Place File Origin" ),
730 _( "Place origin point for drill files and component placement files" ),
732
733TOOL_ACTION PCB_ACTIONS::toggleLock( "pcbnew.EditorControl.toggleLock",
734 AS_GLOBAL,
735 'L', LEGACY_HK_NAME( "Lock/Unlock Footprint" ),
736 _( "Toggle Lock" ), _( "Lock or unlock selected items" ),
738
739TOOL_ACTION PCB_ACTIONS::toggleHV45Mode( "pcbnew.EditorControl.toggle45",
740 AS_GLOBAL,
741 MD_SHIFT + ' ', "",
742 _( "Constrain to H, V, 45" ),
743 _( "Limit actions to horizontal, vertical, or 45 degrees from the starting point" ),
745
746TOOL_ACTION PCB_ACTIONS::lock( "pcbnew.EditorControl.lock",
747 AS_GLOBAL, 0, "",
748 _( "Lock" ), _( "Prevent items from being moved and/or resized on the canvas" ),
750
751TOOL_ACTION PCB_ACTIONS::unlock( "pcbnew.EditorControl.unlock",
752 AS_GLOBAL, 0, "",
753 _( "Unlock" ), _( "Allow items to be moved and/or resized on the canvas" ),
755
756TOOL_ACTION PCB_ACTIONS::group( "pcbnew.EditorControl.group",
757 AS_GLOBAL, 0, "",
758 _( "Group" ), _( "Group the selected items so that they are treated as a single item" ),
760
761TOOL_ACTION PCB_ACTIONS::ungroup( "pcbnew.EditorControl.ungroup",
762 AS_GLOBAL, 0, "",
763 _( "Ungroup" ), _( "Ungroup any selected groups" ),
765
766TOOL_ACTION PCB_ACTIONS::removeFromGroup( "pcbnew.EditorControl.removeFromGroup",
767 AS_GLOBAL, 0, "",
768 _( "Remove Items" ), _( "Remove items from group" ),
770
771TOOL_ACTION PCB_ACTIONS::groupEnter( "pcbnew.EditorControl.groupEnter",
772 AS_GLOBAL, 0, "",
773 _( "Enter Group" ), _( "Enter the group to edit items" ),
775
776TOOL_ACTION PCB_ACTIONS::groupLeave( "pcbnew.EditorControl.groupLeave",
777 AS_GLOBAL, 0, "",
778 _( "Leave Group" ), _( "Leave the current group" ),
780
781TOOL_ACTION PCB_ACTIONS::appendBoard( "pcbnew.EditorControl.appendBoard",
782 AS_GLOBAL, 0, "",
783 _( "Append Board..." ), _( "Open another board and append its contents to this board" ),
785
786TOOL_ACTION PCB_ACTIONS::highlightNet( "pcbnew.EditorControl.highlightNet",
787 AS_GLOBAL,
788 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
789 '`', LEGACY_HK_NAME( "Toggle Highlight of Selected Net (Modern Toolset only)" ),
790 _( "Highlight Net" ), _( "Highlight net under cursor" ),
792
793TOOL_ACTION PCB_ACTIONS::toggleLastNetHighlight( "pcbnew.EditorControl.toggleLastNetHighlight",
794 AS_GLOBAL, 0, "",
795 _( "Toggle Last Net Highlight" ), _( "Toggle between last two highlighted nets" ) );
796
797TOOL_ACTION PCB_ACTIONS::clearHighlight( "pcbnew.EditorControl.clearHighlight",
798 AS_GLOBAL,
799 '~', "",
800 _( "Clear Net Highlighting" ), _( "Clear any existing net highlighting" ) );
801
802TOOL_ACTION PCB_ACTIONS::toggleNetHighlight( "pcbnew.EditorControl.toggleNetHighlight",
803 AS_GLOBAL,
804 MD_ALT + '`', "",
805 _( "Toggle Net Highlight" ), _( "Toggle net highlighting" ),
807
808TOOL_ACTION PCB_ACTIONS::highlightNetSelection( "pcbnew.EditorControl.highlightNetSelection",
809 AS_GLOBAL, 0, "",
810 _( "Highlight Net" ), _( "Highlight all copper items on the selected net(s)" ),
812
813TOOL_ACTION PCB_ACTIONS::highlightItem( "pcbnew.EditorControl.highlightItem",
814 AS_GLOBAL );
815
816TOOL_ACTION PCB_ACTIONS::hideNetInRatsnest( "pcbnew.EditorControl.hideNet",
817 AS_GLOBAL, 0, "",
818 _( "Hide Net in Ratsnest" ),
819 _( "Hide the selected net in the ratsnest of unconnected net lines/arcs" ),
821
822TOOL_ACTION PCB_ACTIONS::showNetInRatsnest( "pcbnew.EditorControl.showNet",
823 AS_GLOBAL, 0, "",
824 _( "Show Net in Ratsnest" ),
825 _( "Show the selected net in the ratsnest of unconnected net lines/arcs" ),
827
828TOOL_ACTION PCB_ACTIONS::showEeschema( "pcbnew.EditorControl.showEeschema",
829 AS_GLOBAL, 0, "",
830 _( "Switch to Schematic Editor" ), _( "Open in schematic editor" ),
832
833
834// PCB_CONTROL
835//
836
837TOOL_ACTION PCB_ACTIONS::localRatsnestTool( "pcbnew.Control.localRatsnestTool",
838 AS_GLOBAL, 0, "",
839 _( "Local Ratsnest" ), _( "Toggle ratsnest display of selected item(s)" ),
841
842TOOL_ACTION PCB_ACTIONS::hideLocalRatsnest( "pcbnew.Control.hideDynamicRatsnest",
843 AS_GLOBAL );
844
845TOOL_ACTION PCB_ACTIONS::updateLocalRatsnest( "pcbnew.Control.updateLocalRatsnest",
846 AS_GLOBAL );
847
848TOOL_ACTION PCB_ACTIONS::listNets( "pcbnew.Control.listNets",
849 AS_GLOBAL, 0, "",
850 _( "Net Inspector" ), _( "Show the net inspector" ),
852
853TOOL_ACTION PCB_ACTIONS::showPythonConsole( "pcbnew.Control.showPythonConsole",
854 AS_GLOBAL, 0, "",
855 _( "Scripting Console" ), _( "Show the Python scripting console" ),
857
858TOOL_ACTION PCB_ACTIONS::showLayersManager( "pcbnew.Control.showLayersManager",
859 AS_GLOBAL, 0, "",
860 _( "Show Appearance Manager" ), _( "Show/hide the appearance manager" ),
862
863TOOL_ACTION PCB_ACTIONS::showProperties( "pcbnew.Control.showProperties",
864 AS_GLOBAL, 0, "",
865 _( "Show Properties Manager" ), _( "Show/hide the properties manager" ),
867
868TOOL_ACTION PCB_ACTIONS::flipBoard( "pcbnew.Control.flipBoard",
869 AS_GLOBAL, 0, "",
870 _( "Flip Board View" ), _( "View board from the opposite side" ),
872
873// Display modes
874TOOL_ACTION PCB_ACTIONS::showRatsnest( "pcbnew.Control.showRatsnest",
875 AS_GLOBAL, 0, "",
876 _( "Show Ratsnest" ), _( "Show board ratsnest" ),
878
879TOOL_ACTION PCB_ACTIONS::ratsnestLineMode( "pcbnew.Control.ratsnestLineMode",
880 AS_GLOBAL, 0, "",
881 _( "Curved Ratsnest Lines" ), _( "Show ratsnest with curved lines" ),
883
884TOOL_ACTION PCB_ACTIONS::ratsnestModeCycle( "pcbnew.Control.ratsnestModeCycle",
885 AS_GLOBAL, 0, "",
886 _( "Ratsnest Mode (3-state)" ),
887 _( "Cycle between showing ratsnests for all layers, just visible layers, and none" ) );
888
889TOOL_ACTION PCB_ACTIONS::netColorModeCycle( "pcbnew.Control.netColorMode",
890 AS_GLOBAL, 0, "",
891 _( "Net Color Mode (3-state)" ),
892 _( "Cycle between using net and netclass colors for all nets, just ratsnests, and none" ) );
893
894TOOL_ACTION PCB_ACTIONS::trackDisplayMode( "pcbnew.Control.trackDisplayMode",
895 AS_GLOBAL,
896 'K', LEGACY_HK_NAME( "Track Display Mode" ),
897 _( "Sketch Tracks" ), _( "Show tracks in outline mode" ),
899
900TOOL_ACTION PCB_ACTIONS::padDisplayMode( "pcbnew.Control.padDisplayMode",
901 AS_GLOBAL, 0, "",
902 _( "Sketch Pads" ), _( "Show pads in outline mode" ),
904
905TOOL_ACTION PCB_ACTIONS::viaDisplayMode( "pcbnew.Control.viaDisplayMode",
906 AS_GLOBAL, 0, "",
907 _( "Sketch Vias" ), _( "Show vias in outline mode" ),
909
910TOOL_ACTION PCB_ACTIONS::graphicsOutlines( "pcbnew.Control.graphicOutlines",
911 AS_GLOBAL, 0, "",
912 _( "Sketch Graphic Items" ), _( "Show graphic items in outline mode" ),
914
915TOOL_ACTION PCB_ACTIONS::textOutlines( "pcbnew.Control.textOutlines",
916 AS_GLOBAL, 0, "",
917 _( "Sketch Text Items" ), _( "Show footprint texts in line mode" ),
919
920TOOL_ACTION PCB_ACTIONS::showPadNumbers( "pcbnew.Control.showPadNumbers",
921 AS_GLOBAL, 0, "",
922 _( "Show pad numbers" ), _( "Show pad numbers" ),
924
925TOOL_ACTION PCB_ACTIONS::zoneDisplayFilled( "pcbnew.Control.zoneDisplayEnable",
926 AS_GLOBAL, 0, "",
927 _( "Draw Zone Fills" ), _( "Show filled areas of zones" ),
929
930TOOL_ACTION PCB_ACTIONS::zoneDisplayOutline( "pcbnew.Control.zoneDisplayDisable",
931 AS_GLOBAL, 0, "",
932 _( "Draw Zone Outlines" ), _( "Show only zone boundaries" ),
934
935TOOL_ACTION PCB_ACTIONS::zoneDisplayFractured( "pcbnew.Control.zoneDisplayOutlines",
936 AS_GLOBAL, 0, "",
937 _( "Draw Zone Fill Fracture Borders" ), _( "Draw Zone Fill Fracture Borders" ),
939
940TOOL_ACTION PCB_ACTIONS::zoneDisplayTriangulated( "pcbnew.Control.zoneDisplayTesselation",
941 AS_GLOBAL, 0, "",
942 _( "Draw Zone Fill Triangulation" ), _( "Draw Zone Fill Triangulation" ),
944
945TOOL_ACTION PCB_ACTIONS::zoneDisplayToggle( "pcbnew.Control.zoneDisplayToggle",
946 AS_GLOBAL,
947 0, "",
948 _( "Toggle Zone Display" ),
949 _( "Cycle between showing zone fills and just their outlines" ),
951
952
953// Layer control
954TOOL_ACTION PCB_ACTIONS::layerTop( "pcbnew.Control.layerTop",
955 AS_GLOBAL,
956 WXK_PAGEUP, LEGACY_HK_NAME( "Switch to Component (F.Cu) layer" ),
957 _( "Switch to Component (F.Cu) layer" ), _( "Switch to Component (F.Cu) layer" ),
959
960TOOL_ACTION PCB_ACTIONS::layerInner1( "pcbnew.Control.layerInner1",
961 AS_GLOBAL,
962 0, LEGACY_HK_NAME( "Switch to Inner layer 1" ),
963 _( "Switch to Inner layer 1" ), _( "Switch to Inner layer 1" ),
965
966TOOL_ACTION PCB_ACTIONS::layerInner2( "pcbnew.Control.layerInner2",
967 AS_GLOBAL,
968 0, LEGACY_HK_NAME( "Switch to Inner layer 2" ),
969 _( "Switch to Inner layer 2" ), _( "Switch to Inner layer 2" ),
971
972TOOL_ACTION PCB_ACTIONS::layerInner3( "pcbnew.Control.layerInner3",
973 AS_GLOBAL,
974 0, LEGACY_HK_NAME( "Switch to Inner layer 3" ),
975 _( "Switch to Inner layer 3" ), _( "Switch to Inner layer 3" ),
977
978TOOL_ACTION PCB_ACTIONS::layerInner4( "pcbnew.Control.layerInner4",
979 AS_GLOBAL,
980 0, LEGACY_HK_NAME( "Switch to Inner layer 4" ),
981 _( "Switch to Inner layer 4" ), _( "Switch to Inner layer 4" ),
983
984TOOL_ACTION PCB_ACTIONS::layerInner5( "pcbnew.Control.layerInner5",
985 AS_GLOBAL,
986 0, LEGACY_HK_NAME( "Switch to Inner layer 5" ),
987 _( "Switch to Inner layer 5" ), _( "Switch to Inner layer 5" ),
989
990TOOL_ACTION PCB_ACTIONS::layerInner6( "pcbnew.Control.layerInner6",
991 AS_GLOBAL,
992 0, LEGACY_HK_NAME( "Switch to Inner layer 6" ),
993 _( "Switch to Inner layer 6" ), _( "Switch to Inner layer 6" ),
995
996TOOL_ACTION PCB_ACTIONS::layerInner7( "pcbnew.Control.layerInner7",
997 AS_GLOBAL, 0, "",
998 _( "Switch to Inner layer 7" ), _( "Switch to Inner layer 7" ),
1000
1001TOOL_ACTION PCB_ACTIONS::layerInner8( "pcbnew.Control.layerInner8",
1002 AS_GLOBAL, 0, "",
1003 _( "Switch to Inner layer 8" ), _( "Switch to Inner layer 8" ),
1005
1006TOOL_ACTION PCB_ACTIONS::layerInner9( "pcbnew.Control.layerInner9",
1007 AS_GLOBAL, 0, "",
1008 _( "Switch to Inner layer 9" ), _( "Switch to Inner layer 9" ),
1010
1011TOOL_ACTION PCB_ACTIONS::layerInner10( "pcbnew.Control.layerInner10",
1012 AS_GLOBAL, 0, "",
1013 _( "Switch to Inner layer 10" ), _( "Switch to Inner layer 10" ),
1015
1016TOOL_ACTION PCB_ACTIONS::layerInner11( "pcbnew.Control.layerInner11",
1017 AS_GLOBAL, 0, "",
1018 _( "Switch to Inner layer 11" ), _( "Switch to Inner layer 11" ),
1020
1021TOOL_ACTION PCB_ACTIONS::layerInner12( "pcbnew.Control.layerInner12",
1022 AS_GLOBAL, 0, "",
1023 _( "Switch to Inner layer 12" ), _( "Switch to Inner layer 12" ),
1025
1026TOOL_ACTION PCB_ACTIONS::layerInner13( "pcbnew.Control.layerInner13",
1027 AS_GLOBAL, 0, "",
1028 _( "Switch to Inner layer 13" ), _( "Switch to Inner layer 13" ),
1030
1031TOOL_ACTION PCB_ACTIONS::layerInner14( "pcbnew.Control.layerInner14",
1032 AS_GLOBAL, 0, "",
1033 _( "Switch to Inner layer 14" ), _( "Switch to Inner layer 14" ),
1035
1036TOOL_ACTION PCB_ACTIONS::layerInner15( "pcbnew.Control.layerInner15",
1037 AS_GLOBAL, 0, "",
1038 _( "Switch to Inner layer 15" ), _( "Switch to Inner layer 15" ),
1040
1041TOOL_ACTION PCB_ACTIONS::layerInner16( "pcbnew.Control.layerInner16",
1042 AS_GLOBAL, 0, "",
1043 _( "Switch to Inner layer 16" ), _( "Switch to Inner layer 16" ),
1045
1046TOOL_ACTION PCB_ACTIONS::layerInner17( "pcbnew.Control.layerInner17",
1047 AS_GLOBAL, 0, "",
1048 _( "Switch to Inner layer 17" ), _( "Switch to Inner layer 17" ),
1050
1051TOOL_ACTION PCB_ACTIONS::layerInner18( "pcbnew.Control.layerInner18",
1052 AS_GLOBAL, 0, "",
1053 _( "Switch to Inner layer 18" ), _( "Switch to Inner layer 18" ),
1055
1056TOOL_ACTION PCB_ACTIONS::layerInner19( "pcbnew.Control.layerInner19",
1057 AS_GLOBAL, 0, "",
1058 _( "Switch to Inner layer 19" ), _( "Switch to Inner layer 19" ),
1060
1061TOOL_ACTION PCB_ACTIONS::layerInner20( "pcbnew.Control.layerInner20",
1062 AS_GLOBAL, 0, "",
1063 _( "Switch to Inner layer 20" ), _( "Switch to Inner layer 20" ),
1065
1066TOOL_ACTION PCB_ACTIONS::layerInner21( "pcbnew.Control.layerInner21",
1067 AS_GLOBAL, 0, "",
1068 _( "Switch to Inner layer 21" ), _( "Switch to Inner layer 21" ),
1070
1071TOOL_ACTION PCB_ACTIONS::layerInner22( "pcbnew.Control.layerInner22",
1072 AS_GLOBAL, 0, "",
1073 _( "Switch to Inner layer 22" ), _( "Switch to Inner layer 22" ),
1075
1076TOOL_ACTION PCB_ACTIONS::layerInner23( "pcbnew.Control.layerInner23",
1077 AS_GLOBAL, 0, "",
1078 _( "Switch to Inner layer 23" ), _( "Switch to Inner layer 23" ),
1080
1081TOOL_ACTION PCB_ACTIONS::layerInner24( "pcbnew.Control.layerInner24",
1082 AS_GLOBAL, 0, "",
1083 _( "Switch to Inner layer 24" ), _( "Switch to Inner layer 24" ),
1085
1086TOOL_ACTION PCB_ACTIONS::layerInner25( "pcbnew.Control.layerInner25",
1087 AS_GLOBAL, 0, "",
1088 _( "Switch to Inner layer 25" ), _( "Switch to Inner layer 25" ),
1090
1091TOOL_ACTION PCB_ACTIONS::layerInner26( "pcbnew.Control.layerInner26",
1092 AS_GLOBAL, 0, "",
1093 _( "Switch to Inner layer 26" ), _( "Switch to Inner layer 26" ),
1095
1096TOOL_ACTION PCB_ACTIONS::layerInner27( "pcbnew.Control.layerInner27",
1097 AS_GLOBAL, 0, "",
1098 _( "Switch to Inner layer 27" ), _( "Switch to Inner layer 27" ),
1100
1101TOOL_ACTION PCB_ACTIONS::layerInner28( "pcbnew.Control.layerInner28",
1102 AS_GLOBAL, 0, "",
1103 _( "Switch to Inner layer 28" ), _( "Switch to Inner layer 28" ),
1105
1106TOOL_ACTION PCB_ACTIONS::layerInner29( "pcbnew.Control.layerInner29",
1107 AS_GLOBAL, 0, "",
1108 _( "Switch to Inner layer 29" ), _( "Switch to Inner layer 29" ),
1110
1111TOOL_ACTION PCB_ACTIONS::layerInner30( "pcbnew.Control.layerInner30",
1112 AS_GLOBAL, 0, "",
1113 _( "Switch to Inner layer 30" ), _( "Switch to Inner layer 30" ),
1115
1116TOOL_ACTION PCB_ACTIONS::layerBottom( "pcbnew.Control.layerBottom",
1117 AS_GLOBAL,
1118 WXK_PAGEDOWN, LEGACY_HK_NAME( "Switch to Copper (B.Cu) layer" ),
1119 _( "Switch to Copper (B.Cu) layer" ), _( "Switch to Copper (B.Cu) layer" ),
1121
1122TOOL_ACTION PCB_ACTIONS::layerNext( "pcbnew.Control.layerNext",
1123 AS_GLOBAL,
1124 '+', LEGACY_HK_NAME( "Switch to Next Layer" ),
1125 _( "Switch to Next Layer" ), _( "Switch to Next Layer" ),
1127
1128TOOL_ACTION PCB_ACTIONS::layerPrev( "pcbnew.Control.layerPrev",
1129 AS_GLOBAL,
1130 '-', LEGACY_HK_NAME( "Switch to Previous Layer" ),
1131 _( "Switch to Previous Layer" ), _( "Switch to Previous Layer" ),
1133
1134TOOL_ACTION PCB_ACTIONS::layerToggle( "pcbnew.Control.layerToggle",
1135 AS_GLOBAL,
1136 'V', LEGACY_HK_NAME( "Add Through Via" ),
1137 _( "Toggle Layer" ), _( "Switch between layers in active layer pair" ),
1139
1140TOOL_ACTION PCB_ACTIONS::layerAlphaInc( "pcbnew.Control.layerAlphaInc",
1141 AS_GLOBAL,
1142 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
1143 '}', LEGACY_HK_NAME( "Increment Layer Transparency (Modern Toolset only)" ),
1144 _( "Increase Layer Opacity" ), _( "Make the current layer less transparent" ),
1146
1147TOOL_ACTION PCB_ACTIONS::layerAlphaDec( "pcbnew.Control.layerAlphaDec",
1148 AS_GLOBAL,
1149 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
1150 '{', LEGACY_HK_NAME( "Decrement Layer Transparency (Modern Toolset only)" ),
1151 _( "Decrease Layer Opacity" ), _( "Make the current layer more transparent" ),
1153
1154TOOL_ACTION PCB_ACTIONS::layerChanged( "pcbnew.Control.layerChanged",
1155 AS_GLOBAL, 0, "",
1156 "", "",
1158
1159//Show board statistics tool
1160TOOL_ACTION PCB_ACTIONS::boardStatistics( "pcbnew.InspectionTool.ShowBoardStatistics",
1161 AS_GLOBAL, 0, "",
1162 _( "Show Board Statistics" ), _( "Shows board statistics" ) );
1163
1164TOOL_ACTION PCB_ACTIONS::inspectClearance( "pcbnew.InspectionTool.InspectClearance",
1165 AS_GLOBAL, 0, "",
1166 _( "Clearance Resolution..." ),
1167 _( "Show clearance resolution for the active layer between two selected objects" ),
1169
1170TOOL_ACTION PCB_ACTIONS::inspectConstraints( "pcbnew.InspectionTool.InspectConstraints",
1171 AS_GLOBAL, 0, "",
1172 _( "Constraints Resolution..." ),
1173 _( "Show constraints resolution for the selected object" ),
1175
1176//Geographic re-annotation tool
1177TOOL_ACTION PCB_ACTIONS::boardReannotate( "pcbnew.ReannotateTool.ShowReannotateDialog",
1178 AS_GLOBAL, 0, "",
1179 _( "Geographical Reannotate..." ), _( "Reannotate PCB in geographical order" ),
1181
1182TOOL_ACTION PCB_ACTIONS::repairBoard( "pcbnew.Control.repairBoard",
1183 AS_GLOBAL, 0, "",
1184 _( "Repair Board" ),
1185 _( "Run various diagnostics and attempt to repair board" ),
1187
1188TOOL_ACTION PCB_ACTIONS::repairFootprint( "pcbnew.ModuleEditor.repairFootprint",
1189 AS_GLOBAL, 0, "",
1190 _( "Repair Footprint" ),
1191 _( "Run various diagnostics and attempt to repair footprint" ) );
1192
1193
1194// PLACEMENT_TOOL
1195//
1196TOOL_ACTION PCB_ACTIONS::alignTop( "pcbnew.AlignAndDistribute.alignTop",
1197 AS_GLOBAL, 0, "",
1198 _( "Align to Top" ), _( "Aligns selected items to the top edge" ),
1200
1201TOOL_ACTION PCB_ACTIONS::alignBottom( "pcbnew.AlignAndDistribute.alignBottom",
1202 AS_GLOBAL, 0, "",
1203 _( "Align to Bottom" ), _( "Aligns selected items to the bottom edge" ),
1205
1206TOOL_ACTION PCB_ACTIONS::alignLeft( "pcbnew.AlignAndDistribute.alignLeft",
1207 AS_GLOBAL, 0, "",
1208 _( "Align to Left" ), _( "Aligns selected items to the left edge" ),
1210
1211TOOL_ACTION PCB_ACTIONS::alignRight( "pcbnew.AlignAndDistribute.alignRight",
1212 AS_GLOBAL, 0, "",
1213 _( "Align to Right" ), _( "Aligns selected items to the right edge" ),
1215
1216TOOL_ACTION PCB_ACTIONS::alignCenterY( "pcbnew.AlignAndDistribute.alignCenterY",
1217 AS_GLOBAL, 0, "",
1218 _( "Align to Vertical Center" ), _( "Aligns selected items to the vertical center" ),
1220
1221TOOL_ACTION PCB_ACTIONS::alignCenterX( "pcbnew.AlignAndDistribute.alignCenterX",
1222 AS_GLOBAL, 0, "",
1223 _( "Align to Horizontal Center" ), _( "Aligns selected items to the horizontal center" ),
1225
1226TOOL_ACTION PCB_ACTIONS::distributeHorizontally( "pcbnew.AlignAndDistribute.distributeHorizontally",
1227 AS_GLOBAL, 0, "",
1228 _( "Distribute Horizontally" ), _( "Distributes selected items along the horizontal axis" ),
1230
1231TOOL_ACTION PCB_ACTIONS::distributeVertically( "pcbnew.AlignAndDistribute.distributeVertically",
1232 AS_GLOBAL, 0, "",
1233 _( "Distribute Vertically" ), _( "Distributes selected items along the vertical axis" ),
1235
1236
1237// PCB_POINT_EDITOR
1238//
1239TOOL_ACTION PCB_ACTIONS::pointEditorAddCorner( "pcbnew.PointEditor.addCorner",
1240 AS_GLOBAL,
1241#ifdef __WXMAC__
1242 WXK_F1, "",
1243#else
1244 WXK_INSERT, "",
1245#endif
1246 _( "Create Corner" ), _( "Create a corner" ),
1248
1249TOOL_ACTION PCB_ACTIONS::pointEditorRemoveCorner( "pcbnew.PointEditor.removeCorner",
1250 AS_GLOBAL, 0, "",
1251 _( "Remove Corner" ), _( "Remove corner" ),
1253
1254TOOL_ACTION PCB_ACTIONS::pointEditorArcKeepCenter( "pcbnew.PointEditor.arcKeepCenter",
1255 AS_GLOBAL, 0, "",
1256 _( "Keep arc center, adjust radius" ),
1257 _( "Switch arc editing mode to keep center, adjust radius and endpoints" ),
1259
1260TOOL_ACTION PCB_ACTIONS::pointEditorArcKeepEndpoint( "pcbnew.PointEditor.arcKeepEndpoint",
1261 AS_GLOBAL, 0, "",
1262 _( "Keep arc endpoints or direction of starting point" ),
1263 _( "Switch arc editing mode to keep endpoints, or to keep direction of the other point" ),
1265
1266
1267// GROUP_TOOL
1268//
1269TOOL_ACTION PCB_ACTIONS::groupProperties( "pcbnew.Groups.groupProperties",
1270 AS_GLOBAL );
1271
1272TOOL_ACTION PCB_ACTIONS::pickNewGroupMember( "pcbnew.Groups.selectNewGroupMember",
1273 AS_GLOBAL );
1274
1275
1276
1277// POSITION_RELATIVE_TOOL
1278//
1279TOOL_ACTION PCB_ACTIONS::positionRelative( "pcbnew.PositionRelative.positionRelative",
1280 AS_GLOBAL,
1281 MD_SHIFT + 'P', LEGACY_HK_NAME( "Position Item Relative" ),
1282 _( "Position Relative To..." ),
1283 _( "Positions the selected item(s) by an exact amount relative to another" ),
1285
1286TOOL_ACTION PCB_ACTIONS::selectpositionRelativeItem( "pcbnew.PositionRelative.selectpositionRelativeItem",
1287 AS_GLOBAL );
1288
1289
1290// PCB_SELECTION_TOOL
1291//
1292TOOL_ACTION PCB_ACTIONS::selectionActivate( "pcbnew.InteractiveSelection",
1293 AS_GLOBAL, 0, "", "", "", // No description, not shown anywhere
1295
1296TOOL_ACTION PCB_ACTIONS::selectionCursor( "pcbnew.InteractiveSelection.Cursor",
1297 AS_GLOBAL );
1298
1299TOOL_ACTION PCB_ACTIONS::selectItem( "pcbnew.InteractiveSelection.SelectItem",
1300 AS_GLOBAL );
1301
1302TOOL_ACTION PCB_ACTIONS::selectItems( "pcbnew.InteractiveSelection.SelectItems",
1303 AS_GLOBAL );
1304
1305TOOL_ACTION PCB_ACTIONS::unselectItem( "pcbnew.InteractiveSelection.UnselectItem",
1306 AS_GLOBAL );
1307
1308TOOL_ACTION PCB_ACTIONS::unselectItems( "pcbnew.InteractiveSelection.UnselectItems",
1309 AS_GLOBAL );
1310
1311TOOL_ACTION PCB_ACTIONS::selectionClear( "pcbnew.InteractiveSelection.Clear",
1312 AS_GLOBAL );
1313
1314TOOL_ACTION PCB_ACTIONS::selectionMenu( "pcbnew.InteractiveSelection.SelectionMenu",
1315 AS_GLOBAL );
1316
1317TOOL_ACTION PCB_ACTIONS::selectConnection( "pcbnew.InteractiveSelection.SelectConnection",
1318 AS_GLOBAL,
1319 'U', LEGACY_HK_NAME( "Select Single Track" ),
1320 _( "Select/Expand Connection" ),
1321 _( "Selects a connection or expands an existing selection to junctions, pads, or entire connections" ),
1323
1324TOOL_ACTION PCB_ACTIONS::unrouteSelected( "pcbnew.InteractiveSelection.unrouteSelected",
1325 AS_GLOBAL, 0, "",
1326 _( "Unroute Selected" ),
1327 _( "Unroutes selected items to the nearest pad." ),
1329
1330TOOL_ACTION PCB_ACTIONS::syncSelection( "pcbnew.InteractiveSelection.SyncSelection",
1331 AS_GLOBAL );
1332
1333TOOL_ACTION PCB_ACTIONS::syncSelectionWithNets( "pcbnew.InteractiveSelection.SyncSelectionWithNets",
1334 AS_GLOBAL );
1335
1336TOOL_ACTION PCB_ACTIONS::selectNet( "pcbnew.InteractiveSelection.SelectNet",
1337 AS_GLOBAL, 0, "",
1338 _( "Select All Tracks in Net" ),
1339 _( "Selects all tracks & vias belonging to the same net." ) );
1340
1341TOOL_ACTION PCB_ACTIONS::deselectNet( "pcbnew.InteractiveSelection.DeselectNet",
1342 AS_GLOBAL, 0, "",
1343 _( "Deselect All Tracks in Net" ),
1344 _( "Deselects all tracks & vias belonging to the same net." ) );
1345
1346TOOL_ACTION PCB_ACTIONS::selectUnconnected( "pcbnew.InteractiveSelection.SelectUnconnected",
1347 AS_GLOBAL,
1348 'O', "",
1349 _( "Select All Unconnected Footprints" ),
1350 _( "Selects all unconnected footprints belonging to each selected net." ) );
1351
1352TOOL_ACTION PCB_ACTIONS::grabUnconnected( "pcbnew.InteractiveSelection.GrabUnconnected",
1353 AS_GLOBAL,
1354 MD_SHIFT + 'O', "",
1355 _( "Grab Nearest Unconnected Footprints" ),
1356 _( "Selects and initiates moving the nearest unconnected footprint on each selected net." ) );
1357
1358TOOL_ACTION PCB_ACTIONS::selectOnSheetFromEeschema( "pcbnew.InteractiveSelection.SelectOnSheet",
1359 AS_GLOBAL, 0, "",
1360 _( "Sheet" ),
1361 _( "Selects all footprints and tracks in the schematic sheet" ),
1363
1364TOOL_ACTION PCB_ACTIONS::selectSameSheet( "pcbnew.InteractiveSelection.SelectSameSheet",
1365 AS_GLOBAL, 0, "",
1366 _( "Items in Same Hierarchical Sheet" ),
1367 _( "Selects all footprints and tracks in the same schematic sheet" ),
1369
1370TOOL_ACTION PCB_ACTIONS::selectOnSchematic( "pcbnew.InteractiveSelection.SelectOnSchematic",
1371 AS_GLOBAL, 0, "",
1372 _( "Select on Schematic" ),
1373 _( "Selects corresponding items in Schematic editor" ),
1375
1376TOOL_ACTION PCB_ACTIONS::filterSelection( "pcbnew.InteractiveSelection.FilterSelection",
1377 AS_GLOBAL, 0, "",
1378 _( "Filter Selected Items..." ), _( "Remove items from the selection by type" ),
1380
1381
1382// ZONE_FILLER_TOOL
1383//
1384TOOL_ACTION PCB_ACTIONS::zoneFill( "pcbnew.ZoneFiller.zoneFill",
1385 AS_GLOBAL, 0, "",
1386 _( "Draft Fill Selected Zone(s)" ),
1387 _( "Update copper fill of selected zone(s) without regard to other interacting zones" ),
1389
1390TOOL_ACTION PCB_ACTIONS::zoneFillAll( "pcbnew.ZoneFiller.zoneFillAll",
1391 AS_GLOBAL,
1392 'B', LEGACY_HK_NAME( "Fill or Refill All Zones" ),
1393 _( "Fill All Zones" ), _( "Update copper fill of all zones" ),
1395
1396TOOL_ACTION PCB_ACTIONS::zoneFillDirty( "pcbnew.ZoneFiller.zoneFillDirty",
1397 AS_CONTEXT );
1398
1399TOOL_ACTION PCB_ACTIONS::zoneUnfill( "pcbnew.ZoneFiller.zoneUnfill",
1400 AS_GLOBAL, 0, "",
1401 _( "Unfill Selected Zone(s)" ), _( "Remove copper fill from selected zone(s)" ),
1403
1404TOOL_ACTION PCB_ACTIONS::zoneUnfillAll( "pcbnew.ZoneFiller.zoneUnfillAll",
1405 AS_GLOBAL,
1406 MD_CTRL + 'B', LEGACY_HK_NAME( "Remove Filled Areas in All Zones" ),
1407 _( "Unfill All Zones" ), _( "Remove copper fill from all zones" ),
1409
1410
1411// AUTOPLACER_TOOL
1412//
1413TOOL_ACTION PCB_ACTIONS::autoplaceSelectedComponents( "pcbnew.Autoplacer.autoplaceSelected",
1414 AS_GLOBAL, 0, "",
1415 _( "Place Selected Footprints" ),
1416 _( "Performs automatic placement of selected components" ) );
1417
1418TOOL_ACTION PCB_ACTIONS::autoplaceOffboardComponents( "pcbnew.Autoplacer.autoplaceOffboard",
1419 AS_GLOBAL, 0, "",
1420 _( "Place Off-Board Footprints" ),
1421 _( "Performs automatic placement of components outside board area" ) );
1422
1423
1424// ROUTER_TOOL
1425//
1426TOOL_ACTION PCB_ACTIONS::routeSingleTrack( "pcbnew.InteractiveRouter.SingleTrack",
1427 AS_GLOBAL,
1428 'X', LEGACY_HK_NAME( "Add New Track" ),
1429 _( "Route Single Track" ), _( "Route tracks" ),
1431
1432TOOL_ACTION PCB_ACTIONS::routeDiffPair( "pcbnew.InteractiveRouter.DiffPair",
1433 AS_GLOBAL,
1434 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
1435 '6', LEGACY_HK_NAME( "Route Differential Pair (Modern Toolset only)" ),
1436 _( "Route Differential Pair" ), _( "Route differential pairs" ),
1438
1439TOOL_ACTION PCB_ACTIONS::routerSettingsDialog( "pcbnew.InteractiveRouter.SettingsDialog",
1440 AS_GLOBAL,
1441 MD_CTRL + '<', LEGACY_HK_NAME( "Routing Options" ),
1442 _( "Interactive Router Settings..." ), _( "Open Interactive Router settings" ),
1444
1445TOOL_ACTION PCB_ACTIONS::routerDiffPairDialog( "pcbnew.InteractiveRouter.DiffPairDialog",
1446 AS_GLOBAL, 0, "",
1447 _( "Differential Pair Dimensions..." ), _( "Open Differential Pair Dimension settings" ),
1449
1450TOOL_ACTION PCB_ACTIONS::routerHighlightMode( "pcbnew.InteractiveRouter.HighlightMode",
1451 AS_GLOBAL, 0, "",
1452 _( "Router Highlight Mode" ), _( "Switch router to highlight mode" ),
1454
1455TOOL_ACTION PCB_ACTIONS::routerShoveMode( "pcbnew.InteractiveRouter.ShoveMode",
1456 AS_GLOBAL, 0, "",
1457 _( "Router Shove Mode" ), _( "Switch router to shove mode" ),
1459
1460TOOL_ACTION PCB_ACTIONS::routerWalkaroundMode( "pcbnew.InteractiveRouter.WalkaroundMode",
1461 AS_GLOBAL, 0, "",
1462 _( "Router Walkaround Mode" ), _( "Switch router to walkaround mode" ),
1464
1465TOOL_ACTION PCB_ACTIONS::cycleRouterMode( "pcbnew.InteractiveRouter.CycleRouterMode",
1466 AS_GLOBAL, 0, "",
1467 _( "Cycle Router Mode" ), _( "Cycle router to the next mode" ),
1469
1470TOOL_ACTION PCB_ACTIONS::selectLayerPair( "pcbnew.InteractiveRouter.SelectLayerPair",
1471 AS_GLOBAL, 0, "",
1472 _( "Set Layer Pair..." ), _( "Change active layer pair for routing" ),
1474
1475TOOL_ACTION PCB_ACTIONS::routerTuneSingleTrace( "pcbnew.LengthTuner.TuneSingleTrack",
1476 AS_GLOBAL,
1477 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
1478 '7', LEGACY_HK_NAME( "Tune Single Track (Modern Toolset only)" ),
1479 _( "Tune length of a single track" ), _( "Tune length of a single track" ),
1481
1482TOOL_ACTION PCB_ACTIONS::routerTuneDiffPair( "pcbnew.LengthTuner.TuneDiffPair",
1483 AS_GLOBAL,
1484 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
1485 '8', LEGACY_HK_NAME( "Tune Differential Pair Length (Modern Toolset only)" ),
1486 _( "Tune length of a differential pair" ), _( "Tune length of a differential pair" ),
1488
1489TOOL_ACTION PCB_ACTIONS::routerTuneDiffPairSkew( "pcbnew.LengthTuner.TuneDiffPairSkew",
1490 AS_GLOBAL,
1491 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
1492 '9', LEGACY_HK_NAME( "Tune Differential Pair Skew (Modern Toolset only)" ),
1493 _( "Tune skew of a differential pair" ), _( "Tune skew of a differential pair" ),
1495
1496TOOL_ACTION PCB_ACTIONS::routerInlineDrag( "pcbnew.InteractiveRouter.InlineDrag",
1497 AS_CONTEXT );
1498
1499TOOL_ACTION PCB_ACTIONS::routerUndoLastSegment( "pcbnew.InteractiveRouter.UndoLastSegment",
1500 AS_CONTEXT,
1501 WXK_BACK, "",
1502 _( "Undo Last Segment" ), _( "Walks the current track back one segment." ) );
1503
1504TOOL_ACTION PCB_ACTIONS::routerContinueFromEnd( "pcbnew.InteractiveRouter.ContinueFromEnd",
1505 AS_CONTEXT,
1506 'E', "",
1507 _( "Route From Other End" ),
1508 _( "Commits current segments and starts next segment from nearest ratsnest end." ) );
1509
1510TOOL_ACTION PCB_ACTIONS::routerAttemptFinish( "pcbnew.InteractiveRouter.AttemptFinish",
1511 AS_CONTEXT,
1512 'F', "",
1513 _( "Attempt Finish" ),
1514 _( "Attempts to complete current route to nearest ratsnest end." ) );
1515
1516TOOL_ACTION PCB_ACTIONS::routerRouteSelected( "pcbnew.InteractiveRouter.RouteSelected",
1517 AS_GLOBAL,
1518 MD_SHIFT + 'X', "",
1519 _( "Route Selected" ),
1520 _( "Sequentially route selected items from ratsnest anchor." ),
1522
1523TOOL_ACTION PCB_ACTIONS::routerRouteSelectedFromEnd( "pcbnew.InteractiveRouter.RouteSelectedFromEnd",
1524 AS_GLOBAL,
1525 MD_SHIFT + 'E', "",
1526 _( "Route Selected From Other End" ),
1527 _( "Sequentially route selected items from other end of ratsnest anchor." ),
1529
1530TOOL_ACTION PCB_ACTIONS::routerAutorouteSelected( "pcbnew.InteractiveRouter.Autoroute",
1531 AS_GLOBAL,
1532 MD_SHIFT + 'F', "",
1533 _( "Attempt Finish Selected (Autoroute)" ),
1534 _( "Sequentially attempt to automatically route all selected pads." ),
1536
1537TOOL_ACTION PCB_ACTIONS::breakTrack( "pcbnew.InteractiveRouter.BreakTrack",
1538 AS_GLOBAL, 0, "",
1539 _( "Break Track" ),
1540 _( "Splits the track segment into two segments connected at the cursor position." ),
1542
1543TOOL_ACTION PCB_ACTIONS::drag45Degree( "pcbnew.InteractiveRouter.Drag45Degree",
1544 AS_GLOBAL,
1545 'D', LEGACY_HK_NAME( "Drag Track Keep Slope" ),
1546 _( "Drag (45 degree mode)" ),
1547 _( "Drags the track segment while keeping connected tracks at 45 degrees." ),
1549
1550TOOL_ACTION PCB_ACTIONS::dragFreeAngle( "pcbnew.InteractiveRouter.DragFreeAngle",
1551 AS_GLOBAL,
1552 'G', LEGACY_HK_NAME( "Drag Item" ),
1553 _( "Drag (free angle)" ),
1554 _( "Drags the nearest joint in the track without restricting the track angle." ),
1555 BITMAPS::drag );
1556
1557
1558// LENGTH_TUNER_TOOL
1559//
1560TOOL_ACTION PCB_ACTIONS::lengthTunerSettingsDialog( "pcbnew.LengthTuner.Settings",
1561 AS_CONTEXT,
1562 // Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
1563 MD_CTRL + 'L', LEGACY_HK_NAME( "Length Tuning Settings (Modern Toolset only)" ),
1564 _( "Length Tuning Settings..." ),
1565 _( "Sets the length tuning parameters for currently routed item." ),
1567
1568TOOL_ACTION PCB_ACTIONS::ddAppendBoard( "pcbnew.Control.DdAppendBoard",
1569 AS_GLOBAL );
1570
1571
1572TOOL_ACTION PCB_ACTIONS::ddImportFootprint( "pcbnew.Control.ddImportFootprint", AS_GLOBAL );
#define LEGACY_HK_NAME(x)
Definition: actions.h:32
@ KEEP_ENDPOINTS_OR_START_DIRECTION
@ KEEP_CENTER_ADJUST_ANGLE_RADIUS
@ new_footprint
@ copy_pad_settings
@ add_zone_cutout
@ distribute_horizontal
@ show_mod_edge
@ general_deletions
@ align_items_bottom
@ hide_ratsnest
@ align_items_left
@ show_zone_outline_only
@ push_pad_settings
@ delete_cursor
@ ps_diff_pair_tune_length
@ module_options
@ distribute_vertical
@ add_graphical_polygon
@ move_exactly
@ align_items_middle
@ add_radial_dimension
@ ps_tune_length
@ zone_duplicate
@ import_module
@ ps_diff_pair
@ module_editor
@ align_items_top
@ export_module
@ pad_enumerate
@ move_relative
@ curved_ratsnest
@ add_aligned_dimension
@ general_ratsnest
@ add_rectangle
@ mw_add_stub_arc
@ align_items_right
@ apply_pad_settings
@ mw_add_shape
@ icon_eeschema_24
@ add_center_dimension
@ show_ratsnest
@ drag_segment_withslope
@ width_track_via
@ add_graphical_segments
@ ps_diff_pair_tune_phase
@ contrast_mode
@ add_orthogonal_dimension
@ INVALID_BITMAP
@ add_keepout_area
@ group_ungroup
@ group_remove
@ pack_footprints
@ custom_pad_to_primitives
@ directory_open
@ show_zone_disable
@ align_items_center
@ layers_manager
@ net_highlight
@ options_board
@ show_zone_triangulation
@ select_layer_pair
@ select_same_sheet
@ router_len_tuner_setup
@ module_wizard
@ import_vector
@ tool_ratsnest
@ ps_diff_pair_gap
static TOOL_ACTION deleteLastPoint
Definition: pcb_actions.h:193
static TOOL_ACTION toggleHV45Mode
Definition: pcb_actions.h:466
static TOOL_ACTION editTracksAndVias
Definition: pcb_actions.h:359
static TOOL_ACTION deleteFootprint
Definition: pcb_actions.h:413
static TOOL_ACTION drawRuleArea
Definition: pcb_actions.h:185
static TOOL_ACTION layerToggle
Definition: pcb_actions.h:326
static TOOL_ACTION drag45Degree
Definition: pcb_actions.h:166
static TOOL_ACTION duplicateIncrement
Activation of the duplication tool with incrementing (e.g. pad number)
Definition: pcb_actions.h:155
static TOOL_ACTION layerInner12
Definition: pcb_actions.h:302
static TOOL_ACTION microwaveCreateGap
Definition: pcb_actions.h:455
static TOOL_ACTION recombinePad
Definition: pcb_actions.h:429
static TOOL_ACTION renameFootprint
Definition: pcb_actions.h:412
static TOOL_ACTION routerUndoLastSegment
Definition: pcb_actions.h:222
static TOOL_ACTION placeText
Definition: pcb_actions.h:176
static TOOL_ACTION layerInner8
Definition: pcb_actions.h:298
static TOOL_ACTION swapLayers
Definition: pcb_actions.h:368
static TOOL_ACTION generateBOM
Definition: pcb_actions.h:381
static TOOL_ACTION pointEditorArcKeepCenter
Definition: pcb_actions.h:248
static TOOL_ACTION highlightItem
Definition: pcb_actions.h:501
static TOOL_ACTION drawOrthogonalDimension
Definition: pcb_actions.h:181
static TOOL_ACTION zoneDisplayToggle
Definition: pcb_actions.h:286
static TOOL_ACTION enumeratePads
Tool for quick pad enumeration.
Definition: pcb_actions.h:432
static TOOL_ACTION listNets
Definition: pcb_actions.h:383
static TOOL_ACTION distributeVertically
Definition: pcb_actions.h:265
static TOOL_ACTION drawRectangle
Definition: pcb_actions.h:172
static TOOL_ACTION layerInner3
Definition: pcb_actions.h:293
static TOOL_ACTION layerPrev
Definition: pcb_actions.h:323
static TOOL_ACTION setAnchor
Definition: pcb_actions.h:192
static TOOL_ACTION padDisplayMode
Definition: pcb_actions.h:280
static TOOL_ACTION routerSettingsDialog
Activation of the Push and Shove settings dialogs.
Definition: pcb_actions.h:231
static TOOL_ACTION showRatsnest
Definition: pcb_actions.h:275
static TOOL_ACTION zoneFillAll
Definition: pcb_actions.h:344
static TOOL_ACTION layerInner2
Definition: pcb_actions.h:292
static TOOL_ACTION showLayersManager
Definition: pcb_actions.h:389
static TOOL_ACTION changeTrackWidth
Update selected tracks & vias to the current track & via dimensions.
Definition: pcb_actions.h:142
static TOOL_ACTION trackWidthDec
Definition: pcb_actions.h:334
static TOOL_ACTION routerAttemptFinish
Definition: pcb_actions.h:225
static TOOL_ACTION convertToKeepout
Definition: pcb_actions.h:522
static TOOL_ACTION toggleNetHighlight
Definition: pcb_actions.h:499
static TOOL_ACTION generateDrillFiles
Definition: pcb_actions.h:377
static TOOL_ACTION pushPadSettings
Copy the current pad's settings to other pads in the footprint or on the board.
Definition: pcb_actions.h:452
static TOOL_ACTION unrouteSelected
Removes all tracks from the selected items to the first pad.
Definition: pcb_actions.h:83
static TOOL_ACTION drawCircle
Definition: pcb_actions.h:173
static TOOL_ACTION mirrorH
Mirroring of selected items.
Definition: pcb_actions.h:129
static TOOL_ACTION routeDiffPair
Activation of the Push and Shove router (differential pair mode)
Definition: pcb_actions.h:211
static TOOL_ACTION placeImage
Definition: pcb_actions.h:175
static TOOL_ACTION selectionCursor
Select a single item under the cursor position.
Definition: pcb_actions.h:56
static TOOL_ACTION generateD356File
Definition: pcb_actions.h:380
static TOOL_ACTION groupLeave
Definition: pcb_actions.h:478
static TOOL_ACTION updateFootprint
Definition: pcb_actions.h:364
static TOOL_ACTION convertToTracks
Definition: pcb_actions.h:525
static TOOL_ACTION alignTop
Definition: pcb_actions.h:258
static TOOL_ACTION trackViaSizeChanged
Definition: pcb_actions.h:338
static TOOL_ACTION exportSpecctraDSN
Definition: pcb_actions.h:374
static TOOL_ACTION createFootprint
Definition: pcb_actions.h:403
static TOOL_ACTION layerChanged
Definition: pcb_actions.h:328
static TOOL_ACTION trackWidthInc
Definition: pcb_actions.h:333
static TOOL_ACTION hideFootprintTree
Definition: pcb_actions.h:396
static TOOL_ACTION grabUnconnected
Select and move nearest unconnected footprint from ratsnest of selection.
Definition: pcb_actions.h:95
static TOOL_ACTION filterSelection
Filter the items in the current selection (invokes dialog)
Definition: pcb_actions.h:107
static TOOL_ACTION ddAppendBoard
Drag and drop.
Definition: pcb_actions.h:528
static TOOL_ACTION editFootprint
Definition: pcb_actions.h:410
static TOOL_ACTION exportFootprint
Definition: pcb_actions.h:418
static TOOL_ACTION layerInner25
Definition: pcb_actions.h:315
static TOOL_ACTION showFootprintTree
Definition: pcb_actions.h:395
static TOOL_ACTION breakTrack
Break a single track into two segments at the cursor.
Definition: pcb_actions.h:164
static TOOL_ACTION highlightNet
Definition: pcb_actions.h:497
static TOOL_ACTION routerTuneDiffPair
Activation of the Push and Shove router (diff pair tuning mode)
Definition: pcb_actions.h:217
static TOOL_ACTION getAndPlace
Find an item and start moving.
Definition: pcb_actions.h:514
static TOOL_ACTION drawTextBox
Definition: pcb_actions.h:177
static TOOL_ACTION copyPadSettings
Copy the selected pad's settings to the board design settings.
Definition: pcb_actions.h:446
static TOOL_ACTION layerAlphaDec
Definition: pcb_actions.h:325
static TOOL_ACTION unselectItem
Definition: pcb_actions.h:63
static TOOL_ACTION routerRouteSelectedFromEnd
Definition: pcb_actions.h:227
static TOOL_ACTION routerHighlightMode
Actions to enable switching modes via hotkey assignments.
Definition: pcb_actions.h:236
static TOOL_ACTION routerWalkaroundMode
Definition: pcb_actions.h:238
static TOOL_ACTION routerShoveMode
Definition: pcb_actions.h:237
static TOOL_ACTION convertToLines
Definition: pcb_actions.h:523
static TOOL_ACTION drawZoneCutout
Definition: pcb_actions.h:186
static TOOL_ACTION drawPolygon
Definition: pcb_actions.h:171
static TOOL_ACTION placePad
Activation of the drawing tool (placing a PAD)
Definition: pcb_actions.h:426
static TOOL_ACTION hideNetInRatsnest
Definition: pcb_actions.h:504
static TOOL_ACTION hideLocalRatsnest
Definition: pcb_actions.h:507
static TOOL_ACTION group
Definition: pcb_actions.h:474
static TOOL_ACTION zoneDisplayFilled
Definition: pcb_actions.h:282
static TOOL_ACTION layerInner24
Definition: pcb_actions.h:314
static TOOL_ACTION viaSizeDec
Definition: pcb_actions.h:336
static TOOL_ACTION showNetInRatsnest
Definition: pcb_actions.h:505
static TOOL_ACTION drawRadialDimension
Definition: pcb_actions.h:180
static TOOL_ACTION showProperties
Definition: pcb_actions.h:390
static TOOL_ACTION routerTuneDiffPairSkew
Activation of the Push and Shove router (skew tuning mode)
Definition: pcb_actions.h:220
static TOOL_ACTION zoneFill
Definition: pcb_actions.h:343
static TOOL_ACTION cleanupTracksAndVias
Definition: pcb_actions.h:362
static TOOL_ACTION viaDisplayMode
Definition: pcb_actions.h:281
static TOOL_ACTION editTextAndGraphics
Definition: pcb_actions.h:360
static TOOL_ACTION properties
Activation of the edit tool.
Definition: pcb_actions.h:149
static TOOL_ACTION drawLeader
Definition: pcb_actions.h:182
static TOOL_ACTION editFpInFpEditor
Definition: pcb_actions.h:386
static TOOL_ACTION selectionClear
Clear the current selection.
Definition: pcb_actions.h:59
static TOOL_ACTION moveWithReference
move with a reference point
Definition: pcb_actions.h:116
static TOOL_ACTION toggleLock
Definition: pcb_actions.h:469
static TOOL_ACTION swap
Swapping of selected items.
Definition: pcb_actions.h:133
static TOOL_ACTION toggleLastNetHighlight
Definition: pcb_actions.h:498
static TOOL_ACTION layerInner29
Definition: pcb_actions.h:319
static TOOL_ACTION placeCharacteristics
Definition: pcb_actions.h:188
static TOOL_ACTION pluginsShowFolder
Definition: pcb_actions.h:355
static TOOL_ACTION viaSizeInc
Definition: pcb_actions.h:335
static TOOL_ACTION routerAutorouteSelected
Definition: pcb_actions.h:228
static TOOL_ACTION moveExact
Activation of the exact move tool.
Definition: pcb_actions.h:152
static TOOL_ACTION autoplaceOffboardComponents
Definition: pcb_actions.h:516
static TOOL_ACTION layerInner11
Definition: pcb_actions.h:301
static TOOL_ACTION routerDiffPairDialog
Definition: pcb_actions.h:232
static TOOL_ACTION explodePad
Definition: pcb_actions.h:428
static TOOL_ACTION routerContinueFromEnd
Definition: pcb_actions.h:224
static TOOL_ACTION zoneUnfill
Definition: pcb_actions.h:346
static TOOL_ACTION layerAlphaInc
Definition: pcb_actions.h:324
static TOOL_ACTION inspectConstraints
Definition: pcb_actions.h:493
static TOOL_ACTION generatePosFile
Definition: pcb_actions.h:378
static TOOL_ACTION globalDeletions
Definition: pcb_actions.h:361
static TOOL_ACTION newFootprint
Definition: pcb_actions.h:400
static TOOL_ACTION drillOrigin
Definition: pcb_actions.h:484
static TOOL_ACTION selectOnSheetFromEeschema
Select all components on sheet from Eeschema crossprobing.
Definition: pcb_actions.h:98
static TOOL_ACTION layerInner16
Definition: pcb_actions.h:306
static TOOL_ACTION defaultPadProperties
Definition: pcb_actions.h:421
static TOOL_ACTION selectConnection
Select tracks between junctions or expands an existing selection to pads or the entire connection.
Definition: pcb_actions.h:80
static TOOL_ACTION routerTuneSingleTrace
Activation of the Push and Shove router (tune single line mode)
Definition: pcb_actions.h:214
static TOOL_ACTION assignNetClass
Definition: pcb_actions.h:340
static TOOL_ACTION packAndMoveFootprints
Pack and start moving selected footprints.
Definition: pcb_actions.h:136
static TOOL_ACTION alignRight
Definition: pcb_actions.h:261
static TOOL_ACTION copyWithReference
copy command with manual reference point selection
Definition: pcb_actions.h:119
static TOOL_ACTION layerInner26
Definition: pcb_actions.h:316
static TOOL_ACTION layerInner18
Definition: pcb_actions.h:308
static TOOL_ACTION incWidth
Increase width of currently drawn line.
Definition: pcb_actions.h:197
static TOOL_ACTION repairBoard
Definition: pcb_actions.h:490
static TOOL_ACTION layerInner14
Definition: pcb_actions.h:304
static TOOL_ACTION trackDisplayMode
Definition: pcb_actions.h:279
static TOOL_ACTION selectLayerPair
Definition: pcb_actions.h:161
static TOOL_ACTION microwaveCreateStubArc
Definition: pcb_actions.h:459
static TOOL_ACTION layerInner6
Definition: pcb_actions.h:296
static TOOL_ACTION dragFreeAngle
Definition: pcb_actions.h:167
static TOOL_ACTION clearHighlight
Definition: pcb_actions.h:496
static TOOL_ACTION generateGerbers
Definition: pcb_actions.h:376
static TOOL_ACTION inspectClearance
Definition: pcb_actions.h:492
static TOOL_ACTION convertToZone
Definition: pcb_actions.h:521
static TOOL_ACTION ddImportFootprint
Definition: pcb_actions.h:529
static TOOL_ACTION unselectItems
Definition: pcb_actions.h:67
static TOOL_ACTION zoneDisplayTriangulated
Definition: pcb_actions.h:285
static TOOL_ACTION generateReportFile
Definition: pcb_actions.h:379
static TOOL_ACTION updateLocalRatsnest
Definition: pcb_actions.h:508
static TOOL_ACTION updateFootprints
Definition: pcb_actions.h:365
static TOOL_ACTION ungroup
Definition: pcb_actions.h:475
static TOOL_ACTION groupProperties
Definition: pcb_actions.h:253
static TOOL_ACTION importFootprint
Definition: pcb_actions.h:417
static TOOL_ACTION autoplaceSelectedComponents
Definition: pcb_actions.h:517
static TOOL_ACTION layerInner22
Definition: pcb_actions.h:312
static TOOL_ACTION alignBottom
Definition: pcb_actions.h:259
static TOOL_ACTION pickNewGroupMember
Definition: pcb_actions.h:254
static TOOL_ACTION selectUnconnected
Select unconnected footprints from ratsnest of selection.
Definition: pcb_actions.h:92
static TOOL_ACTION placeImportedGraphics
Definition: pcb_actions.h:191
static TOOL_ACTION layerInner5
Definition: pcb_actions.h:295
static TOOL_ACTION removeUnusedPads
Definition: pcb_actions.h:369
static TOOL_ACTION zoneDisplayFractured
Definition: pcb_actions.h:284
static TOOL_ACTION ratsnestModeCycle
Definition: pcb_actions.h:278
static TOOL_ACTION drawVia
Definition: pcb_actions.h:184
static TOOL_ACTION applyPadSettings
Copy the default pad settings to the selected pad.
Definition: pcb_actions.h:449
static TOOL_ACTION alignLeft
Definition: pcb_actions.h:260
static TOOL_ACTION drawArc
Definition: pcb_actions.h:174
static TOOL_ACTION deleteFull
Definition: pcb_actions.h:159
static TOOL_ACTION runDRC
Definition: pcb_actions.h:384
static TOOL_ACTION convertToPoly
Definition: pcb_actions.h:520
static TOOL_ACTION zoneDuplicate
Duplicate zone onto another layer.
Definition: pcb_actions.h:351
static TOOL_ACTION graphicsOutlines
Display footprint graphics as outlines.
Definition: pcb_actions.h:438
static TOOL_ACTION importNetlist
Definition: pcb_actions.h:371
static TOOL_ACTION layerInner20
Definition: pcb_actions.h:310
static TOOL_ACTION pluginsReload
Scripting Actions.
Definition: pcb_actions.h:354
static TOOL_ACTION layerInner7
Definition: pcb_actions.h:297
static TOOL_ACTION layerInner27
Definition: pcb_actions.h:317
static TOOL_ACTION moveIndividually
move items one-by-one
Definition: pcb_actions.h:113
static TOOL_ACTION changeFootprints
Definition: pcb_actions.h:367
static TOOL_ACTION drawSimilarZone
Definition: pcb_actions.h:187
static TOOL_ACTION pointEditorArcKeepEndpoint
Definition: pcb_actions.h:249
static TOOL_ACTION syncSelection
Sets selection to specified items, zooms to fit, if enabled.
Definition: pcb_actions.h:70
static TOOL_ACTION boardSetup
Definition: pcb_actions.h:358
static TOOL_ACTION showEeschema
Definition: pcb_actions.h:487
static TOOL_ACTION decWidth
Decrease width of currently drawn line.
Definition: pcb_actions.h:200
static TOOL_ACTION drawCenterDimension
Definition: pcb_actions.h:179
static TOOL_ACTION groupEnter
Definition: pcb_actions.h:477
static TOOL_ACTION zoneUnfillAll
Definition: pcb_actions.h:347
static TOOL_ACTION pasteFootprint
Definition: pcb_actions.h:416
static TOOL_ACTION zoneFillDirty
Definition: pcb_actions.h:345
static TOOL_ACTION selectItem
Select an item (specified as the event parameter).
Definition: pcb_actions.h:62
static TOOL_ACTION appendBoard
Definition: pcb_actions.h:486
static TOOL_ACTION netColorModeCycle
Definition: pcb_actions.h:277
static TOOL_ACTION selectSameSheet
Select all components on the same sheet as the selected footprint.
Definition: pcb_actions.h:101
static TOOL_ACTION layerInner1
Definition: pcb_actions.h:291
static TOOL_ACTION layerInner10
Definition: pcb_actions.h:300
static TOOL_ACTION microwaveCreateStub
Definition: pcb_actions.h:457
static TOOL_ACTION selectNet
Select all connections belonging to a single net.
Definition: pcb_actions.h:86
static TOOL_ACTION filletTracks
Fillet (i.e. adds an arc tangent to) all selected straight tracks by a user defined radius.
Definition: pcb_actions.h:145
static TOOL_ACTION distributeHorizontally
Definition: pcb_actions.h:264
static TOOL_ACTION layerInner15
Definition: pcb_actions.h:305
static TOOL_ACTION arcPosture
Switch posture when drawing arc.
Definition: pcb_actions.h:203
static TOOL_ACTION microwaveCreateLine
Definition: pcb_actions.h:463
static TOOL_ACTION footprintProperties
Definition: pcb_actions.h:420
static TOOL_ACTION layerInner17
Definition: pcb_actions.h:307
static TOOL_ACTION flipBoard
Definition: pcb_actions.h:330
static TOOL_ACTION layerBottom
Definition: pcb_actions.h:321
static TOOL_ACTION zoneDisplayOutline
Definition: pcb_actions.h:283
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: pcb_actions.h:53
static TOOL_ACTION ratsnestLineMode
Definition: pcb_actions.h:276
static TOOL_ACTION layerInner19
Definition: pcb_actions.h:309
static TOOL_ACTION layerInner9
Definition: pcb_actions.h:299
static TOOL_ACTION textOutlines
Display texts as lines.
Definition: pcb_actions.h:441
static TOOL_ACTION showPadNumbers
Definition: pcb_actions.h:287
static TOOL_ACTION checkFootprint
Definition: pcb_actions.h:423
static TOOL_ACTION filletLines
Definition: pcb_actions.h:146
static TOOL_ACTION highlightNetSelection
Definition: pcb_actions.h:500
static TOOL_ACTION microwaveCreateFunctionShape
Definition: pcb_actions.h:461
static TOOL_ACTION editLibFpInFpEditor
Definition: pcb_actions.h:387
static TOOL_ACTION zoneMerge
Definition: pcb_actions.h:348
static TOOL_ACTION duplicateFootprint
Definition: pcb_actions.h:411
static TOOL_ACTION closeOutline
Definition: pcb_actions.h:194
static TOOL_ACTION changeFootprint
Definition: pcb_actions.h:366
static TOOL_ACTION routerInlineDrag
Activation of the Push and Shove router (inline dragging mode)
Definition: pcb_actions.h:242
static TOOL_ACTION pointEditorRemoveCorner
Definition: pcb_actions.h:246
static TOOL_ACTION positionRelative
Activation of the position relative tool.
Definition: pcb_actions.h:269
static TOOL_ACTION skip
Definition: pcb_actions.h:139
static TOOL_ACTION move
move or drag an item
Definition: pcb_actions.h:110
static TOOL_ACTION mirrorV
Definition: pcb_actions.h:130
static TOOL_ACTION cutFootprint
Definition: pcb_actions.h:414
static TOOL_ACTION unlock
Definition: pcb_actions.h:471
static TOOL_ACTION syncSelectionWithNets
Sets selection to specified items with connected nets, zooms to fit, if enabled.
Definition: pcb_actions.h:73
static TOOL_ACTION layerInner30
Definition: pcb_actions.h:320
static TOOL_ACTION boardReannotate
Definition: pcb_actions.h:489
static TOOL_ACTION layerTop
Definition: pcb_actions.h:290
static TOOL_ACTION selectItems
Select a list of items (specified as the event parameter)
Definition: pcb_actions.h:66
static TOOL_ACTION cycleRouterMode
Definition: pcb_actions.h:239
static TOOL_ACTION convertToArc
Definition: pcb_actions.h:524
static TOOL_ACTION layerInner4
Definition: pcb_actions.h:294
static TOOL_ACTION repairFootprint
Definition: pcb_actions.h:491
static TOOL_ACTION flip
Flipping of selected objects.
Definition: pcb_actions.h:126
static TOOL_ACTION alignCenterX
Definition: pcb_actions.h:262
static TOOL_ACTION placeFootprint
Definition: pcb_actions.h:190
static TOOL_ACTION pointEditorAddCorner
Definition: pcb_actions.h:245
static TOOL_ACTION routeSingleTrack
Activation of the Push and Shove router.
Definition: pcb_actions.h:208
static TOOL_ACTION layerInner13
Definition: pcb_actions.h:303
static TOOL_ACTION selectpositionRelativeItem
Selection of anchor item for position relative tool.
Definition: pcb_actions.h:272
static TOOL_ACTION layerInner21
Definition: pcb_actions.h:311
static TOOL_ACTION removeFromGroup
Definition: pcb_actions.h:476
static TOOL_ACTION createArray
Tool for creating an array of objects.
Definition: pcb_actions.h:435
static TOOL_ACTION boardStatistics
Definition: pcb_actions.h:488
static TOOL_ACTION lengthTunerSettingsDialog
Definition: pcb_actions.h:233
static TOOL_ACTION deselectNet
Remove all connections belonging to a single net from the active selection.
Definition: pcb_actions.h:89
static TOOL_ACTION layerNext
Definition: pcb_actions.h:322
static TOOL_ACTION selectionMenu
Run a selection menu to select from a list of items.
Definition: pcb_actions.h:76
static TOOL_ACTION showPythonConsole
Definition: pcb_actions.h:391
static TOOL_ACTION copyFootprint
Definition: pcb_actions.h:415
static TOOL_ACTION drawLine
Definition: pcb_actions.h:170
static TOOL_ACTION placeStackup
Definition: pcb_actions.h:189
static TOOL_ACTION localRatsnestTool
Definition: pcb_actions.h:506
static TOOL_ACTION routerRouteSelected
Definition: pcb_actions.h:226
static TOOL_ACTION cleanupGraphics
Definition: pcb_actions.h:363
static TOOL_ACTION rotateCw
Rotation of selected objects.
Definition: pcb_actions.h:122
static TOOL_ACTION rotateCcw
Definition: pcb_actions.h:123
static TOOL_ACTION drawAlignedDimension
Definition: pcb_actions.h:178
static TOOL_ACTION layerInner23
Definition: pcb_actions.h:313
static TOOL_ACTION drawZone
Definition: pcb_actions.h:183
static TOOL_ACTION alignCenterY
Definition: pcb_actions.h:263
static TOOL_ACTION importSpecctraSession
Definition: pcb_actions.h:373
static TOOL_ACTION selectOnSchematic
Select symbols/pins on schematic corresponding to selected footprints/pads.
Definition: pcb_actions.h:104
static TOOL_ACTION lock
Definition: pcb_actions.h:470
static TOOL_ACTION layerInner28
Definition: pcb_actions.h:318
Represent a single user action.
Definition: tool_action.h:68
@ In22_Cu
Definition: layer_ids.h:86
@ In11_Cu
Definition: layer_ids.h:75
@ In29_Cu
Definition: layer_ids.h:93
@ In30_Cu
Definition: layer_ids.h:94
@ In17_Cu
Definition: layer_ids.h:81
@ In9_Cu
Definition: layer_ids.h:73
@ In19_Cu
Definition: layer_ids.h:83
@ In7_Cu
Definition: layer_ids.h:71
@ In28_Cu
Definition: layer_ids.h:92
@ In26_Cu
Definition: layer_ids.h:90
@ B_Cu
Definition: layer_ids.h:95
@ In21_Cu
Definition: layer_ids.h:85
@ In23_Cu
Definition: layer_ids.h:87
@ In15_Cu
Definition: layer_ids.h:79
@ In2_Cu
Definition: layer_ids.h:66
@ In10_Cu
Definition: layer_ids.h:74
@ In4_Cu
Definition: layer_ids.h:68
@ In16_Cu
Definition: layer_ids.h:80
@ In24_Cu
Definition: layer_ids.h:88
@ In1_Cu
Definition: layer_ids.h:65
@ In13_Cu
Definition: layer_ids.h:77
@ In8_Cu
Definition: layer_ids.h:72
@ In14_Cu
Definition: layer_ids.h:78
@ In12_Cu
Definition: layer_ids.h:76
@ In27_Cu
Definition: layer_ids.h:91
@ In6_Cu
Definition: layer_ids.h:70
@ In5_Cu
Definition: layer_ids.h:69
@ In3_Cu
Definition: layer_ids.h:67
@ In20_Cu
Definition: layer_ids.h:84
@ F_Cu
Definition: layer_ids.h:64
@ In18_Cu
Definition: layer_ids.h:82
@ In25_Cu
Definition: layer_ids.h:89
@ RM_MarkObstacles
Ignore collisions, mark obstacles.
@ RM_Walkaround
Only walk around.
@ RM_Shove
Only shove.
@ PNS_MODE_ROUTE_SINGLE
Definition: pns_router.h:63
@ PNS_MODE_ROUTE_DIFF_PAIR
Definition: pns_router.h:64
@ PNS_MODE_TUNE_DIFF_PAIR
Definition: pns_router.h:66
@ PNS_MODE_TUNE_SINGLE
Definition: pns_router.h:65
@ PNS_MODE_TUNE_DIFF_PAIR_SKEW
Definition: pns_router.h:67
#define _(s)
Definition: pcb_actions.cpp:41
@ SIMILAR
Add a new zone with the same settings as an existing one.
@ CUTOUT
Make a cutout to an existing zone.
@ ADD
Add a new zone/keepout with fresh settings.
@ AS_GLOBAL
Global action (toolbar/main menu event, global shortcut)
Definition: tool_action.h:45
@ AS_CONTEXT
Action belongs to a particular tool (i.e. a part of a pop-up menu)
Definition: tool_action.h:43
@ AF_ACTIVATE
Action activates a tool.
Definition: tool_action.h:52
@ AF_NOTIFY
Action is a notification (it is by default passed to all tools)
Definition: tool_action.h:53
@ AF_NONE
Definition: tool_action.h:51
@ MD_ALT
Definition: tool_event.h:140
@ MD_CTRL
Definition: tool_event.h:139
@ MD_SHIFT
Definition: tool_event.h:138