|TechDraw → CosmeticVertex|
|Introduced in version|
|TechDraw Midpoints, TechDraw Quadrant|
The Cosmetic Vertex tool adds a Vertex, which is not part of the source geometry, to a View. This Vertex behaves like any other vertex and can be used for Dimensioning.
Cosmetic Vertex used to create an otherwise impossible Dimension
How to use
- Press the button
- 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.
- 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.
- To exit the "point picker" without creating a Cosmetic Vertex, press the "Escape picking" button in the dialog.
Cosmetic Vertices have no properties of their own, as they are not Document Objects. They share color and size settings with regular geometry vertices.
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)