|TechDraw → Add Vertices → Add Cosmetic Vertex|
|Introduced in version|
|Add Midpoint Vertices, Add Quadrant Vertices|
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
- Select a view in the drawing.
- Press the button
- A task dialog will open. It allows to set location of the Cosmetic Vertex either by picking a point or by entering an x,y-offset from the center of the selected view.
- To pick a position, press the button . Click to a position in the view and subsequently press to create the point. To exit the point picking without creating a Cosmetic Vertex, press the button in the dialog.
To delete a Cosmetic Vertex, select it and use the toolbar button.
Note: You cannot change the location of the Cosmetic Vertex after it has been created. At the moment there is no other way than to delete it and creating a new one.
Cosmetic Vertices have no properties of their own, as they are no 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)