TechDraw 2PointCosmeticLine/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Программирование==")
(Updating to match new version of source page)
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[TechDraw_2PointCenterLine/ru|Добавить осевую линию между 2 точками]]
|[[TechDraw_2PointCenterLine/ru|Добавить осевую линию между 2 точками]]
|[[TechDraw_CosmeticEraser/ru|Удалить Вспомогательный Объект]]
|[[TechDraw_CosmeticEraser/ru|Удалить вспомогательный объект]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=TechDraw_2PointCenterLine.svg
|IconL=TechDraw_2PointCenterLine.svg
Line 9: Line 10:
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Добавить вспомогательную линию между 2-мя точками
|Name/ru=Добавить вспомогательную линию между 2-мя точками
|Name=TechDraw_2PointCosmeticLine
|Name=TechDraw_2PointCosmeticLine
|MenuLocation=TechDraw → Добавить Линии → Add Cosmetic Line between 2 points
|MenuLocation=TechDraw → Добавить Линии → Добавить вспомогательную линию между 2-мя точками
|Workbenches=[[TechDraw_Workbench/ru|TechDraw]]
|Workbenches=[[TechDraw_Workbench/ru|TechDraw]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_FaceCenterLine/ru|Добавить осевую линию к Граням]], [[TechDraw_2LineCenterLine/ru|Добавить осевую линию между 2 линиями]]
|SeeAlso=[[TechDraw_FaceCenterLine/ru|Добавить осевую линию к граням]], [[TechDraw_2LineCenterLine/ru|Добавить осевую линию между 2 линиями]]
}}
}}
</div>


<span id="Description"></span>
==Описание==
==Описание==


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_CosmeticEraser|Remove Cosmetic Object]] 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_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==
To delete a cosmetic line, select it and use the toolbar button {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.


To change the endpoints of a cosmetic line:
==Editing Cosmetic Lines==

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.
# 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 change the appearance of a cosmetic line, use [[TechDraw_CosmeticEraser|Remove Cosmetic Object]].


* To delete a cosmetic line select it and press {{KEY|Delete}}. {{Version|0.22}}
* To change the appearance of a cosmetic line use [[Image:TechDraw_DecorateLine.svg|16px]] [[TechDraw_DecorateLine|TechDraw DecorateLine]].

<span id="Properties"></span>
==Свойства==
==Свойства==


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.


<span id="Scripting"></span>

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


{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{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.




<div class="mw-translate-fuzzy">
{{Docnav
{{Docnav/ru
|[[TechDraw_2PointCenterLine|2PointCenterLine]]
|[[TechDraw_2PointCenterLine/ru|Добавить осевую линию между 2 точками]]
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
|[[TechDraw_CosmeticEraser/ru|Удалить вспомогательный объект]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=TechDraw_2PointCenterLine.svg
|IconL=TechDraw_2PointCenterLine.svg
|IconR=TechDraw_CosmeticEraser.svg
|IconR=TechDraw_CosmeticEraser.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
</div>


{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 09:09, 3 April 2024

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.