TechDraw Midpoints: Difference between revisions

From FreeCAD Documentation
m (a didn’t match with vertices)
mNo edit summary
Line 15: Line 15:
{{GuiCommand
{{GuiCommand
|Name=TechDraw Midpoints
|Name=TechDraw Midpoints
|MenuLocation=TechDraw → Add Vertices → Add Midpoints Vertices
|MenuLocation=TechDraw → Add Vertices → Add Midpoint Vertices
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Version=0.19
|Version=0.19

Revision as of 09:12, 24 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 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()