Std SelBoundingBox/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Std_DrawStyle/ru|Std DrawStyle]]
|[[Std_DrawStyle/ru|Меню "Стиль представления"]]
|[[Std_ViewIvStereoRedGreen/ru|Std ViewIvStereoRedGreen]]
|[[Std_ViewIvStereoRedGreen/ru|Команда "Стерео красный/голубой"]]
|[[Std_View_Menu/ru|Std View Menu]]
|[[Std_View_Menu/ru|Меню "Вид"]]
|IconL=Std_DrawStyle.svg
|IconL=Std_DrawStyle.svg
|IconR=Std_ViewIvStereoRedGreen.svg
|IconR=Std_ViewIvStereoRedGreen.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Std SelBoundingBox
|Name/ru=Габариты
|Name/ru=Std SelBoundingBox
|Name=Std_SelBoundingBox
|MenuLocation=Вид → Bounding box
|MenuLocation=Вид → Габариты
|Workbenches=All
|Workbenches=Все
|Version=0.19
|SeeAlso=[[Std_DrawStyle/ru|Std DrawStyle]]
|SeeAlso=[[Std_DrawStyle/ru|Стиль представления]]
}}
}}
</div>


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


The '''Std SelBoundingBox''' command toggles the global bounding box highlighting mode. If this mode is switched on, selected objects are marked in a [[3D_view|3D view]] with a highlighted bounding box even if their {{PropertyView|Selection Style}} is set to 'Shape'.
The '''Std SelBoundingBox''' command toggles the global bounding box highlighting mode. If this mode is switched on, selected objects are marked in a [[3D_view|3D view]] with a highlighted bounding box even if their {{PropertyView|Selection Style}} is set to 'Shape'.


<span id="Usage"></span>
==Использование==
==Применение==


# There are several ways to invoke the command:
# There are several ways to invoke the command:
Line 32: Line 31:
#* Select the {{MenuCommand|View → [[Image:Std_SelBoundingBox.svg|16px]] Bounding box}} option from the menu.
#* Select the {{MenuCommand|View → [[Image:Std_SelBoundingBox.svg|16px]] Bounding box}} option from the menu.


<span id="Preferences"></span>
==Настройки==
==Настройки==


The related setting is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → View → ShowSelectionBoundingBox}}. It is a boolean value, the default is {{FALSE}}.
The related setting is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → View → ShowSelectionBoundingBox}}. It is a boolean value, the default is {{FALSE}}.


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


{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].
{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].
Line 54: Line 55:
}}
}}



<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Std_DrawStyle/ru|Std DrawStyle]]
|[[Std_DrawStyle/ru|Меню "Стиль представления"]]
|[[Std_ViewIvStereoRedGreen/ru|Std ViewIvStereoRedGreen]]
|[[Std_ViewIvStereoRedGreen/ru|Команда "Стерео красный/голубой"]]
|[[Std_View_Menu/ru|Std View Menu]]
|[[Std_View_Menu/ru|Меню "Вид"]]
|IconL=Std_DrawStyle.svg
|IconL=Std_DrawStyle.svg
|IconR=Std_ViewIvStereoRedGreen.svg
|IconR=Std_ViewIvStereoRedGreen.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}
</div>


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

Latest revision as of 16:09, 5 March 2023

Other languages:

Габариты

Системное название
Std_SelBoundingBox
Расположение в меню
Вид → Габариты
Верстаки
Все
Быстрые клавиши
Нет
Представлено в версии
0.19
См. также
Стиль представления

Описание

The Std SelBoundingBox command toggles the global bounding box highlighting mode. If this mode is switched on, selected objects are marked in a 3D view with a highlighted bounding box even if their ВидSelection Style is set to 'Shape'.

Применение

  1. There are several ways to invoke the command:
    • Press the Std SelBoundingBox button.
    • Select the View → Bounding box option from the menu.

Настройки

The related setting is stored: Tools → Edit parameters... → BaseApp → Preferences → View → ShowSelectionBoundingBox. It is a boolean value, the default is false.

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

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

To change the ShowSelectionBoundingBox setting use the SetBool method of the appropriate ParameterGrp. The code sample does not work if FreeCAD is in console mode.

import FreeCAD, FreeCADGui

grp = FreeCAD.ParamGet('User parameter:BaseApp/Preferences/View')
if grp.GetBool('ShowSelectionBoundingBox'):
  grp.SetBool('ShowSelectionBoundingBox',False)
else:
  grp.SetBool('ShowSelectionBoundingBox',True)

FreeCADGui.updateCommands()