Std Workbench: Difference between revisions

From FreeCAD Documentation
(Translation from french/italian version)
mNo edit summary
(45 intermediate revisions by 5 users not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
<!--T:31-->
{{Docnav
{{Template:UnfinishedDocu}}
|[[Std_RandomColor|RandomColor]]
|[[Std_TreeSyncView|TreeSyncView]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_RandomColor.svg
|IconR=Std_TreeSyncView.svg
|IconC=Freecad.svg
}}


<!--T:2-->
<!--T:2-->
<!--Empty=1 to suppress icon-->
{{GuiCommand|Name=Std Workbench|Name=View|MenuLocation=[[Std View Menu|View]] → Workbench|Workbenches=All|Shortcut=...|SeeAlso=...}}
{{GuiCommand
|Name=Std Workbench
|Empty=1
|MenuLocation=View → Workbench
|Workbenches=[[Workbenches|Workbenches]]
|SeeAlso=
}}


== Description ==
==Description== <!--T:5-->
This command is used to activate the graphical user interface (GUI) and the tools of a specific workbench.


<!--T:6-->
It is possible to execute it in three different ways:
The '''Std Workbench''' command activates a selected [[Workbenches|workbench]] including its graphical user interface (GUI).
* the '''View''' menu,
* the drop-down menu, or,
* a Python command.


<!--T:26-->
There are also two special options available: '''None''' (no workbench) and '''Complete'''[deprecated] (all workbenches at the same time).
[[Image:FreeCAD_interface_base_divisions.svg|800px]]
{{Caption|The Workbench dropdown list indicated by number 10 in the standard [[interface|interface]]}}


<!--T:3-->
==Usage== <!--T:3-->
== Usage ==
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:


<!--T:9-->
=== From the View menu ===
# There are several ways to invoke the command:
* In the top menu, open the {{Button|'''View'''}} → {{Button|'''Workbench'''}} menu and select a workbench. This menu is always available, even when you have previously selected the '''Complete''' or '''None''' workbench.
#* 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).
#* Select a workbench from the {{MenuCommand|View → Workbench}} sub-menu.


==Notes== <!--T:8-->
=== From the drop-down menu ===
* In the top menu, open the drop-down menu and select a workbench. This menu is not available when you have previously selected the '''Complete''' or '''None''' workbench.


<!--T:27-->
=== Via Python console ===
* Additional [[External_Workbenches|External Workbenches]] can be downloaded with the [[Image:AddonManager.svg|24px]] [[Addon_Manager|Addon Manager]].


==Preferences== <!--T:32-->
* Type the command in the console, for example: '''Gui.activateWorkbench ("DraftWorkbench")''' start the workbench '''Draft'''. Always possible.


<!--T:33-->
== Examples ==
* The start up workbench can be changed in the preferences: {{MenuCommand|Edit → Preferences... → General → General → Start up}}. See [[Preferences_Editor#General|Preferences Editor]].
Start from the drop-down menu:


==Scripting== <!--T:34-->
[[Image: WorkbenchStd1.png|left]]
{{Clear}}


<!--T:35-->
Starting from the Python console:
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:36-->
[[Image: WorkbenchStd2.png|left]]
To change the worbench use the {{incode|activateWorkbench}} method of the FreeCADGui module. This method is not available if FreeCAD is in console mode.
{{Clear}}


</translate>
Through the console the command can also be copied:
{{Code|code=
import FreeCADGui


FreeCADGui.activateWorkbench("PartDesignWorkbench")
[[Image: WorkbenchStd3.png|left]]
{{Clear}}
}}
<translate>


== Other references ==
For a general description of the workbenches, see the page [[Workbenches| Workbenches]].


<!--T:37-->
To learn more about each workbench, consult the respective presentation pages.
{{Docnav
* <None>
|[[Std_RandomColor|RandomColor]]
* [[Image: Arch.png | 16px]] [[Arch Module|Arch Module]]
|[[Std_TreeSyncView|TreeSyncView]]
* [[Image: Workbench_Assembly.png | 16px]] [[Assembly_project|Assembly project]]
|[[Std_View_Menu|Std View Menu]]
* [[Image: Workbench_Complete.svg | 16px]] [[Complete Workbench|Complete]] (deprecated)
|IconL=Std_RandomColor.svg
* [[Image: Workbench_Draft.png | 16px]] [[Draft Module|Draft Module]]
|IconR=Std_TreeSyncView.svg
* [[Image: Workbench_Drawing.png | 16px]] [[Drawing Module|Drawing Module]] (transition to [[TechDraw Module|TechDraw Module]] in v0.17)
|IconC=Freecad.svg
* [[Image: Workbench_FEM.png | 16px]] [[FEM_project|FEM]]
}}
* [[Image: Workbench_Image.png | 16px]] [[Image Module|Image Module]]
* [[Image: Workbench_Inspection.png | 16px]] [[Inspection Workbench|Inspection Workbench]]
* Machining Distortion (?)
* [[Image: Workbench_Mesh.png | 16px]] [[Mesh Module|Mesh Workbench]]
* [[Image: Workbench_OpenSCAD.png | 16px]] [[OpenSCAD_Module|OpenSCAD Module]]
* [[Image: Workbench_Part.png | 16px]] [[Part Module|Part Module]]
* [[Image: Workbench_PartDesign.png | 16px]] [[PartDesign Workbench|PartDesign Workbench]]
* [[Image: Plot_Save.png | 16px]] [[Plot_Module|Plot Module]]
* [[Image: Workbench_Points.png | 16px]] [[Points_Module|Points Module]]
* [[Image: Workbench_Raytracing.png | 16px]] [[Raytracing Module|Raytracing Module]]
* [[Reverse Engineering Workbench|Reverse Engineering Workbench]]
* [[Image: Workbench_Robot.png | 16px]] [[Robot Module|Robot Workbench]]
* [[Image: FreeCAD-Ship-Ico.png | 16px]] [[FreeCADShip_Workbench|Ship Workbench]]
* [[Image: Workbench_Sketcher.png | 16px]] [[Sketcher Workbench|Sketcher Workbench]]
* [[Image: Workbench_Start.svg | 16px]] [[Start Workbench|Start Workbench]]
* [[Image: Workbench_Test.png | 16px]] [[Testing|Testing]]
* [[Main_Page|Main Page]]


</translate>
</translate>
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Interface navi{{#translation:}}}}
{{clear}}
{{clear}}

Revision as of 14:57, 6 January 2021

Std Workbench

Menu location
View → Workbench
Workbenches
Workbenches
Default shortcut
None
Introduced in version
-
See also
None

Description

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

Usage

  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.

Notes

Preferences

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

Scripting

See also: FreeCAD Scripting Basics.

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")