Rysunek Techniczny: Dodaj linię środkową pomiędzy dwoma punktami

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page TechDraw 2PointCenterLine and the translation is 5% complete.

TechDraw 2PointCenterLine.svg TechDraw 2PointCenterLine

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


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


Centerline between 2 Points


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

Editing Centerlines

Any of the centerline command buttons ( TechDraw FaceCenterLine.svg Add Centerline to Face(s), TechDraw 2LineCenterLine.svg Add Centerline between 2 Lines, TechDraw 2PointCenterLine.svg 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.


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-line.svg Continuous, Dash-line.svg Dash, Dot-line.svg Dot, DashDot-line.svg DashDot, DashDotDot-line.svg DashDotDot


See also: Autogenerated API documentation and FreeCAD Scripting Basics.

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