TechDraw Midpoints: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Notes)
Line 41: Line 41:
<!--T:22-->
<!--T:22-->
To delete a Midpoint, select it and use the toolbar button {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.
To delete a Midpoint, select it and use the toolbar button {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.

==Notes==

* The created cosmetic vertices are not parametrically linked to the selected edges.
* To delete a cosmetic vertex use [[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|TechDraw CosmeticEraser]].


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

Revision as of 11:27, 27 July 2023

TechDraw Midpoints

Menu location
TechDraw → Add Vertices → Add Midpoint Vertices
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw Cosmetic Vertex, TechDraw Quadrant Vertices

Description

The TechDraw Midpoints tool adds cosmetic vertices at the midpoint of one or more selected edges.

Cosmetic vertices at the midpoint of edges

Usage

  1. Select one or more edges in a view.
  2. Press the Add Midpoint Vertices button
  3. Cosmetic Vertices will be added at the mid-point(s) of the Edge(s).

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

Notes

  • The created cosmetic vertices are not parametrically linked to the selected edges.
  • To delete a cosmetic vertex use TechDraw CosmeticEraser.

Properties

Cosmetic vertices have no properties of their own, as they are not document objects. They share color and size settings with regular geometry vertices.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

Cosmetic Vertices are not accessible from macros or the Python console at this time. This snippet will remove all Cosmetic Vertices from the View.

>>> v = App.ActiveDocument.View
>>> v.clearCV()
>>> App.activeDocument().recompute()