TechDraw 2PointCenterLine: Difference between revisions

From FreeCAD Documentation
(update)
m (wording)
Line 48: Line 48:
{{Button|[[Image:TechDraw_2LineCenterLine.svg|16px]] [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]}},
{{Button|[[Image:TechDraw_2LineCenterLine.svg|16px]] [[TechDraw_2LineCenterLine|Add Centerline between 2 Lines]]}},
{{Button|[[Image:TechDraw_2PointCenterLine.svg|16px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]}})
{{Button|[[Image:TechDraw_2PointCenterLine.svg|16px]] [[TechDraw_2PointCenterLine|Add Centerline between 2 Points]]}})
can be used to edit any center line.
can be used to edit any centerline.


<!--T:10-->
<!--T:10-->
# Select a center line.
# Select a center line.
# Press any center line command button.
# Press any center line command button.
# A dialog will open where you can change attributes of thecenter line.
# A dialog will open where you can change attributes of the centerline.
# Press OK to see your changes.
# Press OK to see your changes.


Line 59: Line 59:


<!--T:12-->
<!--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 centerlines.


<!--T:21-->
<!--T:21-->

Revision as of 15:03, 2 February 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

How to use

  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.

Editing Center Lines

Any of the center line 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):
    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

none