TechDraw 2PointCosmeticLine/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 21: Line 21:
==Описание==
==Описание==


The 2PointCosmeticLine tool adds a cosmetic line between two Vertices (Points). The vertices can be 2d or 3d. The resulting line can be used for dimensioning. The line's appearance can be modified using the [[TechDraw_DecorateLine|Change Appearance of Line(s)]] tool.
The '''2PointCosmeticLine''' tool adds a cosmetic line between two Vertices (Points). The vertices can be 2d or 3d. The resulting line can be used for dimensioning. The line's appearance can be modified using the [[TechDraw_DecorateLine|Change Appearance of Line(s)]] tool.


[[Image:CosLine2PointsSample.png|200px]]
[[Image:CosLine2PointsSample.png|200px]]
Line 29: Line 29:
==Применение==
==Применение==


# Select 2 Vertexes in a View or 2 Vertexes in the 3D view.
# Select 2 Vertexes in a View or 2 Vertexes in the 3D view.
# Press the {{Button|[[Image:TechDraw-line2points.svg|16px]] Add Cosmetic line between 2 Points}} button.
# Press the {{Button|[[Image:TechDraw-line2points.svg|16px]] Add Cosmetic line between 2 Points}} button.
# A dialog will open where you can adjust the coordinates of the 2 points.
# A dialog will open where you can adjust the coordinates of the 2 points.
# A line will be added to connect the 2 selected Vertices. In the case of 3d points, the line will connect the projection of the selected points.
# A line will be added to connect the 2 selected Vertices. In the case of 3d points, the line will connect the projection of the selected points.

To delete a cosmetic line, select it and use the toolbar button {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.


==Editing Cosmetic Lines==
==Editing Cosmetic Lines==


To change the endpoints of a cosmetic line,
To change the endpoints of a cosmetic line:
{{Button|[[Image:TechDraw-line2points.svg|16px]] Add Cosmetic line between 2 Points}}


# Select the cosmetic line.
# Select the cosmetic line.
Line 46: Line 43:
# Press {{Button|OK}} to see your changes.
# Press {{Button|OK}} to see your changes.


To change the appearance of a cosmetic line, use [[TechDraw_CosmeticEraser|Remove Cosmetic Object]].
To delete a cosmetic line use [[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]].

To change the appearance of a cosmetic line use [[Image:TechDraw_DecorateLine.svg|16px]] [[TechDraw_DecorateLine|Change Appearance of Line(s)]].


==Свойства==
==Свойства==


Cosmetic lines have no properties of their own, as they are not document objects.
Cosmetic lines have no properties of their own, as they are not document objects.



==Программирование==
==Программирование==
Line 71: Line 69:
{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 09:06, 29 October 2022

Other languages:

Добавить вспомогательную линию между 2-мя точками

Системное название
TechDraw_2PointCosmeticLine
Расположение в меню
TechDraw → Добавить Линии → Добавить вспомогательную линию между 2-мя точками
Верстаки
TechDraw
Быстрые клавиши
Нет
Представлено в версии
0.19
См. также
Добавить осевую линию к граням, Добавить осевую линию между 2 линиями

Описание

The 2PointCosmeticLine tool adds a cosmetic line between two Vertices (Points). The vertices can be 2d or 3d. The resulting line can be used for dimensioning. The line's appearance can be modified using the Change Appearance of Line(s) tool.

Cosmetic line between 2 Points

Применение

  1. Select 2 Vertexes in a View or 2 Vertexes in the 3D view.
  2. Press the Add Cosmetic line between 2 Points button.
  3. A dialog will open where you can adjust the coordinates of the 2 points.
  4. A line will be added to connect the 2 selected Vertices. In the case of 3d points, the line will connect the projection of the selected points.

Editing Cosmetic Lines

To change the endpoints of a cosmetic line:

  1. Select the cosmetic line.
  2. Press Add Cosmetic line between 2 Points.
  3. A dialog will open where you can change the coordinates of the endpoints.
  4. Press OK to see your changes.

To delete a cosmetic line use Remove Cosmetic Object.

To change the appearance of a cosmetic line use Change Appearance of Line(s).

Свойства

Cosmetic lines have no properties of their own, as they are not document objects.

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

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

Cosmetic lines can be created using the makeCosmeticLine(v1, v2) or makeCosmeticLine3d(v1, v2) methods of DrawViewPart.