TechDraw Midpoints: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
(12 intermediate revisions by 6 users not shown)
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|Add Cosmetic Vertex]]
|[[TechDraw_Quadrants|Add Quadrant Vertices]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_CosmeticVertex.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Quadrants.svg
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw Midpoints
|Name=TechDraw Midpoints
|MenuLocation=TechDraw → Add Vertices → Add Midpoints Vertices
|Icon=techdraw-midpoint.svg
|MenuLocation=TechDraw → Midpoints
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw Module|TechDraw]]
|SeeAlso=[[TechDraw CosmeticVertex]], [[TechDraw Quadrant]]
|SeeAlso=[[TechDraw_CosmeticVertex|Add Cosmetic Vertex]], [[TechDraw_Quadrants|Add Quadrant Vertices]]
|Version=0.19
|Version=0.19
}}
}}
Line 17: Line 23:


<!--T:8-->
<!--T:8-->
The Midpoints tool adds Cosmetic Vertices at the midpoints of one or more Edges.
The Midpoints tool adds Cosmetic [[Glossary#V|Vertices]] at the midpoints of one or more Edges.


</translate>
</translate>
[[Image:TechDraw_CosmeticMidpoint_Sample.png]]
[[Image:TechDraw_CosmeticMidpoint_Sample.png|250px]]
<translate>
<translate>
<!--T:9-->
<!--T:9-->
{{Caption|Cosmetic Vertices at midpoints of Edges}}
{{Caption|Cosmetic Vertices at midpoints of Edges}}


==How to use== <!--T:3-->
==Usage== <!--T:3-->


<!--T:10-->
<!--T:10-->
# Select one or more Edges in a View.
# Select one or more Edges in a View.
# Press the {{Button|[[Image:techdraw-midpoint.svg|16px]] [[TechDraw Midpoints|Midpoints]]}} button
# Press the {{Button|[[Image:TechDraw_Midpoints.svg|16px]] Add Midpoint Vertices}} button
# Cosmetic Vertices will be added at the mid-point(s) of the Edge(s).
# Cosmetic Vertices will be added at the mid-point(s) of the Edge(s).


<!--T:22-->
To delete a Midpoint, select it and use the toolbar button {{Button|[[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|Remove Cosmetic Object]]}}.


==Properties== <!--T:19-->
==Properties== <!--T:19-->
Line 41: Line 49:


<!--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 54: Line 62:


<translate>
<translate>

==Notes== <!--T:18-->
* This feature was added in v0.19


<!--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|Add Cosmetic Vertex]]

|[[TechDraw_Quadrants|Add Quadrant Vertices]]
<!--T:14-->
|[[TechDraw_Module|TechDraw]]
{{TechDraw Tools navi}}
|IconL=TechDraw_CosmeticVertex.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Quadrants.svg
}}


<!--T:15-->
{{Userdocnavi}}
</translate>
</translate>
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

Revision as of 21:09, 29 March 2020

TechDraw Midpoints

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

Description

The Midpoints tool adds Cosmetic Vertices at the midpoints of one or more 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: 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()