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 22: Line 22:
==Описание==
==Описание==


The '''TechDraw 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 '''TechDraw 2PointCosmeticLine''' tool adds a cosmetic line between two points. The points can be 2D or 3D. The resulting line can be used for dimensioning.


[[Image:CosLine2PointsSample.png|200px]]
[[Image:CosLine2PointsSample.png|200px]]


{{Caption|Cosmetic line between 2 Points}}
{{Caption|Cosmetic line between two points}}


<span id="Usage"></span>
<span id="Usage_create"></span>
<div class="mw-translate-fuzzy">
==Применение==
==Применение==
</div>


# Select 2 Vertexes in a View or 2 Vertexes in the 3D view.
# Select two points in a TechDraw View or two points in the [[3D_view|3D view]].
# If you have selected points in the 3D view: add the correct TechDraw View to the selection by selecting it in the [[Tree_view|Tree view]].
# Press the {{Button|[[Image:TechDraw-line2points.svg|16px]] Add Cosmetic line between 2 Points}} button.
# There are several ways to invoke the tool:
# A dialog will open where you can adjust the coordinates of the 2 points.
#* Press the {{Button|[[Image:TechDraw_2PointCosmeticLine.svg|16px]] [[TechDraw_2PointCosmeticLine|Add Cosmetic Line Through 2 points]]}} button.
# 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.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_2PointCosmeticLine.svg|16px]] Add Cosmetic Line Through 2 points}} option from the menu.
# A task panel opens.
# Optionally adjust the coordinates of the points.
# Press the {{Button|OK}} button.
# A cosmetic line connecting the two points is added. In the case of 3D points, the line connects the projection of the points.


==Usage edit==
==Editing Cosmetic Lines==


To change the endpoints of a cosmetic line:
To change the endpoints of a cosmetic line:


# Select the cosmetic line.
# Select the cosmetic line.
# There are several ways to invoke the tool:
# Press {{Button|[[Image:TechDraw-line2points.svg|16px]] Add Cosmetic line between 2 Points}}.
#* Press the {{Button|[[Image:TechDraw_2PointCosmeticLine.svg|16px]] [[TechDraw_2PointCosmeticLine|Add Cosmetic Line Through 2 points]]}} button.
# A dialog will open where you can change the coordinates of the endpoints.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_2PointCosmeticLine.svg|16px]] Add Cosmetic Line Through 2 points}} option from the menu.
# Press {{Button|OK}} to see your changes.
# A task panel opens.
# Adjust the coordinates of the points.
# Press the {{Button|OK}} button.


==Notes==
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)]].
* To delete a cosmetic line use [[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|TechDraw CosmeticEraser]].
* To change the appearance of a cosmetic line use [[Image:TechDraw_DecorateLine.svg|16px]] [[TechDraw_DecorateLine|TechDraw DecorateLine]].


<span id="Properties"></span>
<span id="Properties"></span>
Line 59: Line 70:
{{Emphasis|См. так же:}} [[TechDraw_API/ru|TechDraw API]] и [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов FreeCAD]].
{{Emphasis|См. так же:}} [[TechDraw_API/ru|TechDraw API]] и [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов FreeCAD]].


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





Revision as of 15:27, 26 July 2023

Other languages:

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

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

Описание

The TechDraw 2PointCosmeticLine tool adds a cosmetic line between two points. The points can be 2D or 3D. The resulting line can be used for dimensioning.

Cosmetic line between two points

Применение

  1. Select two points in a TechDraw View or two points in the 3D view.
  2. If you have selected points in the 3D view: add the correct TechDraw View to the selection by selecting it in the Tree view.
  3. There are several ways to invoke the tool:
  4. A task panel opens.
  5. Optionally adjust the coordinates of the points.
  6. Press the OK button.
  7. A cosmetic line connecting the two points is added. In the case of 3D points, the line connects the projection of the points.

Usage edit

To change the endpoints of a cosmetic line:

  1. Select the cosmetic line.
  2. There are several ways to invoke the tool:
  3. A task panel opens.
  4. Adjust the coordinates of the points.
  5. Press the OK button.

Notes

Свойства

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.