Add "Collect And Embed 3D Models" to Tools menu.

This commit is contained in:
Alex Shvartzkop
2026-01-12 15:17:25 +05:00
parent 20b7d49c81
commit 0fdbc5ea48
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -425,6 +425,9 @@ void PCB_EDIT_FRAME::doReCreateMenuBar()
toolsMenu->Add( PCB_ACTIONS::cleanupGraphics );
toolsMenu->Add( PCB_ACTIONS::repairBoard );
toolsMenu->AppendSeparator();
toolsMenu->Add( PCB_ACTIONS::collect3DModels );
toolsMenu->AppendSeparator();
toolsMenu->Add( PCB_ACTIONS::boardReannotate );
update = toolsMenu->Add( ACTIONS::updateSchematicFromPcb );
+2 -1
View File
@@ -1077,7 +1077,8 @@ TOOL_ACTION PCB_ACTIONS::collect3DModels( TOOL_ACTION_ARGS()
.Name( "pcbnew.EditorControl.collect3DModels" )
.Scope( AS_GLOBAL )
.FriendlyName( _( "Collect And Embed 3D Models" ) )
.Tooltip( _( "Collect footprint 3D models and embed them into the board" ) ) );
.Tooltip( _( "Collect footprint 3D models and embed them into the board" ) )
.Icon( BITMAPS::import3d ) );
// Track & via size control
TOOL_ACTION PCB_ACTIONS::trackWidthInc( TOOL_ACTION_ARGS()