TechDraw 2PointCenterLine: Difference between revisions

From FreeCAD Documentation
m (a fix)
No edit summary
 
(26 intermediate revisions by 5 users not shown)
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
{{Docnav
{{Docnav
|[[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_2PointCosmeticLine|2PointCosmeticLine]]
|[[TechDraw_CosmeticEraser|Remove Cosmetic Object]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2LineCenterLine.svg
|IconL=TechDraw_2LineCenterLine.svg
|IconR=TechDraw_2PointCosmeticLine.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_CosmeticEraser.svg
}}
}}


Line 16: Line 16:
|Name=TechDraw 2PointCenterLine
|Name=TechDraw 2PointCenterLine
|MenuLocation=TechDraw → Add Lines → Add Centerline between 2 points
|MenuLocation=TechDraw → Add Lines → Add Centerline between 2 points
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|SeeAlso=[[TechDraw_FaceCenterLine|Add Centerline to Face(s)]], [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_FaceCenterLine|TechDraw FaceCenterLine]], [[TechDraw_2LineCenterLine|TechDraw 2LineCenterLine]]
}}
}}


Line 24: Line 24:


<!--T:4-->
<!--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>
Line 31: Line 31:


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


==Usage== <!--T:6-->
==Usage create== <!--T:23-->


<!--T:7-->
<!--T:7-->
# Select 2 Vertexes in a View.
# Select two points in a View.
# There are several ways to invoke the tool:
# Press the {{Button|[[Image:TechDraw_2PointCenterLine.svg|16px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]}} button
#* Press the {{Button|[[Image:TechDraw_2PointCenterLine.svg|16px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 points]]}} button.
# A dialog will open where you can specify attributes of the new center line.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_2PointCenterLine.svg|16px]] Add Centerline between 2 points}} option from the menu.
# A center line will be added between the 2 selected Vertices.
# 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.


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


<!--T:9-->
<!--T:25-->
See [[TechDraw_FaceCenterLine#Usage_edit|TechDraw FaceCenterLine]].
Any of the centerline command buttons (
{{Button|[[Image:TechDraw_FaceCenterLine.svg|16px]] [[TechDraw_FaceCenterLine|Add Centerline to Face(s)]]}},
{{Button|[[Image:TechDraw_2LineCenterLine.svg|16px]] [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]}},
{{Button|[[Image:TechDraw_2PointCenterLine.svg|16px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]}})
can be used to edit any centerline.


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


==Properties== <!--T:11-->
<!--T:27-->
* To delete a centerline select it and press {{KEY|Delete}}. {{Version|0.22}}


<!--T:12-->
==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 centerlines.


<!--T:21-->
<!--T:29-->
Centerlines have no properties of their own, as they are not document objects.
# 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: [[Image:Continuous-line.svg|20px]] Continuous, [[Image:Dash-line.svg|20px]] Dash, [[Image:Dot-line.svg|20px]] Dot, [[Image:DashDot-line.svg|20px]] DashDot, [[Image:DashDotDot-line.svg|20px]] DashDotDot


==Scripting== <!--T:13-->

<!--T:14-->
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].

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


<!--T:18-->
<!--T:18-->
{{Docnav
{{Docnav
|[[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_2PointCosmeticLine|2PointCosmeticLine]]
|[[TechDraw_CosmeticEraser|Remove Cosmetic Object]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2LineCenterLine.svg
|IconL=TechDraw_2LineCenterLine.svg
|IconR=TechDraw_2PointCosmeticLine.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_CosmeticEraser.svg
}}
}}


<!--T:19-->
{{TechDraw Tools navi}}

<!--T:20-->
{{Userdocnavi}}
</translate>
</translate>
{{TechDraw Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 09:02, 3 April 2024

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.