Std Workbench/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{UnfinishedDocu}}
<div class="mw-translate-fuzzy">
{{Docnav/ru
|[[Std_RandomColor/ru|Команда "Случайный цвет"]]
|[[Std_TreeSyncView/ru|Опция "Синхронизировать вид"]]
|[[Std_View_Menu/ru|Меню "Вид"]]
|IconL=Std_RandomColor.svg
|IconR=Std_TreeSyncView.svg
|IconC=Freecad.svg
}}
</div>

<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
<!--Empty=1 to suppress icon-->
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Std Workbench
|Name=Std Workbench
|Name/ru=Std Workbench
|Name/ru=Std Workbench
|Empty=1
|MenuLocation=[[Std View Menu/ru|Вид]] → Верстак
|MenuLocation={{StdMenu|[[Std View Menu/ru|Вид]]}} → Верстак
|Workbenches=All
|Workbenches=[[Workbenches/ru|Верстаки]]
|Shortcut=...
|SeeAlso=...
|SeeAlso=
}}
}}
</div>
</div>


== Description ==
<span id="Description"></span>
==Описание==


The '''Std Workbench''' command activates a selected [[Workbenches|workbench]] including its graphical user interface (GUI).
This command (AKA the '''Workbench Toolbar''', '''Workbench Selector''', and the '''Workbench Dropdown''' menu) is used to activate the Graphical User Interface ('''GUI''') and switch to the the tools of any of the available [[Workbenches]] in FreeCAD.


[[File:FreeCAD_interface_base_divisions.png|800px]]
[[Image:FreeCAD_interface_base_divisions.svg|800px]]
{{Caption|Workbench Dropdown indicated by number 9 in the stardard [[interface]]}}
{{Caption|The Workbench dropdown list indicated by number 10 in the standard [[interface|interface]]}}


<span id="Usage"></span>
==Notes==
==Применение==


# There are several ways to invoke the command:
* There are also two special options available: '''None''' (no workbench) and the [[Complete_Workbench|Complete]] Workbench {{Obsolete|0.17}}
#* Select a workbench from the '''Workbench dropdown list''' in the Workbench toolbar. This option is not available if the current workbench is {{incode|<none>}} (no workbench).
* Additional [[External Workbenches]] can be downloaded using the [[Image:AddonManager.svg|24px]] [[Addon Manager]] and will display in this dropdown menu as well.
#* Select a workbench from the {{MenuCommand|View → Workbench}} sub-menu.


<span id="Notes"></span>
== Usage ==
==Примечания==


* Additional [[External_Workbenches|External Workbenches]] can be downloaded with the [[Image:Std_AddonMgr.svg|24px]] [[Std_AddonMgr|Addon Manager]].
Often the project starts in a workbench, for example with '''Sketch''', then continues in a different workbench, for example with '''Part''', to create objects.
You can switch from the current workbench to a new one with one of the following ways:


<span id="Preferences"></span>
=== From the View menu ===
==Настройки==
* In the top menu, open the {{MenuCommand|{{StdMenu|[[Std View Menu|View]]}} → Workbench}} menu and select a workbench. '''Note:''' This menu is always available, even when you have previously selected the '''Complete'''{{Obsolete|0.17}} or '''None''' workbench.


* The start up workbench can be changed in the preferences: {{MenuCommand|Edit → Preferences... → General → General → Start up}}. See [[Preferences_Editor#General|Preferences Editor]].
=== From the drop-down menu ===
* In the toolbar, open the drop-down menu and select a workbench. '''Note:''' This menu is '''not''' available when you have previously selected the '''Complete'''{{Obsolete|0.17}} or '''None''' workbench.


<span id="Scripting"></span>
=== Via Python console ===
==Программирование==


{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].
* Type the command in the Python console, for example: to invoke the Draft workbench type:
:{{incode|Gui.activateWorkbench ("DraftWorkbench")}}


To change the worbench use the {{incode|activateWorkbench}} method of the FreeCADGui module. This method is not available if FreeCAD is in console mode.
== Examples ==


{{Code|code=
[[Image: WorkbenchStd1.png]]
import FreeCADGui


FreeCADGui.activateWorkbench("PartDesignWorkbench")
{{Caption|Using the the Workbench drop-down menu}}
}}


[[Image: WorkbenchStd2.png]]


<div class="mw-translate-fuzzy">
{{Caption|Invoking a different workbench using the Python console}}
{{Docnav/ru

|[[Std_RandomColor/ru|Команда "Случайный цвет"]]
[[Image: WorkbenchStd3.png]]
|[[Std_TreeSyncView/ru|Опция "Синхронизировать вид"]]

|[[Std_View_Menu/ru|Меню "Вид"]]
{{Caption|'''Tip:''' If the Python console is open you will see that FreeCAD records the actions it executes in python code. Theoretically, the user can change something in the interface and see the comparable python code generated. This is a very useful way to learn python, FreeCAD, and how to automate redundant tasks (see [[Macros]] for more details).}}
|IconL=Std_RandomColor.svg

|IconR=Std_TreeSyncView.svg
== Other references ==
|IconC=Freecad.svg
For a general description of the workbenches, see the page [[Workbenches| Workbenches]].
}}

</div>
{{Std Base}}

{{Interface}}

{{Userdocnavi}}


{{Std Base navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}
{{Interface navi{{#translation:}}}}

Latest revision as of 19:48, 9 October 2023

Std Workbench

Системное название
Std Workbench
Расположение в меню
Вид → Верстак
Верстаки
Верстаки
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Нет

Описание

The Std Workbench command activates a selected workbench including its graphical user interface (GUI).

The Workbench dropdown list indicated by number 10 in the standard interface

Применение

  1. There are several ways to invoke the command:
    • Select a workbench from the Workbench dropdown list in the Workbench toolbar. This option is not available if the current workbench is <none> (no workbench).
    • Select a workbench from the View → Workbench sub-menu.

Примечания

Настройки

  • The start up workbench can be changed in the preferences: Edit → Preferences... → General → General → Start up. See Preferences Editor.

Программирование

Смотрите так же: Основы составления скриптов в FreeCAD.

To change the worbench use the activateWorkbench method of the FreeCADGui module. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.activateWorkbench("PartDesignWorkbench")