TechDraw 2LineCenterLine

From FreeCAD Documentation
Revision as of 13:00, 19 February 2020 by Kunda1 (talk | contribs) (fix unordered list)

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

TechDraw 2LineCenterLine

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

Description

The 2LineCenterLine tool adds a center line between two Edges.

Aligned center line between 2 Edges

Usage

  1. Select 2 Edges in a View. The Edges should be more or less parallel.
  2. Press the Add Centerline between 2 Lines 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 Edges.

Note: If the generated center line looks particularly odd, you may need to edit the center line and click the "Flip ends" radio button.

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 center 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):
    • Vertical: force center line vertical
    • Horizontal: force center line horizontal
    • 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, Continuous, Dash, Dot, DashDot, DashDotDot
  9. Flip ends: sometimes required to make 2 line center lines behave correctly

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

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