2020-03-18 22:48:36 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017 Jon Evans <jon@craftyjon.com>
|
|
|
|
* Copyright (C) 2017-2020 KiCad Developers, see AUTHORS.txt for contributors.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <tool/tool_manager.h>
|
|
|
|
#include <bitmaps.h>
|
|
|
|
#include <3d_viewer_id.h>
|
|
|
|
#include <3d_enums.h>
|
2021-06-19 17:28:45 +00:00
|
|
|
#include "eda_3d_actions.h"
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
// Actions, being statically-defined, require specialized I18N handling. We continue to
|
|
|
|
// use the _() macro so that string harvesting by the I18N framework doesn't have to be
|
|
|
|
// specialized, but we don't translate on initialization and instead do it in the getters.
|
|
|
|
|
|
|
|
#undef _
|
|
|
|
#define _(s) s
|
|
|
|
|
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::controlActivate( "3DViewer.Control", AS_GLOBAL,
|
|
|
|
0, "", "", "",
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_ACTIVATE ); // No description, it is not supposed to be shown anywhere
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::pivotCenter( "3DViewer.Control.pivotCenter",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
' ', "",
|
2020-03-21 01:29:06 +00:00
|
|
|
_( "Center pivot rotation" ), _( "Center pivot rotation (middle mouse click)" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) WXK_SPACE );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::rotateXCW( "3DViewer.Control.rotateXclockwise",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_GLOBAL, 0, "",
|
2020-03-18 22:48:36 +00:00
|
|
|
_( "Rotate X Clockwise" ), _( "Rotate X Clockwise" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::rotate_cw_x, AF_NONE, (void*) ROTATION_DIR::X_CW );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::rotateXCCW( "3DViewer.Control.rotateXcounterclockwise",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_GLOBAL, 0, "",
|
2020-03-18 22:48:36 +00:00
|
|
|
_( "Rotate X Counterclockwise" ), _( "Rotate X Counterclockwise" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::rotate_ccw_x, AF_NONE, (void*) ROTATION_DIR::X_CCW );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::rotateYCW( "3DViewer.Control.rotateYclockwise",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_GLOBAL, 0, "",
|
2020-03-18 22:48:36 +00:00
|
|
|
_( "Rotate Y Clockwise" ), _( "Rotate Y Clockwise" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::rotate_cw_y, AF_NONE, (void*) ROTATION_DIR::Y_CW );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::rotateYCCW( "3DViewer.Control.rotateYcounterclockwise",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_GLOBAL, 0, "",
|
2020-03-18 22:48:36 +00:00
|
|
|
_( "Rotate Y Counterclockwise" ), _( "Rotate Y Counterclockwise" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::rotate_ccw_y, AF_NONE, (void*) ROTATION_DIR::Y_CCW );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::rotateZCW( "3DViewer.Control.rotateZclockwise",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_GLOBAL, 0, "",
|
2020-03-18 22:48:36 +00:00
|
|
|
_( "Rotate Z Clockwise" ), _( "Rotate Z Clockwise" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::rotate_cw_z, AF_NONE, (void*) ROTATION_DIR::Z_CW );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::rotateZCCW( "3DViewer.Control.rotateZcounterclockwise",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_GLOBAL, 0, "",
|
2020-03-18 22:48:36 +00:00
|
|
|
_( "Rotate Z Counterclockwise" ), _( "Rotate Z Counterclockwise" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::rotate_ccw_z, AF_NONE, (void*) ROTATION_DIR::Z_CCW );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::moveLeft( "3DViewer.Control.moveLeft",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
WXK_LEFT, "",
|
|
|
|
_( "Move board Left" ), _( "Move board Left" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::left, AF_NONE, (void*) CURSOR_LEFT );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::moveRight( "3DViewer.Control.moveRight",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
WXK_RIGHT, "",
|
|
|
|
_( "Move board Right" ), _( "Move board Right" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::right, AF_NONE, (void*) CURSOR_RIGHT );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::moveUp( "3DViewer.Control.moveUp",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
WXK_UP, "",
|
|
|
|
_( "Move board Up" ), _( "Move board Up" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::up, AF_NONE, (void*) CURSOR_UP );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::moveDown( "3DViewer.Control.moveDown",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
WXK_DOWN, "",
|
|
|
|
_( "Move board Down" ), _( "Move board Down" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::down, AF_NONE, (void*) CURSOR_DOWN );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::homeView( "3DViewer.Control.homeView",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
WXK_HOME, "",
|
2020-03-21 01:29:06 +00:00
|
|
|
_( "Home view" ), _( "Home view" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) WXK_HOME );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::resetView( "3DViewer.Control.resetView",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
'R', "",
|
2020-03-21 01:29:06 +00:00
|
|
|
_( "Reset view" ), _( "Reset view" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) ID_VIEW3D_RESET );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
2020-06-08 21:35:40 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::flipView( "3DViewer.Control.flipView",
|
|
|
|
AS_ACTIVE,
|
2022-09-02 09:30:06 +00:00
|
|
|
'F', "",
|
2020-06-08 21:35:40 +00:00
|
|
|
_( "Flip Board" ), _( "Flip the board view" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::flip_board, AF_NONE, (void*) ID_VIEW3D_FLIP );
|
2020-06-08 21:35:40 +00:00
|
|
|
|
2020-03-18 22:48:36 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleOrtho( "3DViewer.Control.toggleOrtho",
|
|
|
|
AS_GLOBAL, 0, "",
|
|
|
|
_( "Toggle orthographic projection" ), _( "Enable/disable orthographic projection" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::ortho );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::viewFront( "3DViewer.Control.viewFront",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
'Y', "",
|
|
|
|
_( "View Front" ), _( "View Front" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::axis3d_front, AF_NONE, (void*) ID_VIEW3D_FRONT );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::viewBack( "3DViewer.Control.viewBack",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
MD_SHIFT + 'Y', "",
|
|
|
|
_( "View Back" ), _( "View Back" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::axis3d_back, AF_NONE, (void*) ID_VIEW3D_BACK );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::viewLeft( "3DViewer.Control.viewLeft",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
MD_SHIFT + 'X', "",
|
|
|
|
_( "View Left" ), _( "View Left" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::axis3d_left, AF_NONE, (void*) ID_VIEW3D_LEFT );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::viewRight( "3DViewer.Control.viewRight",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
'X', "",
|
|
|
|
_( "View Right" ), _( "View Right" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::axis3d_right, AF_NONE, (void*) ID_VIEW3D_RIGHT );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::viewTop( "3DViewer.Control.viewTop",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
'Z', "",
|
|
|
|
_( "View Top" ), _( "View Top" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::axis3d_top, AF_NONE, (void*) ID_VIEW3D_TOP );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::viewBottom( "3DViewer.Control.viewBottom",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
MD_SHIFT + 'Z', "",
|
|
|
|
_( "View Bottom" ), _( "View Bottom" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::axis3d_bottom, AF_NONE, (void*) ID_VIEW3D_BOTTOM );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::noGrid( "3DViewer.Control.noGrid",
|
|
|
|
AS_GLOBAL, 0, "",
|
|
|
|
_( "No 3D Grid" ), _( "No 3D Grid" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) GRID3D_TYPE::NONE );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::show10mmGrid( "3DViewer.Control.show10mmGrid",
|
|
|
|
AS_GLOBAL, 0, "",
|
|
|
|
_( "3D Grid 10mm" ), _( "3D Grid 10mm" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) GRID3D_TYPE::GRID_10MM );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::show5mmGrid( "3DViewer.Control.show5mmGrid",
|
|
|
|
AS_GLOBAL, 0, "",
|
|
|
|
_( "3D Grid 5mm" ), _( "3D Grid 5mm" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) GRID3D_TYPE::GRID_5MM );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::show2_5mmGrid( "3DViewer.Control.show2_5mmGrid",
|
|
|
|
AS_GLOBAL, 0, "",
|
|
|
|
_( "3D Grid 2.5mm" ), _( "3D Grid 2.5mm" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) GRID3D_TYPE::GRID_2P5MM );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::show1mmGrid( "3DViewer.Control.show1mmGrid",
|
|
|
|
AS_GLOBAL, 0, "",
|
|
|
|
_( "3D Grid 1mm" ), _( "3D Grid 1mm" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) GRID3D_TYPE::GRID_1MM );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
2020-07-27 23:16:21 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::materialNormal( "3DViewer.Control.materialNormal",
|
|
|
|
AS_ACTIVE,
|
|
|
|
0, "",
|
2021-06-12 22:00:52 +00:00
|
|
|
_( "Render Realistic Materials" ),
|
|
|
|
_( "Use all material properties from each 3D model file" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) MATERIAL_MODE::NORMAL );
|
2020-07-27 23:16:21 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::materialDiffuse( "3DViewer.Control.materialDiffuse",
|
|
|
|
AS_ACTIVE,
|
|
|
|
0, "",
|
2021-06-12 22:00:52 +00:00
|
|
|
_( "Render Solid Colors" ),
|
2023-02-14 21:44:49 +00:00
|
|
|
_( "Use only the diffuse color property from 3D model file" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) MATERIAL_MODE::DIFFUSE_ONLY );
|
2020-07-27 23:16:21 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::materialCAD( "3DViewer.Control.materialCAD",
|
|
|
|
AS_ACTIVE,
|
|
|
|
0, "",
|
2021-06-12 22:00:52 +00:00
|
|
|
_( "Render CAD Colors" ),
|
|
|
|
_( "Use a CAD color style based on the diffuse color of the material" ),
|
2021-03-08 02:59:07 +00:00
|
|
|
BITMAPS::INVALID_BITMAP, AF_NONE, (void*) MATERIAL_MODE::CAD_MODE );
|
2020-07-27 23:16:21 +00:00
|
|
|
|
2021-08-05 12:03:59 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::showTHT( "3DViewer.Control.attributesTHT",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
'T', "",
|
2022-02-04 20:21:07 +00:00
|
|
|
_( "Toggle Through Hole 3D models" ),
|
|
|
|
_( "Toggle 3D models for 'Through hole' type components" ),
|
2021-08-30 20:30:18 +00:00
|
|
|
BITMAPS::show_tht, AF_NONE );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
2021-08-05 12:03:59 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::showSMD( "3DViewer.Control.attributesSMD",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
'S', "",
|
2022-02-04 20:21:07 +00:00
|
|
|
_( "Toggle SMD 3D models" ),
|
|
|
|
_( "Toggle 3D models for 'Surface mount' type components" ),
|
2021-08-30 20:30:18 +00:00
|
|
|
BITMAPS::show_smt, AF_NONE );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
2021-08-21 17:06:42 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::showVirtual( "3DViewer.Control.attributesOther",
|
2020-03-20 20:35:05 +00:00
|
|
|
AS_ACTIVE,
|
2020-03-18 22:48:36 +00:00
|
|
|
'V', "",
|
2022-09-27 16:32:48 +00:00
|
|
|
_( "Toggle unspecified 3D models" ), _( "Toggle 3D models for 'unspecified' type components" ),
|
2021-08-30 20:30:18 +00:00
|
|
|
BITMAPS::show_other, AF_NONE );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
2022-09-24 09:25:02 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::showNotInPosFile( "3DViewer.Control.attribute_not_in_posfile",
|
|
|
|
AS_ACTIVE,
|
|
|
|
'P', "",
|
|
|
|
_( "Toggle 3D models not in pos file" ), _( "Toggle 3D models not in pos file" ),
|
|
|
|
BITMAPS::show_not_in_posfile, AF_NONE );
|
|
|
|
|
2023-04-10 17:10:42 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::showDNP( "3DViewer.Control.attribute_dnp",
|
|
|
|
AS_ACTIVE,
|
|
|
|
'D', "",
|
|
|
|
_( "Toggle 3D models marked DNP" ), _( "Toggle 3D models for components marked 'Do Not Place'" ),
|
|
|
|
BITMAPS::show_dnp, AF_NONE );
|
|
|
|
|
2021-08-05 12:03:59 +00:00
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::showBBoxes( "3DViewer.Control.showBoundingBoxes",
|
2020-03-18 22:48:36 +00:00
|
|
|
AS_GLOBAL, 0, "",
|
|
|
|
_( "Show Model Bounding Boxes" ), _( "Show Model Bounding Boxes" ),
|
2021-08-30 20:30:18 +00:00
|
|
|
BITMAPS::ortho, AF_NONE );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleRealisticMode( "3DViewer.Control.toggleRealisticMode",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle realistic mode" ), _( "Toggle realistic mode" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleBoardBody( "3DViewer.Control.toggleBoardBody",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle board body display" ), _( "Toggle board body display" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::showAxis( "3DViewer.Control.showAxis",
|
|
|
|
AS_GLOBAL, 0, "",
|
|
|
|
_( "Show 3D Axis" ), _( "Show 3D Axis" ),
|
2021-08-30 20:30:18 +00:00
|
|
|
BITMAPS::axis3d_front, AF_NONE );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleZones( "3DViewer.Control.toggleZones",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle zone display" ), _( "Toggle zone display" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleAdhesive( "3DViewer.Control.toggleAdhesive",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle adhesive display" ), _( "Toggle display of adhesive layers" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleSilk( "3DViewer.Control.toggleSilk",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle silkscreen display" ), _( "Toggle display of silkscreen layers" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleSolderMask( "3DViewer.Control.toggleSolderMask",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle solder mask display" ), _( "Toggle display of solder mask layers" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleSolderPaste( "3DViewer.Control.toggleSolderPaste",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle solder paste display" ), _( "Toggle display of solder paste layers" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleComments( "3DViewer.Control.toggleComments",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle comments display" ), _( "Toggle display of comments and drawings layers" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EDA_3D_ACTIONS::toggleECO( "3DViewer.Control.toggleECO",
|
|
|
|
AS_GLOBAL, 0, "",
|
2021-08-30 20:30:18 +00:00
|
|
|
_( "Toggle ECO display" ), _( "Toggle display of ECO layers" ) );
|
2020-03-18 22:48:36 +00:00
|
|
|
|