TechDraw 2PointCenterLine: Difference between revisions

From FreeCAD Documentation
No edit summary
(deletion info)
Line 37: Line 37:
<!--T:7-->
<!--T:7-->
# Select 2 Vertexes in a View.
# Select 2 Vertexes in a View.
# Press the {{Button|[[Image:TechDraw_2PointCenterLine.svg|16px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]}} button
# Press the {{Button|[[Image:TechDraw_2PointCenterLine.svg|16px]] Add Centerline between 2 Points}} button
# A dialog will open where you can specify attributes of the new center line.
# A dialog will open where you can specify attributes of the new center line.
# A center line will be added between the 2 selected Vertices.
# A center line will be added between the 2 selected Vertices.

To delete a Centerline, select it and use the toolbar button {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.


==Editing Center Lines== <!--T:8-->
==Editing Center Lines== <!--T:8-->

Revision as of 12:25, 29 March 2020

TechDraw 2PointCenterLine

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

Description

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

Center line 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 center line.
  4. A center line will be added between the 2 selected Vertices.

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

Editing Center Lines

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 center line.
  2. Press any center line command button.
  3. A dialog will open where you can change attributes of the centerline.
  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 centerlines.

  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.

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