Difference between revisions of "TechDraw 2PointCenterLine"

From FreeCAD Documentation
Jump to navigation Jump to search
(Marked this version for translation)
Line 16: Line 16:
 
|Name=TechDraw 2PointCenterLine
 
|Name=TechDraw 2PointCenterLine
 
|MenuLocation=TechDraw → Add Lines → Add Centerline between 2 points
 
|MenuLocation=TechDraw → Add Lines → Add Centerline between 2 points
|Workbenches=[[TechDraw Module|TechDraw]]
+
|Workbenches=[[TechDraw_Module|TechDraw]]
|SeeAlso=[[TechDraw_FaceCenterLine|Add Centerline to Face(s)]], [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]
+
|SeeAlso=[[TechDraw_FaceCenterLine|TechDraw Add Centerline to Face(s)]], [[TechDraw_2LineCenterLine|TechDraw Add Centerline between 2 Lines]]
 
|Version=0.19
 
|Version=0.19
 
}}
 
}}
Line 80: Line 80:
  
 
<!--T:14-->
 
<!--T:14-->
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
+
{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
  
 
<!--T:15-->
 
<!--T:15-->
Centerlines are not accessible from [[macros|macros]] or the [[Python|Python]] console at this time.   
+
Centerlines are not accessible from [[Macros|macros]] or the [[Python|Python]] console at this time.   
  
 
<!--T:18-->
 
<!--T:18-->

Revision as of 21:41, 22 November 2020

Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎polski • ‎русский

TechDraw 2PointCenterLine.svg TechDraw 2PointCenterLine

Menu location
TechDraw → Add Lines → Add Centerline between 2 points
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw Add Centerline to Face(s), TechDraw Add Centerline between 2 Lines

Description

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

CL2PointsSample.png

Centerline between 2 Points

Usage

  1. Select 2 Vertexes in a View.
  2. Press the TechDraw 2PointCenterLine.svg Add Centerline between 2 Points button
  3. A dialog will open where you can specify attributes of the new centerline.
  4. A centerline will be added between the 2 selected Vertices.

To delete a Centerline, select it and use the toolbar button TechDraw CosmeticEraser.svg Remove Cosmetic Object.

Editing Centerlines

Any of the centerline command buttons ( TechDraw FaceCenterLine.svg Add Centerline to Face(s), TechDraw 2LineCenterLine.svg Add Centerline between 2 Lines, TechDraw 2PointCenterLine.svg Add Centerline between 2 Points) can be used to edit any centerline.

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

Properties

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.

  1. Mode (radio buttons):
    • Vertical: Forces a centerline vertical
    • Horizontal: Forces a centerline horizontal
    • Aligned: Follows the general direction of the Edge for 2 Edge centerline
  2. Shift Horiz: Moves the centerline left or right of its normal position
  3. Shift Vert: Moves the centerline up or down from its normal position
  4. Rotate: Rotates the centerline around its center (degrees. + counterclockwise, - clockwise)
  5. Extend: Makes the centerline longer by this amount
  6. Color: Color of centerline
  7. Weight: Thickness of the centerline
  8. Style: Continuous-line.svg Continuous, Dash-line.svg Dash, Dot-line.svg Dot, DashDot-line.svg DashDot, DashDotDot-line.svg DashDotDot

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

Centerlines are not accessible from macros or the Python console at this time.