TechDraw Midpoints: Difference between revisions

From FreeCAD Documentation
(No need for the note as the version was already added to the GuiCommand template)
m ([[ | ]])
Line 2: Line 2:
<translate>
<translate>
<!--T:16-->
<!--T:16-->
{{Docnav
{{Docnav|[[TechDraw_CosmeticVertex|Cosmetic Vertex]]|[[TechDraw_Quadrant|Quadrant]]|[[TechDraw_Module|TechDraw]]|IconL=Techdraw-point.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-quadrant.svg}}
|[[TechDraw_CosmeticVertex|Cosmetic Vertex]]
|[[TechDraw_Quadrant|Quadrant]]
|[[TechDraw_Module|TechDraw]]
|IconL=Techdraw-point.svg
|IconC=Workbench_TechDraw.svg
|IconR=Techdraw-quadrant.svg
}}


<!--T:1-->
<!--T:1-->
Line 10: Line 17:
|MenuLocation=TechDraw → Midpoints
|MenuLocation=TechDraw → Midpoints
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw Module|TechDraw]]
|SeeAlso=[[TechDraw CosmeticVertex]], [[TechDraw Quadrant]]
|SeeAlso=[[TechDraw CosmeticVertex|TechDraw CosmeticVertex]], [[TechDraw Quadrant|TechDraw Quadrant]]
|Version=0.19
|Version=0.19
}}
}}
Line 41: Line 48:


<!--T:12-->
<!--T:12-->
{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].


<!--T:13-->
<!--T:13-->
Cosmetic Vertices are not accessible from [[macros]] or the [[Python]] console at this time. This snippet will remove all Cosmetic Vertices from the View.
Cosmetic Vertices are not accessible from [[macros|macros]] or the [[Python|Python]] console at this time. This snippet will remove all Cosmetic Vertices from the View.


</translate>
</translate>
Line 56: Line 63:


<!--T:17-->
<!--T:17-->
{{Docnav
{{Docnav|[[TechDraw_CosmeticVertex|Cosmetic Vertex]]|[[TechDraw_Quadrant|Quadrant]]|[[TechDraw_Module|TechDraw]]|IconL=Techdraw-point.svg|IconC=Workbench_TechDraw.svg|IconR=Techdraw-quadrant.svg}}
|[[TechDraw_CosmeticVertex|Cosmetic Vertex]]
|[[TechDraw_Quadrant|Quadrant]]
|[[TechDraw_Module|TechDraw]]
|IconL=Techdraw-point.svg
|IconC=Workbench_TechDraw.svg
|IconR=Techdraw-quadrant.svg
}}


<!--T:14-->
<!--T:14-->

Revision as of 15:26, 15 October 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()