TechDraw 2PointCosmeticLine: Difference between revisions

From FreeCAD Documentation
mNo edit summary
No edit summary
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
{{Docnav
{{Docnav
|[[TechDraw_2PointCenterLine|2PointCenterLine]]
|[[TechDraw_2PointCenterLine|2PointCenterLine]]
|[[TechDraw_CosmeticCircle|CosmeticCircle]]
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2PointCenterLine.svg
|IconL=TechDraw_2PointCenterLine.svg
|IconR=TechDraw_CosmeticEraser.svg
|IconR=TechDraw_CosmeticCircle.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
Line 18: Line 18:
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_FaceCenterLine|TechDraw Centerline to Face(s)]], [[TechDraw_2LineCenterLine|TechDraw Centerline between 2 Lines]]
|SeeAlso=[[TechDraw_FaceCenterLine|TechDraw FaceCenterLine]], [[TechDraw_2LineCenterLine|TechDraw 2LineCenterLine]], [[TechDraw_2PointCenterLine|TechDraw 2PointCenterLine]]
}}
}}


Line 60: Line 60:
# Press the {{Button|OK}} button.
# Press the {{Button|OK}} button.


==Notes==
==Notes== <!--T:24-->


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


Line 82: Line 83:
{{Docnav
{{Docnav
|[[TechDraw_2PointCenterLine|2PointCenterLine]]
|[[TechDraw_2PointCenterLine|2PointCenterLine]]
|[[TechDraw_CosmeticCircle|CosmeticCircle]]
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2PointCenterLine.svg
|IconL=TechDraw_2PointCenterLine.svg
|IconR=TechDraw_CosmeticEraser.svg
|IconR=TechDraw_CosmeticCircle.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}

Revision as of 09:08, 3 April 2024

TechDraw 2PointCosmeticLine

Menu location
TechDraw → Add Lines → Add Cosmetic Line Through 2 points
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw FaceCenterLine, TechDraw 2LineCenterLine, TechDraw 2PointCenterLine

Description

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

Usage create

  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

Properties

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

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

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