TechDraw 2PointCenterLine: Difference between revisions

From FreeCAD Documentation
No edit summary
(relink module to workbench)
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
{{Docnav
{{Docnav
|[[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_2PointCosmeticLine|2PointCosmeticLine]]
|[[TechDraw_CosmeticEraser|Remove Cosmetic Object]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2LineCenterLine.svg
|IconL=TechDraw_2LineCenterLine.svg
|IconR=TechDraw_2PointCosmeticLine.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_CosmeticEraser.svg
}}
}}


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_Workbench|TechDraw]]
|SeeAlso=[[TechDraw_FaceCenterLine|TechDraw Add Centerline to Face(s)]], [[TechDraw_2LineCenterLine|TechDraw Add Centerline between 2 Lines]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_FaceCenterLine|TechDraw Centerline to Face(s)]], [[TechDraw_2LineCenterLine|TechDraw Centerline between 2 Lines]]
}}
}}


Line 62: Line 62:


<!--T:12-->
<!--T:12-->
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.
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:21-->
<!--T:21-->
Line 84: Line 84:
<!--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-->
{{Docnav
{{Docnav
|[[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]
|[[TechDraw_2LineCenterLine|2LineCenterLine]]
|[[TechDraw_2PointCosmeticLine|2PointCosmeticLine]]
|[[TechDraw_CosmeticEraser|Remove Cosmetic Object]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2LineCenterLine.svg
|IconL=TechDraw_2LineCenterLine.svg
|IconR=TechDraw_2PointCosmeticLine.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_CosmeticEraser.svg
}}
}}



Revision as of 16:17, 26 August 2021

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 Centerline to Face(s), TechDraw Centerline between 2 Lines

Description

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

Centerline between 2 Points

Usage

  1. Select 2 Vertexes in a View.
  2. Press the 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 Remove Cosmetic Object.

Editing Centerlines

Any of the centerline command buttons ( Add Centerline to Face(s), Add Centerline between 2 Lines, 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, Dash, Dot, DashDot, DashDotDot

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

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