TechDraw 2LineCenterLine: Difference between revisions

From FreeCAD Documentation
m (Changed section to 'Usage')
(Marked this version for translation)
 
(43 intermediate revisions by 9 users not shown)
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
{{Docnav
{{Docnav
|[[TechDraw_FaceCenterLine|Add Centerline to Face(s)]]
|[[TechDraw_FaceCenterLine|FaceCenterLine]]
|[[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]
|[[TechDraw_2PointCenterLine|2PointCenterLine]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_FaceCenterLine.svg
|IconL=TechDraw_FaceCenterLine.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_2PointCenterLine.svg
|IconR=TechDraw_2PointCenterLine.svg
|IconC=Workbench_TechDraw.svg
}}
}}


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


Line 24: Line 24:


<!--T:4-->
<!--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:5-->
<!--T:5-->
{{Caption|Aligned center line between 2 Edges}}
{{Caption|Aligned centerline between two edges}}


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


<!--T:7-->
<!--T:7-->
# Select 2 Edges in a View. The Edges should be more or less parallel.
# 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
#* Press the {{Button|[[Image:TechDraw_2LineCenterLine.svg|16px]] [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]}} button.
# A dialog will open where you can specify attributes of the new center line.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_2LineCenterLine.svg|16px]] Add Centerline between 2 Lines}} option from the menu.
# A center line will be added between the 2 selected Edges.
# 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.


<!--T:8-->
==Usage edit== <!--T:27-->
Note: If the generated center line looks particularly odd, you may need to edit the center line and click the "Flip ends" radio button.


==Editing Center Lines== <!--T:9-->
<!--T:28-->
See [[TechDraw_FaceCenterLine#Usage_edit|TechDraw FaceCenterLine]].


<!--T:21-->
==Notes== <!--T:29-->
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-->
<!--T:30-->
* To delete a centerline use [[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|TechDraw CosmeticEraser]].
# Select a center line.
# 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:11-->
==Properties== <!--T:31-->


<!--T:12-->
<!--T:32-->
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.
Centerlines have no properties of their own, as they are not document objects.


<!--T:22-->
# 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: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_FaceCenterLine|Add Centerline to Face(s)]]
|[[TechDraw_FaceCenterLine|FaceCenterLine]]
|[[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]
|[[TechDraw_2PointCenterLine|2PointCenterLine]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_FaceCenterLine.svg
|IconL=TechDraw_FaceCenterLine.svg
|IconR=TechDraw_2PointCenterLine.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_2PointCenterLine.svg
}}
}}


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

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

Latest revision as of 15:09, 26 July 2023

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.