Difference between revisions of "TechDraw 2PointCenterLine"

From FreeCAD Documentation
Jump to: navigation, search
m ((Vertical Docnav))
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
<!--T:16-->
 
{{Docnav|[[TechDraw_2LineCenterLine|2LineCenterLine]]|[[TechDraw_CosmeticEraser|CosmeticEraser]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-2linecenterline.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-eraser.svg}}
 
  
 
<!--T:1-->
 
<!--T:1-->
 +
{{Docnav
 +
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
 +
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
 +
|[[TechDraw_Module|TechDraw]]
 +
|IconL=techdraw-2linecenterline.svg
 +
|IconC=Workbench_TechDraw.svg
 +
|IconR=Techdraw-eraser.svg
 +
}}
 +
 +
<!--T:2-->
 
{{GuiCommand
 
{{GuiCommand
 
|Name=TechDraw 2PointCenterLine
 
|Name=TechDraw 2PointCenterLine
Line 10: Line 18:
 
|MenuLocation=TechDraw → 2PointCenterLine
 
|MenuLocation=TechDraw → 2PointCenterLine
 
|Workbenches=[[TechDraw Module|TechDraw]]
 
|Workbenches=[[TechDraw Module|TechDraw]]
|SeeAlso=[[TechDraw FaceCenterLine]], [[TechDraw 2LineCenterLine]]
+
|SeeAlso=[[TechDraw FaceCenterLine|TechDraw FaceCenterLine]], [[TechDraw 2LineCenterLine|TechDraw 2LineCenterLine]]
 
|Version=0.19
 
|Version=0.19
 
}}
 
}}
  
==Description== <!--T:2-->
+
==Description== <!--T:3-->
  
<!--T:8-->
+
<!--T:4-->
 
The 2PointCenterLine tool adds a center line between two Vertices (Points).
 
The 2PointCenterLine tool adds a center line between two Vertices (Points).
  
Line 22: Line 30:
 
[[Image:CL2PointsSample.png]]
 
[[Image:CL2PointsSample.png]]
 
<translate>
 
<translate>
<!--T:9-->
+
 
 +
<!--T:5-->
 
{{Caption|Center line between 2 Points}}
 
{{Caption|Center line between 2 Points}}
  
==How to use== <!--T:3-->
+
==How to use== <!--T:6-->
  
<!--T:10-->
+
<!--T:7-->
 
# Select 2 Vertexes in  a View.
 
# Select 2 Vertexes in  a View.
 
# Press the {{Button|[[Image:techdraw-2pointcenterline.svg|16px]] [[TechDraw 2PointCenterLine|2PointCenterLine]]}} button
 
# Press the {{Button|[[Image:techdraw-2pointcenterline.svg|16px]] [[TechDraw 2PointCenterLine|2PointCenterLine]]}} button
Line 33: Line 42:
 
# A center line will be added between the 2 selected Vertices.
 
# A center line will be added between the 2 selected Vertices.
  
==Editing Center Lines== <!--T:20-->
+
==Editing Center Lines== <!--T:8-->
 +
 
 +
<!--T:9-->
 
Any of the center line command buttons (
 
Any of the center line command buttons (
 
{{Button|[[Image:techdraw-facecenterline.svg|16px]] [[TechDraw FaceCenterLine|FaceCenterLine]]}},  
 
{{Button|[[Image:techdraw-facecenterline.svg|16px]] [[TechDraw FaceCenterLine|FaceCenterLine]]}},  
Line 40: Line 51:
 
can be used to edit any center line.   
 
can be used to edit any center line.   
  
 +
<!--T:10-->
 
# Select a center line.
 
# Select a center line.
 
# Press any center line command button.
 
# Press any center line command button.
Line 45: Line 57:
 
# Press OK to see your changes.
 
# Press OK to see your changes.
  
==Properties== <!--T:19-->
+
==Properties== <!--T:11-->
  
<!--T:20-->
+
<!--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
+
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:21-->
 
# Mode (radio buttons):  
 
# Mode (radio buttons):  
 
## Vertical: force center line vertical  
 
## Vertical: force center line vertical  
 
## Horizontal: force center line horizontal  
 
## Horizontal: force center line horizontal  
 
## Aligned: follow the general direction of the Edge for 2 Edge center line
 
## 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 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
+
# Shift Vert: move the center line up or down from its normal position
## Rotate: rotate the center line around its center (degrees. + CCW, -CW)
+
# Rotate: rotate the center line around its center (degrees. + CCW, -CW)
## Extend: make the center line longer by this amount
+
# Extend: make the center line longer by this amount
## Color: color of center line
+
# Color: color of center line
## Weight: thickness of the center line
+
# Weight: thickness of the center line
## Style: NoLine, Solid, Dash, Dot, DashDot, DashDotDot  
+
# Style: NoLine, Solid, Dash, Dot, DashDot, DashDotDot
  
==Scripting== <!--T:6-->
+
==Scripting== <!--T:13-->
  
<!--T:12-->
+
<!--T:14-->
{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].
+
{{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:13-->
+
==Notes== <!--T:16-->
Cosmetic center lines are not accessible from [[macros]] or the [[Python]] console at this time. 
 
  
==Notes== <!--T:18-->
+
<!--T:17-->
 
# none
 
# none
  
<!--T:17-->
+
<!--T:18-->
{{Docnav|[[TechDraw_2LineCenterLine|2LineCenterLine]]|[[TechDraw_EraserCenterLine|CosmeticEraser]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-2linecenterline.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-eraser.svg}}
+
{{Docnav
 +
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
 +
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
 +
|[[TechDraw_Module|TechDraw]]
 +
|IconL=techdraw-2linecenterline.svg
 +
|IconC=Workbench_TechDraw.svg
 +
|IconR=Techdraw-eraser.svg
 +
}}
  
<!--T:14-->
+
<!--T:19-->
 
{{TechDraw Tools navi}}
 
{{TechDraw Tools navi}}
  
<!--T:15-->
+
<!--T:20-->
 
{{Userdocnavi}}
 
{{Userdocnavi}}
 
</translate>
 
</translate>
 
{{clear}}
 
{{clear}}

Revision as of 16:55, 15 October 2019

Other languages:
English • ‎français • ‎italiano

Techdraw-2linecenterline.svg TechDraw 2PointCenterLine

Menu location
TechDraw → 2PointCenterLine
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw FaceCenterLine, TechDraw 2LineCenterLine


Description

The 2PointCenterLine tool adds a center line between two Vertices (Points).

CL2PointsSample.png

Center line between 2 Points


How to use

  1. Select 2 Vertexes in a View.
  2. Press the Techdraw-2pointcenterline.svg 2PointCenterLine button
  3. A dialog will open where you can specify attributes of the new center line.
  4. A center line will be added between the 2 selected Vertices.

Editing Center Lines

Any of the center line command buttons ( Techdraw-facecenterline.svg FaceCenterLine, Techdraw-2linecenterline.svg 2LineCenterLine, Techdraw-2pointcenterline.svg 2PointCenterLine) can be used to edit any center line.

  1. Select a center line.
  2. Press any center line command button.
  3. A dialog will open where you can change attributes of thecenter line.
  4. Press OK to see your changes.

Properties

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.

  1. Mode (radio buttons):
    1. Vertical: force center line vertical
    2. Horizontal: force center line horizontal
    3. Aligned: follow the general direction of the Edge for 2 Edge center line
  2. Shift Horiz: move the center line left or right of its normal position
  3. Shift Vert: move the center line up or down from its normal position
  4. Rotate: rotate the center line around its center (degrees. + CCW, -CW)
  5. Extend: make the center line longer by this amount
  6. Color: color of center line
  7. Weight: thickness of the center line
  8. Style: NoLine, Solid, Dash, Dot, DashDot, DashDotDot

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

Cosmetic center lines are not accessible from macros or the Python console at this time.

Notes

  1. none