TechDraw Midpoints: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(No need for the note as the version was already added to the GuiCommand template)
Line 54: Line 54:


<translate>
<translate>

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

<!--T:21-->
* This feature was added in v0.19


<!--T:17-->
<!--T:17-->

Revision as of 18:01, 6 September 2019

File:Techdraw-midpoint.svg TechDraw Midpoints

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

Description

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

Cosmetic Vertices at midpoints of Edges

How to use

  1. Select one or more Edges in a View.
  2. Press the File:Techdraw-midpoint.svg Midpoints button
  3. Cosmetic Vertices will be added at the mid-point(s) of the Edge(s).


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