Draft FlipDimension/ru: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 39: | Line 39: | ||
* [[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. |
* [[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]]. |
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
||
Line 45: | Line 46: | ||
To flip a [[Draft_Dimension|Draft Dimension]] invert its {{incode|Normal}} property. |
To flip a [[Draft_Dimension|Draft Dimension]] invert its {{incode|Normal}} property. |
||
Пример: |
|||
Example: |
|||
{{Code|code= |
{{Code|code= |
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