TechDraw Midpoints

    From FreeCAD Documentation

    TechDraw Midpoints.svg 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

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

    TechDraw CosmeticMidpoint Sample.png

    Cosmetic vertices at the midpoint of edges

    Usage

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

    Notes

    • The created cosmetic vertices are not parametrically linked to the selected edges.
    • To delete a cosmetic vertex use TechDraw CosmeticEraser.svg TechDraw CosmeticEraser.

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