TechDraw Midpoints: Difference between revisions

From FreeCAD Documentation
No edit summary
(deletion info)
Line 35: Line 35:
<!--T:10-->
<!--T:10-->
# Select one or more Edges in a View.
# Select one or more Edges in a View.
# Press the {{Button|[[Image:TechDraw_Midpoints.svg|16px]] [[TechDraw_Midpoints|Add Midpoint Vertices]]}} button
# Press the {{Button|[[Image:TechDraw_Midpoints.svg|16px]] Add Midpoint Vertices}} button
# Cosmetic Vertices will be added at the mid-point(s) of the Edge(s).
# 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 {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.


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

Revision as of 12:26, 29 March 2020

TechDraw Midpoints

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

Description

The Midpoints tool adds Cosmetic Vertices at the midpoints of one or more Edges.

Cosmetic Vertices at midpoints 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.

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: TechDraw API 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()