TechDraw Hilfspunkt

From FreeCAD Documentation
Revision as of 12:54, 25 January 2020 by Maker (talk | contribs) (Created page with "Das kosmetische Knoten Werkzeug fügt einer Ansicht einen Knoten hinzu, der nicht Teil der Quellgeometrie ist. Dieser Knoten verhält sich wie jeder andere Knoten und kann fü...")

File:Techdraw-point.svg TechDraw CosmeticVertex

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

Beschreibung

Das kosmetische Knoten Werkzeug fügt einer Ansicht einen Knoten hinzu, der nicht Teil der Quellgeometrie ist. Dieser Knoten verhält sich wie jeder andere Knoten und kann für die Bemaßung verwendet werden.

Cosmetic Vertex used to create an otherwise impossible Dimension

How to use

  1. Press the File:Techdraw-mline.svg CosmeticVertex button
  2. A Task dialog will open. The dialog allows selection of the location of the Cosmetic Vertex though the use of a "point picker" or by entering coordinates. The coordinates are the position within the View relative to the View center.
  3. The Pick points button starts a "point picker". Once a location is selected a small circle will appear. The Cosmetic Vertex will be added once the "OK" button is pressed.
  4. To exit the "point picker" without creating a Cosmetic Vertex, press the "Escape picking" button in the dialog.


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 available to macros or the Python console.

dvp = App.ActiveDocument.View
org = App.Vector(0.0, 0.0, 0.0)
dvp.makeCosmeticVertex(org);

#lines too!
start = FreeCAD.Vector (1.0, 5.0, 0.0)
end = FreeCAD.Vector(1.0, -5.0, 0.0)
style = 2
weight = 0.75
pyGreen = (0.0, 0.0, 1.0, 0.0)
dvp.makeCosmeticLine(start,end,style, weight, pyGreen)