TechDraw 2LineCenterLine: Difference between revisions

From FreeCAD Documentation
(deletion info)
(Marked this version for translation)
 
(29 intermediate revisions by 7 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>
Line 31: Line 31:


<!--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]] 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.


<!--T:28-->
To delete a Centerline, select it and use the toolbar button {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.
See [[TechDraw_FaceCenterLine#Usage_edit|TechDraw FaceCenterLine]].


==Editing Center Lines== <!--T:9-->
==Notes== <!--T:29-->


<!--T:21-->
<!--T:30-->
* To delete a centerline use [[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|TechDraw CosmeticEraser]].
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-->
==Properties== <!--T:31-->
# Select a center line.
# Press any center line command button.
# A dialog will open where you can change attributes of the center line.
# Press {{Button|OK}} to see your changes.


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


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

<!--T:22-->
# Mode (radio buttons):
#* '''Vertical''': Forces a centerline vertical
#* '''Horizontal''': Forces a centerline horizontal
#* '''Aligned''': Follows the general direction of the Edge for 2 Edge center line
# '''Shift Horiz''': Moves the centerline left or right of its normal position
# '''Shift Vert''': Moves the centerline up or down from its normal position
# '''Rotate''': Rotates the centerline around its center (degrees. + counterclockwise, - clockwise)
# '''Extend''': Makes the centerline longer by this amount
# '''Color''': Color of centerline
# '''Weight''': Thickness of the centerline
# '''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
# '''Flip Ends''': Flips endpoints for creation as described below

==Flip Ends== <!--T:23-->

<!--T:24-->
[[Image:TD-CenterLineFlip.png|thumb|350px|Sketch how the centerline is constructed]]
The centerline between 2 lines is drawn between the midpoints (m0 and m1) of the lines that connects the endpoints of the selected lines (p0 and p1), see the sketch. Depending on the point order there are 2 possibilities to draw the connecting lines. The option '''Flip Ends''' flips the way the connecting lines are drawn.

==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
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_2PointCenterLine.svg
|IconR=TechDraw_2PointCenterLine.svg
|IconC=Workbench_TechDraw.svg
}}
}}


Line 107: Line 73:
{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

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.