TechDraw 2PointCenterLine: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
 
(40 intermediate revisions by 8 users not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{{Docnav|[[TechDraw_2LineCenterLine|2LineCenterLine]]|[[TechDraw_CosmeticEraser|CosmeticEraser]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-2linecenterline.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-eraser.svg}}
{{Docnav
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_2PointCosmeticLine|2PointCosmeticLine]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2LineCenterLine.svg
|IconR=TechDraw_2PointCosmeticLine.svg
|IconC=Workbench_TechDraw.svg
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw 2PointCenterLine
|Name=TechDraw 2PointCenterLine
|MenuLocation=TechDraw → Add Lines → Add Centerline between 2 points
|Icon=techdraw-2linecenterline.svg
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|MenuLocation=TechDraw → 2PointCenterLine
|Workbenches=[[TechDraw Module|TechDraw]]
|SeeAlso=[[TechDraw FaceCenterLine]], [[TechDraw 2LineCenterLine]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_FaceCenterLine|TechDraw FaceCenterLine]], [[TechDraw_2LineCenterLine|TechDraw 2LineCenterLine]]
}}
}}


==Description==
==Description== <!--T:3-->


<!--T:4-->
The 2PointCenterLine tool adds a center line between two Vertices (Points).
The '''TechDraw 2PointCenterLine''' tool adds a centerline between two points.


</translate>
</translate>
[[Image:CL2PointsSample.png]]
[[Image:CL2PointsSample.png|200px]]
<translate>
<translate>


<!--T:5-->
{{Caption|Center line between 2 Points}}
{{Caption|Centerline between two points}}


==Usage create== <!--T:23-->
==How to use==


<!--T:7-->
# Select 2 Vertexes in a View.
# Select two points in a View.
# Press the {{Button|[[Image:techdraw-2pointcenterline.svg|16px]] [[TechDraw 2PointCenterLine|2PointCenterLine]]}} button
# There are several ways to invoke the tool:
# A dialog will open where you can specify attributes of the new center line.
#* Press the {{Button|[[Image:TechDraw_2PointCenterLine.svg|16px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 points]]}} button.
# A center line will be added between the 2 selected Vertices.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_2PointCenterLine.svg|16px]] Add Centerline between 2 points}} option from the menu.
# A task panel opens. See [[TechDraw_FaceCenterLine#Options|TechDraw FaceCenterLine]] for more information.
# Press the {{Button|OK}} button to confirm.
# A centerline is added between the selected points.


==Usage edit== <!--T:24-->
==Editing Center Lines==


<!--T:25-->
Any of the center line command buttons (
{{Button|[[Image:techdraw-facecenterline.svg|16px]] [[TechDraw FaceCenterLine|FaceCenterLine]]}},
See [[TechDraw_FaceCenterLine#Usage_edit|TechDraw FaceCenterLine]].
{{Button|[[Image:techdraw-2linecenterline.svg|16px]] [[TechDraw 2LineCenterLine|2LineCenterLine]]}},
{{Button|[[Image:techdraw-2pointcenterline.svg|16px]] [[TechDraw 2PointCenterLine|2PointCenterLine]]}})
can be used to edit any center line.


==Notes== <!--T:26-->
# Select a center line.
# Press any center line command button.
# A dialog will open where you can change attributes of thecenter line.
# Press OK to see your changes.


<!--T:27-->
==Properties==
* To delete a centerline use [[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|TechDraw CosmeticEraser]].


==Properties== <!--T:28-->
Cosmetic center lines have no properties of their own, as they are not Document Objects. They do have attributes that can be changed in the center line edit dialog. Not all attributes apply to all center lines
# Mode (radio buttons):
## Vertical: force center line vertical
## Horizontal: force center line horizontal
## Aligned: follow the general direction of the Edge for 2 Edge center line
# Shift Horiz: move the center line left or right of its normal position
# Shift Vert: move the center line up or down from its normal position
# Rotate: rotate the center line around its center (degrees. + CCW, -CW)
# Extend: make the center line longer by this amount
# Color: color of center line
# Weight: thickness of the center line
# Style: NoLine, Solid, Dash, Dot, DashDot, DashDotDot


<!--T:29-->
==Scripting==
Centerlines have no properties of their own, as they are not document objects.


{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].


<!--T:18-->
Cosmetic center lines are not accessible from [[macros]] or the [[Python]] console at this time.
{{Docnav

|[[TechDraw_2LineCenterLine|2LineCenterLine]]
==Notes==
|[[TechDraw_2PointCosmeticLine|2PointCosmeticLine]]

|[[TechDraw_Workbench|TechDraw]]
# none
|IconL=TechDraw_2LineCenterLine.svg

|IconR=TechDraw_2PointCosmeticLine.svg
{{Docnav|[[TechDraw_2LineCenterLine|2LineCenterLine]]|[[TechDraw_CosmeticEraser|CosmeticEraser]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-2linecenterline.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-eraser.svg}}
|IconC=Workbench_TechDraw.svg

}}
{{TechDraw Tools navi}}


{{Userdocnavi}}
</translate>
</translate>
{{TechDraw Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 15:10, 26 July 2023

TechDraw 2PointCenterLine

Menu location
TechDraw → Add Lines → Add Centerline between 2 points
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw FaceCenterLine, TechDraw 2LineCenterLine

Description

The TechDraw 2PointCenterLine tool adds a centerline between two points.

Centerline between two points

Usage create

  1. Select two points in a View.
  2. There are several ways to invoke the tool:
  3. A task panel opens. See TechDraw FaceCenterLine for more information.
  4. Press the OK button to confirm.
  5. A centerline is added between the selected points.

Usage edit

See TechDraw FaceCenterLine.

Notes

Properties

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