TechDraw 2PointCenterLine: Difference between revisions

From FreeCAD Documentation
(Usage -> Usage create)
(Removed the "Scripting" and the "Properties" paragraphs.)
Line 58: Line 58:
# A dialog will open where you can change attributes of the centerline.
# A dialog will open where you can change attributes of the centerline.
# Press {{Button|OK}} to see your changes.
# Press {{Button|OK}} to see your changes.

==Properties== <!--T:11-->

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

<!--T:21-->
# 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
# '''Shift Horiz''': Moves the centerline left or right of its normal position
# '''Shift Vert''': Moves the centerline up or down from its normal position
# '''Rotate''': Rotates the centerline around its center (degrees. + counterclockwise, - clockwise)
# '''Extend''': Makes the centerline longer by this amount
# '''Color''': Color of centerline
# '''Weight''': Thickness of the centerline
# '''Style''': [[Image:Continuous-line.svg|20px]] Continuous, [[Image:Dash-line.svg|20px]] Dash, [[Image:Dot-line.svg|20px]] Dot, [[Image:DashDot-line.svg|20px]] DashDot, [[Image:DashDotDot-line.svg|20px]] DashDotDot

==Scripting== <!--T:13-->

<!--T:14-->
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<!--T:15-->
Centerlines are not accessible from [[Macros|macros]] or the [[Python|Python]] console at this time.





Revision as of 13:17, 26 July 2023

TechDraw 2PointCenterLine

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

Description

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

Centerline between 2 Points

Usage create

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

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

Usage edit

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.