TechDraw FaceCenterLine: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 2: Line 2:
<translate>
<translate>
<!--T:16-->
<!--T:16-->
{{Docnav|[[TechDraw_Quadrant|Quadrant]]|[[TechDraw_CosmeticEraser|CosmeticEraser]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-quadrant.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-eraser.svg}}
{{Docnav|[[TechDraw_Quadrant|Quadrant]]|[[TechDraw_2LineCenterLine|2LineCenterLine]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-quadrant.svg|IconC=Workbench_TechDraw.svg|IconR=techdraw-2linecenterline.svg}}


<!--T:1-->
<!--T:1-->
Line 34: Line 34:


==Editing Center Lines== <!--T:20-->
==Editing Center Lines== <!--T:20-->

Any of the center line command buttons ({{Button|[[Image:techdraw-facecenterline.svg|16px]] [[TechDraw FaceCenterLine|FaceCenterLine]]}}, {{Button|[[Image:techdraw-2linecenterline.svg|16px]] [[TechDraw 2LineCenterLine|2LineCenterLine]]}}, <br>
Any of the center line command buttons ({{Button|[[Image:techdraw-facecenterline.svg|16px]] [[TechDraw FaceCenterLine|FaceCenterLine]]}}, {{Button|[[Image:techdraw-2linecenterline.svg|16px]] [[TechDraw 2LineCenterLine|2LineCenterLine]]}},
{{Button|[[Image:techdraw-2pointcenterline.svg|16px]] [[TechDraw 2PointCenterLine|2PointCenterLine]]}})
{{Button|[[Image:techdraw-2pointcenterline.svg|16px]] [[TechDraw 2PointCenterLine|2PointCenterLine]]}})
can be used to edit any center line.
can be used to edit any center line.
Line 47: Line 48:
<!--T:20-->
<!--T:20-->
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 center lines

# Mode (radio buttons):
# Mode (radio buttons):
## Vertical: force center line vertical
## Vertical: force center line vertical
Line 68: Line 70:


==Notes== <!--T:18-->
==Notes== <!--T:18-->

* FaceCenterLine will eventually replace two View properties:
* FaceCenterLine will eventually replace two View properties:
** {{PropertyView|HorizCenterLine}}: Show a horizontal centerline through view.
** {{PropertyView|HorizCenterLine}}: Show a horizontal centerline through view.
Line 74: Line 77:


<!--T:17-->
<!--T:17-->
{{Docnav|[[TechDraw_Quadrant|Quadrant]]|[[TechDraw_CosmeticEraser|CosmeticEraser]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-quadrant.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-eraser.svg}}
{{Docnav|[[TechDraw_Quadrant|Quadrant]]|[[TechDraw_2LineCenterLine|2LineCenterLine]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-quadrant.svg|IconC=Workbench_TechDraw.svg|IconR=techdraw-2linecenterline.svg}}


<!--T:14-->
<!--T:14-->

Revision as of 09:08, 15 July 2019

File:Techdraw-facecenterline.svg TechDraw FaceCenterLine

Menu location
TechDraw → FaceCenterLine
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw CosmeticVertex, TechDraw CosmeticEraser

Description

The FaceCenterLine tool adds a center line to one or more Faces.

Center line added to face

How to use

  1. Select one or more Faces in a View.
  2. Press the File:Techdraw-facecenterline.svg FaceCenterLine button
  3. A dialog will open where you can specify attributes of the new center line.
  4. A center line will be added at the midpoint of the bounding box of the selected Face(s).

Editing Center Lines

Any of the center line command buttons (File:Techdraw-facecenterline.svg FaceCenterLine, File:Techdraw-2linecenterline.svg 2LineCenterLine, File:Techdraw-2pointcenterline.svg 2PointCenterLine) can be used to edit any center line.

  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):
    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

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