TechDraw FaceCenterLine

From FreeCAD Documentation
Revision as of 21:08, 29 March 2020 by Renatorivo (talk | contribs) (Marked this version for translation)

TechDraw FaceCenterLine

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

Description

The FaceCenterLine tool adds a centerline to selected faces.

Centerline added to face

Usage

  1. Select one or more Faces in a View.
  2. Press the Add Centerline to Face(s) button
  3. A dialog will open where you can specify attributes of the new centerline.
  4. A centerline will be added at the midpoint of the bounding box of the selected Face(s).

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: This option is not possible for centerline to faces
  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.

Notes

  • FaceCenterLine will eventually replace two View properties:
    • ViewHorizCenterLine: Show a horizontal centerline through view.
    • ViewVertCenterLine: Show a vertical centerline through view.