TechDraw FaceCenterLine: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(Marked this version for translation)
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:16-->
<!--T:16-->
{{Docnav
{{Docnav
|[[TechDraw_Quadrants|Add Quadrant Vertices]]
|[[TechDraw_Quadrants|Quadrants]]
|[[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_Quadrants.svg
|IconL=TechDraw_Quadrants.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_2LineCenterLine.svg
|IconR=TechDraw_2LineCenterLine.svg
|IconC=Workbench_TechDraw.svg
}}
}}


Line 14: Line 15:
{{GuiCommand
{{GuiCommand
|Name=TechDraw FaceCenterLine
|Name=TechDraw FaceCenterLine
|MenuLocation=TechDraw → Add Lines → Add Centerline to Face(s)
|MenuLocation=TechDraw → Add Lines → Add Centerline to Faces
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|SeeAlso=[[TechDraw_CosmeticVertex|Add Cosmetic Vertex]], [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]], [[TechDraw_2PointCenterLine|Add Centerline between 2 Points]], [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_2LineCenterLine|TechDraw 2LineCenterLine]], [[TechDraw_2PointCenterLine|TechDraw 2PointCenterLine]]
}}
}}


Line 23: Line 24:


<!--T:8-->
<!--T:8-->
The FaceCenterLine tool adds a centerline to selected faces.
The '''TechDraw FaceCenterLine''' tool adds a centerline to selected faces.


</translate>
</translate>
Line 29: Line 30:
<translate>
<translate>
<!--T:9-->
<!--T:9-->
{{Caption|Centerline added to face}}
{{Caption|Centerline added to a face}}


==Usage== <!--T:3-->
==Usage create== <!--T:27-->


<!--T:10-->
<!--T:10-->
# Select one or more Faces in a View.
# Select one or more faces in a View.
# There are several ways to invoke the tool:
# Press the {{Button|[[Image:TechDraw_FaceCenterLine.svg|16px]] Add Centerline to Face(s)}} button
#* Press the {{Button|[[Image:TechDraw_FaceCenterLine.svg|16px]] [[TechDraw_FaceCenterLine|Add Centerline to Faces]]}} button.
# A dialog will open where you can specify attributes of the new centerline.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_FaceCenterLine.svg|16px]] Add Centerline to Faces}} option from the menu.
# A centerline will be added at the midpoint of the bounding box of the selected Face(s).
# A task panel opens. See [[#Options|Options]] for more information.
# Press the {{Button|OK}} button to confirm.
# A centerline is added at the midpoint of the bounding box of the selected face(s).


