TechDraw 2LineCenterLine: Difference between revisions

From FreeCAD Documentation
No edit summary
(V0.22 -> V1.0)
 
(60 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:16-->
{{Docnav|[[TechDraw_FaceCenterLine|FaceCenterLine]]|[[TechDraw_2PointCenterLine|2PointCenterLine]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-facecenterline.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-2pointcenterline.svg}}


<!--T:1-->
<!--T:1-->
{{Docnav
|[[TechDraw_FaceCenterLine|FaceCenterLine]]
|[[TechDraw_2PointCenterLine|2PointCenterLine]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_FaceCenterLine.svg
|IconR=TechDraw_2PointCenterLine.svg
|IconC=Workbench_TechDraw.svg
}}

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


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


<!--T:8-->
<!--T:4-->
The 2LineCenterLine tool adds a center line between two Edges.
The '''TechDraw 2LineCenterLine''' tool adds a centerline between two edges.


</translate>
</translate>
[[Image:CL2LinesSample.png]]
[[Image:CL2LinesSample.png|350px]]
<translate>
<translate>
<!--T:9-->
{{Caption|Center line between 2 Edges}}


==How to use== <!--T:3-->
<!--T:5-->
{{Caption|Aligned centerline between two edges}}


<!--T:10-->
==Usage create== <!--T:26-->
# Select 2 Edges in a View. The Edges should be more or less parallel.
# Press the {{Button|[[Image:techdraw-2linecenterline.svg|16px]] [[TechDraw 2LineCenterLine|2LineCenterLine]]}} button
# A dialog will open where you can specify attributes of the new center line.
# A center line will be added between the 2 selected Edges.


<!--T:7-->
Note: If the generated center line looks particularly odd, you may need to edit the center line and click the "Flip ends" radio button.
# Select two edges in a View. The edges should be more or less parallel.
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:TechDraw_2LineCenterLine.svg|16px]] [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]}} button.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_2LineCenterLine.svg|16px]] Add Centerline between 2 Lines}} 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 edges.


==Editing Center Lines== <!--T:20-->
==Usage edit== <!--T:27-->
Any of the center line command buttons ({{Button|[[Image:techdraw-facecenterline.svg|16px]] [[TechDraw FaceCenterLine|FaceCenterLine]]}}, {{Button|[[Image:techdraw-2linecenterline.svg|16px]] [[TechDraw 2LineCenterLine|2LineCenterLine]]}}, <br>
{{Button|[[Image:techdraw-2pointline.svg|16px]] [[TechDraw 2PointCenterLine|2PointCenterLine]]}})
can be used to edit any center line.


<!--T:28-->
# Select a center line.
See [[TechDraw_FaceCenterLine#Usage_edit|TechDraw FaceCenterLine]].
# Press any center line command button.
# A dialog will open where you can change attributes of the center line.
# Press OK to see your changes.


==Properties== <!--T:19-->
==Notes== <!--T:29-->


<!--T:20-->
<!--T:30-->
* To delete a centerline select it and press {{KEY|Delete}}. {{Version|1.0}}
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
# Flip ends: sometimes required to make 2 line center lines behave correctly


==Scripting== <!--T:6-->
==Properties== <!--T:31-->


<!--T:12-->
<!--T:32-->
Centerlines have no properties of their own, as they are not document objects.
{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].


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


==Notes== <!--T:18-->
<!--T:18-->
{{Docnav
# none
|[[TechDraw_FaceCenterLine|FaceCenterLine]]

|[[TechDraw_2PointCenterLine|2PointCenterLine]]
<!--T:17-->
|[[TechDraw_Workbench|TechDraw]]
{{Docnav|[[TechDraw_FaceCenterLine|FaceCenterLine]]|[[TechDraw_2PointCenterLine|2PointCenterLine]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-facecenterline.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-2pointcenterline.svg}}
|IconL=TechDraw_FaceCenterLine.svg

|IconR=TechDraw_2PointCenterLine.svg
<!--T:14-->
|IconC=Workbench_TechDraw.svg
{{TechDraw Tools navi}}
}}


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

Latest revision as of 10:22, 21 April 2024

TechDraw 2LineCenterLine

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

Description

The TechDraw 2LineCenterLine tool adds a centerline between two edges.

Aligned centerline between two edges

Usage create

  1. Select two edges in a View. The edges should be more or less parallel.
  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 edges.

Usage edit

See TechDraw FaceCenterLine.

Notes

Properties

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