Jump to content

TechDraw Midpoints

From FreeCAD Documentation
Revision as of 10:20, 21 April 2024 by Roy 043 (talk | contribs) (V0.22 -> V1.0)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

TechDraw Midpoints

Menu location
TechDraw → Add Vertices → Add Midpoint Vertices
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw CosmeticVertex, TechDraw Quadrants

Description[edit | edit source]

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

Cosmetic vertices at the midpoint of edges

Usage[edit | edit source]

  1. Select one or more edges in a view.
  2. There are several ways to invoke the tool:
    • Press the Add Midpoint Vertices button.
    • Select the TechDraw → Add Vertices → Add Midpoint Vertices option from the menu.

Notes[edit | edit source]

  • The created cosmetic vertices are not parametrically linked to the selected edges.
  • To delete a cosmetic vertex select it and press Delete. introduced in 1.0

Properties[edit | edit source]

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[edit | edit source]

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