TechDraw Midpoints: Difference between revisions

From FreeCAD Documentation
No edit summary
(emphasised the deviding by two aspect, devide instead of split as the edges stay in one piece)
Line 24: Line 24:


<!--T:8-->
<!--T:8-->
The '''TechDraw Midpoints''' tool adds Cosmetic [[Glossary#V|Vertices]] at the midpoints of one or more Edges.
The '''TechDraw Midpoints''' tool devides one or more edges in halves by adding Cosmetic [[Glossary#V|Vertices]] at their midpoints.


</translate>
</translate>

Revision as of 23:07, 30 May 2023

TechDraw Midpoints

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

Description

The TechDraw Midpoints tool devides one or more edges in halves by adding Cosmetic Vertices at their midpoints.

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