Navigation Cube/ru: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 77: | Line 77: | ||
# Right-click the panel on the right and select {{MenuCommand|New unsigned item}} from the context menu. |
# Right-click the panel on the right and select {{MenuCommand|New unsigned item}} from the context menu. |
||
# Enter the name of one of these colors: |
# Enter the name of one of these colors: |
||
#* {{MenuCommand|BorderColor}}: the lines separating the cube faces, default is {{Value| |
#* {{MenuCommand|BorderColor}}: the lines separating the cube faces, default is {{Value|842150655}} (hex: {{Value|323232ff}}). |
||
#* {{MenuCommand|ButtonColor}}: all elements around the cube, default is {{Value| |
#* {{MenuCommand|ButtonColor}}: all elements around the cube, default is {{Value|3806916480}} (hex: {{Value|e2e9ef80}}). |
||
#* {{MenuCommand|FrontColor}}: all cube faces, default is {{Value| |
#* {{MenuCommand|FrontColor}}: all cube faces, default is {{Value|3806916544}} (hex: {{Value|e2e9efc0}}). |
||
#* {{MenuCommand|HiliteColor}}: the cube or arrow face that is currently highlighted, default is {{Value| |
#* {{MenuCommand|HiliteColor}}: the cube or arrow face that is currently highlighted, default is {{Value|2867003391}} (hex: {{Value|aae2ffff}}). |
||
#* {{MenuCommand|TextColor}}: the text on the cube faces, default is {{Value| |
#* {{MenuCommand|TextColor}}: the text on the cube faces, default is {{Value|255}} (hex: {{Value|000000ff}}). |
||
# The color value must be entered as a 32-bit unsigned integer. Translated to the hexadecimal format this integer has the form {{Value| |
# The color value must be entered as a 32-bit unsigned integer. Translated to the hexadecimal format this integer has the form {{Value|RRGGBBAA}}. Where {{Value|AA}} stands for the alpha channel (a measure for the transparency), and the other three digit pairs stand for red, green and blue. To convert a hexadecimal value to an unsigned integer you can use the [[Python_console|Python console]], enter for example {{Incode|int("323232ff", 16)}}, or an online service such as [https://cryptii.com/pipes/integer-encoder this one]. |
||
# Optionally set more colors. |
# Optionally set more colors. |
||
# Press the {{Button|Close}} button. |
# Press the {{Button|Close}} button. |
Revision as of 13:57, 26 February 2023
Introduction
Кубический элемент управления навигацией, или «куб навигации», представляет собой графический интерфейс пользовательского интерфейса для переориентации трехмерного вида. Он виден по умолчанию и находится в верхнем правом углу дисплея.Если вы смотрите на стандартный трёхмерный вид, он выглядит следующим образом:
Навигационный куб состоит из нескольких частей:
- Стрелки направлений
- Главный навигационный куб
- Меню мини-куба
All parts, except the axis indicators, can be clicked.
Usage
Main cube
The main cube has 26 faces: 6 main faces, 12 rectangular edge faces (introduced in version 0.20), and 8 corner faces. Clicking any of them will reorient the camera so that its direction is perpendicular to the selected face.
Стрелки направлений
Есть шесть стрелок-указателей: четыре треугольные стрелки, одна сверху, снизу, слева и справа; и две изогнутые стрелки, по одной с каждой стороны от верхней стрелки.
Reverse view button
Clicking the round button in the top right corner of the Navigation Cube will rotate the 3D view 180 degrees around the vertical axis of the view.
Меню мини-куба
В правом нижнем углу навигационного куба находится маленький кубик. Нажатие на этот куб вызовет меню, которое можно использовать для изменения типа вида (Ортогональный, Перспективный, Изометрический) и «Вписать в окно просмотра».
Customization
Перемещение куба навигации
Вы можете переместить всю управляющую структуру куба навигации в другое место на 3D-дисплее, нажав мышью в любом месте основного куба навигации и перетащив. На момент написания (для v 0.18) структура не начнет двигаться, пока указатель мыши не переместится за край навигационного куба.
Preferences
The Navigation Cube is controlled by several preferences: Edit → Preferences... → Display → Navigation → Navigation cube. See Preferences Editor.
Advanced parameters
Some advanced Navigation Cube parameters cannot be changed in the Preferences Editor. These parameters can be set manually in the Parameter editor or via the CubeMenu external workbench. Changes will become visible when a new 3D view is created (with Std New, Std Open or Std ViewCreate).
To manually set colors:
- Start the Parameter editor.
- In the panel on the left browse to BaseApp → Preferences → NaviCube.
- Right-click the panel on the right and select New unsigned item from the context menu.
- Enter the name of one of these colors:
- BorderColor: the lines separating the cube faces, default is
842150655
(hex:323232ff
). - ButtonColor: all elements around the cube, default is
3806916480
(hex:e2e9ef80
). - FrontColor: all cube faces, default is
3806916544
(hex:e2e9efc0
). - HiliteColor: the cube or arrow face that is currently highlighted, default is
2867003391
(hex:aae2ffff
). - TextColor: the text on the cube faces, default is
255
(hex:000000ff
).
- BorderColor: the lines separating the cube faces, default is
- The color value must be entered as a 32-bit unsigned integer. Translated to the hexadecimal format this integer has the form
RRGGBBAA
. WhereAA
stands for the alpha channel (a measure for the transparency), and the other three digit pairs stand for red, green and blue. To convert a hexadecimal value to an unsigned integer you can use the Python console, enter for exampleint("323232ff", 16)
, or an online service such as this one. - Optionally set more colors.
- Press the Close button.
To manually set the border width:
- Start the Parameter editor.
- In the panel on the left browse to BaseApp → Preferences → NaviCube.
- Right-click the panel on the right and select New float item from the context menu.
- Enter the name BorderWidth,
default is 1.1
. - Enter the width.
- Press the Close button.
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework