Draft FlipDimension/ru: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(17 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
|||
|[[Draft_Slope|Slope]] |
|||
|[[Draft_Shape2DView|Shape2DView]] |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL=Draft_Slope.svg |
|||
|IconR=Draft_Shape2DView.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name=Draft FlipDimension |
|Name=Draft FlipDimension |
||
|Name/ru=Draft FlipDimension |
|Name/ru=Draft FlipDimension |
||
⚫ | |||
|MenuLocation=Черчение → Утилиты → Перевернуть размер |
|MenuLocation=Черчение → Утилиты → Перевернуть размер |
||
⚫ | |||
|SeeAlso=[[Draft Dimension/ru|Размер]] |
|SeeAlso=[[Draft Dimension/ru|Размер]] |
||
}} |
}} |
||
</div> |
|||
==Description== |
==Description== |
||
When in 2D mode, the text of the [[Draft Dimension|Draft dimensions]] is displayed aligned to the dimension line. The Dimension tool always tries to show you the dimension text on the correct side of the dimension line, depending on where you are viewing it from. In some cases, though, the viewing direction might not reflect the intent of the viewer, and the orientation of the dimension text might be inverted. This tool inverts that orientation on selected [[Draft Dimension|dimension]] objects. |
|||
<div class="mw-translate-fuzzy"> |
|||
What this tool does, internally, is to invert the '''Normal''' direction of the dimension, which is the direction used to draw the text with the correct orientation. Dimensions also have a '''Flip Text''' property, which rotates the text by 180 degrees around the normal direction. By combining these two features, normal direction and Flip Text, you are able to make the text appear correctly in all possible situations. |
|||
== Описание == |
|||
Когда в 2D-режиме текст [[Draft Dimension|Draft dimensions]] отображается в соответствии с размерной строкой. Инструмент измерения всегда пытается показать вам размерный текст на правильной стороне размерной линии, в зависимости от того, где вы его просматриваете. В некоторых случаях, однако, направление просмотра может не отражать намерения зрителя, и ориентация текста измерения может быть инвертирована. Этот инструмент инвертирует эту ориентацию на выбранных объектах [[Draft Dimension | dimension]]. |
|||
</div> |
|||
== |
==Usage== |
||
# Select one or more [[Draft Dimension|dimension]] objects |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
== Использование == |
|||
# Выберите один или несколько объектов [[Draft Dimension|dimension]] |
|||
⚫ | |||
</div> |
|||
==Notes== |
|||
* [[Draft_Dimension|Draft Dimensions]] also have a {{PropertyData|Flip Text}} property. When set to {{TRUE}} the text is rotated 180° around the normal direction. This can be combined with the effect of this command. |
|||
<span id="Scripting"></span> |
|||
==Программирование== |
|||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
|||
To flip a [[Draft_Dimension|Draft Dimension]] invert its {{incode|Normal}} property. |
|||
Пример: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
import Draft |
|||
doc = App.newDocument() |
|||
p1 = App.Vector(0, 0, 0) |
|||
p2 = App.Vector(1000, 0, 0) |
|||
p3 = App.Vector(500, 300, 0) |
|||
dimension = Draft.make_dimension(p1, p2, p3) |
|||
dimension.ViewObject.FontSize = 200 |
|||
dimension.Normal = dimension.Normal.negative() |
|||
doc.recompute() |
|||
}} |
|||
{{Docnav |
|||
|[[Draft_Slope|Slope]] |
|||
|[[Draft_Shape2DView|Shape2DView]] |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL=Draft_Slope.svg |
|||
|IconR=Draft_Shape2DView.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{Draft Tools navi{{#translation:}}}} |
|||
{{clear}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 19:54, 7 December 2023
Draft FlipDimension |
Системное название |
---|
Draft FlipDimension |
Расположение в меню |
Черчение → Утилиты → Перевернуть размер |
Верстаки |
Draft, Arch |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Размер |
Description
Описание
Когда в 2D-режиме текст Draft dimensions отображается в соответствии с размерной строкой. Инструмент измерения всегда пытается показать вам размерный текст на правильной стороне размерной линии, в зависимости от того, где вы его просматриваете. В некоторых случаях, однако, направление просмотра может не отражать намерения зрителя, и ориентация текста измерения может быть инвертирована. Этот инструмент инвертирует эту ориентацию на выбранных объектах dimension.
Usage
Использование
- Выберите один или несколько объектов dimension
- Нажмите кнопку Flip Dimension
Notes
- Draft Dimensions also have a ДанныеFlip Text property. When set to
true
the text is rotated 180° around the normal direction. This can be combined with the effect of this command.
Программирование
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To flip a Draft Dimension invert its Normal
property.
Пример:
import FreeCAD as App
import Draft
doc = App.newDocument()
p1 = App.Vector(0, 0, 0)
p2 = App.Vector(1000, 0, 0)
p3 = App.Vector(500, 300, 0)
dimension = Draft.make_dimension(p1, p2, p3)
dimension.ViewObject.FontSize = 200
dimension.Normal = dimension.Normal.negative()
doc.recompute()
Draft
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
Документация пользователя
- Начинающим
- Установка: Загрузка, 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