<!--T:26-->
==Usage edit== <!--T:28-->
To delete a Centerline, select it and use the toolbar button {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.

==Editing Centerlines== <!--T:21-->


<!--T:22-->
<!--T:22-->
Any of the centerline command buttons ({{Button|[[Image:TechDraw_FaceCenterLine.svg|16px]] Add Centerline to Face(s)}},
Any of the centerline tools ([[Image:TechDraw_FaceCenterLine.svg|16px]] TechDraw FaceCenterLine, [[Image:TechDraw_2LineCenterLine.svg|16px]] [[TechDraw_2LineCenterLine|TechDraw 2LineCenterLine]] and [[Image:TechDraw_2PointCenterLine.svg|16px]] [[TechDraw_2PointCenterLine|TechDraw 2PointCenterLine]]) can be used to edit any centerline.
{{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:23-->
<!--T:23-->
# Select a centerline.
# Select a centerline.
# Press any centerline command button.
# Invoke a centerline tool.
# A task panel opens. See [[#Options|Options]] for more information.
# A dialog will open where you can change attributes of the centerline.
# Press {{Button|OK}} to see your changes.
# Press the {{Button|OK}} button to confirm.


==Properties== <!--T:19-->
==Options== <!--T:19-->

<!--T:20-->
Centerlines have no properties of their own, as they are no document objects. They have attributes that can be changed in the centerline edit dialog.


<!--T:24-->
<!--T:24-->
* '''Orientation''':
# Mode (radio buttons):
#* '''Vertical''': Forces a centerline vertical
** '''Vertical''': Forces the centerline vertical. Ignored for 2PointCenterLines.
#* '''Horizontal''': Forces a centerline horizontal
** '''Horizontal''': Forces the centerline horizontal. Ignored for 2PointCenterLines.
** '''Aligned''': Not available for FaceCenterLines. Forces the centerline to follow the general direction of the selected edges for 2LineCenterLines. Ignored for 2PointCenterLines.
#* '''''Aligned''': This option is not possible for centerline to faces''
# '''Shift Horiz''': Moves the centerline left or right of its normal position
* '''Shift Horizontal''': Moves the centerline left or right of its normal position.
# '''Shift Vert''': Moves the centerline up or down from its normal position
* '''Shift Vertical''': Moves the centerline up or down from its normal position.
# '''Rotate''': Rotates the centerline around its center (degrees. + counterclockwise, - clockwise)
* '''Rotate''': Rotates the centerline around its midpoint (degrees. + counterclockwise, - clockwise).
# '''Extend''': Makes the centerline longer by this amount
* '''Extend By''': Makes the centerline longer by this amount.
# '''Color''': Color of centerline
* '''Color''': The color of the centerline.
# '''Weight''': Thickness of the centerline
* '''Weight''': The width of the centerline.
* '''Style''': The linestyle of the centerline. The options are:
# '''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
** [[Image:Continuous-line.svg|20px]] '''Continuous'''

** [[Image:Dash-line.svg|20px]] '''Dash'''
==Scripting== <!--T:6-->
** [[Image:Dot-line.svg|20px]] '''Dot'''

** [[Image:DashDot-line.svg|20px]] '''DashDot'''
<!--T:12-->
** [[Image:DashDotDot-line.svg|20px]] '''DashDotDot'''
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].

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


==Notes== <!--T:18-->
==Notes== <!--T:18-->


<!--T:25-->
<!--T:25-->
* To delete a centerline use [[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|TechDraw CosmeticEraser]].
* FaceCenterLine will eventually replace two View properties:
* FaceCenterLines will eventually replace two View properties:
** {{PropertyView|HorizCenterLine}}: Show a horizontal centerline through view.
** {{PropertyView|HorizCenterLine}}: Show a horizontal centerline through view.
** {{PropertyView|VertCenterLine}}: Show a vertical centerline through view.
** {{PropertyView|VertCenterLine}}: Show a vertical centerline through view.

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

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



<!--T:17-->
<!--T:17-->
{{Docnav
{{Docnav
|[[TechDraw_Quadrants|Add Quadrant Vertices]]
|[[TechDraw_Quadrants|Quadrants]]
|[[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_Quadrants.svg
|IconL=TechDraw_Quadrants.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_2LineCenterLine.svg
|IconR=TechDraw_2LineCenterLine.svg
|IconC=Workbench_TechDraw.svg
}}
}}


Line 102: Line 101:
{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 15:08, 26 July 2023

TechDraw FaceCenterLine

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

Description

The TechDraw FaceCenterLine tool adds a centerline to selected faces.

Centerline added to a face

Usage create

  1. Select one or more faces in a View.
  2. There are several ways to invoke the tool:
    • Press the Add Centerline to Faces button.
    • Select the TechDraw → Add Lines → Add Centerline to Faces option from the menu.
  3. A task panel opens. See Options for more information.
  4. Press the OK button to confirm.
  5. A centerline is added at the midpoint of the bounding box of the selected face(s).

Usage edit

Any of the centerline tools ( TechDraw FaceCenterLine, TechDraw 2LineCenterLine and TechDraw 2PointCenterLine) can be used to edit any centerline.

  1. Select a centerline.
  2. Invoke a centerline tool.
  3. A task panel opens. See Options for more information.
  4. Press the OK button to confirm.

Options

  • Orientation:
    • Vertical: Forces the centerline vertical. Ignored for 2PointCenterLines.
    • Horizontal: Forces the centerline horizontal. Ignored for 2PointCenterLines.
    • Aligned: Not available for FaceCenterLines. Forces the centerline to follow the general direction of the selected edges for 2LineCenterLines. Ignored for 2PointCenterLines.
  • Shift Horizontal: Moves the centerline left or right of its normal position.
  • Shift Vertical: Moves the centerline up or down from its normal position.
  • Rotate: Rotates the centerline around its midpoint (degrees. + counterclockwise, - clockwise).
  • Extend By: Makes the centerline longer by this amount.
  • Color: The color of the centerline.
  • Weight: The width of the centerline.
  • Style: The linestyle of the centerline. The options are:
    • Continuous
    • Dash
    • Dot
    • DashDot
    • DashDotDot

Notes

  • To delete a centerline use TechDraw CosmeticEraser.
  • FaceCenterLines will eventually replace two View properties:
    • ViewHorizCenterLine: Show a horizontal centerline through view.
    • ViewVertCenterLine: Show a vertical centerline through view.

Properties

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