TechDraw FaceCenterLine: Difference between revisions

From FreeCAD Documentation
(Created page with "<languages/> <translate> <!--T:16--> {{Docnav|Cosmetic Vertex|CosmeticEraser|TechDraw|IconL=Techdra...")
 
No edit summary
 
(63 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:16-->
<!--T:16-->
{{Docnav
{{Docnav|[[TechDraw_CosmeticVertex|Cosmetic Vertex]]|[[TechDraw_CosmeticEraser|CosmeticEraser]]|[[TechDraw_Module|TechDraw]]|IconL=Techdraw-facecenterline.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-eraser.svg}}
|[[TechDraw_Quadrants|Quadrants]]
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_Quadrants.svg
|IconR=TechDraw_2LineCenterLine.svg
|IconC=Workbench_TechDraw.svg
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw FaceCenterLine
|Name=TechDraw FaceCenterLine
|MenuLocation=TechDraw → Add Lines → Add Centerline to Faces
|Icon=techdraw-facecenterline.svg
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|MenuLocation=TechDraw → FaceCenterLine
|Workbenches=[[TechDraw Module|TechDraw]]
|SeeAlso=[[TechDraw CosmeticVertex]], [[TechDraw CosmeticEraser]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_2LineCenterLine|TechDraw 2LineCenterLine]], [[TechDraw_2PointCenterLine|TechDraw 2PointCenterLine]]
}}
}}


Line 17: Line 24:


<!--T:8-->
<!--T:8-->
The FaceCenterLine tool adds a center line to one or more Faces.
The '''TechDraw FaceCenterLine''' tool adds a centerline to selected faces.


</translate>
</translate>
[[Image:TechDraw_FaceCenterLine_Sample.png]]
[[Image:TechDraw_FaceCenterLine_Sample.png|400px]]
<translate>
<translate>
<!--T:9-->
<!--T:9-->
{{Caption|Center line added to face}}
{{Caption|Centerline added to a face}}


==How to use== <!--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]] [[TechDraw FaceCenterLine|FaceCenterLine]]}} 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 center line.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_FaceCenterLine.svg|16px]] Add Centerline to Faces}} option from the menu.
# A center line 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).


==Usage edit== <!--T:28-->


==Properties== <!--T:19-->
<!--T:22-->
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.


<!--T:20-->
<!--T:23-->
# Select a centerline.
Cosmetic center lines have no properties of their own, as they are not Document Objects.
# Invoke a centerline tool.
# A task panel opens. See [[#Options|Options]] for more information.
# Press the {{Button|OK}} button to confirm.


==Scripting== <!--T:6-->
==Options== <!--T:19-->


<!--T:12-->
<!--T:24-->
* '''Orientation''':
{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].
** '''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:
** [[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'''


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


<!--T:25-->
<translate>
* To delete a centerline select it and press {{KEY|Delete}}. {{Version|1.0}}
* FaceCenterLines will eventually replace two View properties:
** {{PropertyView|HorizCenterLine}}: Show a horizontal centerline through view.
** {{PropertyView|VertCenterLine}}: Show a vertical centerline through view.


==Notes== <!--T:18-->
==Properties== <!--T:29-->
* n/a


<!--T:17-->
<!--T:30-->
Centerlines have no properties of their own, as they are not document objects.
{{Docnav|[[TechDraw_CosmeticVertex|Cosmetic Vertex]]|[[TechDraw_CosmeticEraser|CosmeticEraser]]|[[TechDraw_Module|TechDraw]]|IconL=Techdraw-point.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-eraser.svg}}


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


<!--T:15-->
<!--T:17-->
{{Docnav
{{Userdocnavi}}
|[[TechDraw_Quadrants|Quadrants]]
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_Quadrants.svg
|IconR=TechDraw_2LineCenterLine.svg
|IconC=Workbench_TechDraw.svg
}}

</translate>
</translate>
{{TechDraw Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 10:20, 21 April 2024

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 select it and press Delete. introduced in version 1.0
  • 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.