TechDraw CosmeticCircle

From FreeCAD Documentation
Revision as of 17:42, 21 September 2023 by Roy 043 (talk | contribs) (→‎Usage edit)
Other languages:

TechDraw CosmeticCircle

Menu location
TechDraw → Add Lines → Add Cosmetic Circle
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.22
See also
TechDraw 2PointCosmeticLine

Description

The TechDraw CosmeticCircle tool adds a cosmetic circle at a selected center point. The point can be 2D or 3D.

Cosmetic circle

Usage create

  1. Select a center point in a TechDraw View or in the 3D view.
  2. If you have selected a point in the 3D view: add the correct TechDraw View to the selection by selecting it in the Tree view.
  3. There are several ways to invoke the tool:
    • Press the Add Cosmetic Circle button.
    • Select the TechDraw → Add Lines → Add Cosmetic Circle option from the menu.
  4. A task panel opens.
  5. Optionally adjust the coordinates of the center point.
  6. Press the OK button.
  7. A cosmetic circle is added. In the case of a 3D center point, the circle is located at the projection of the point.

Usage edit

To change the attributes of a cosmetic circle:

  1. Select the cosmetic circle.
  2. There are several ways to invoke the tool:
    • Press the Add Cosmetic Circle button.
    • Select the TechDraw → Add Lines → Add Cosmetic Circle option from the menu.
  3. A task panel opens.
  4. Adjust the coordinates of the center point, the radius, or the start and end angles of the circle.
  5. Press the OK button.

Notes

Properties

Cosmetic circles have no properties of their own, as they are not document objects.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

Cosmetic circles can be created using the makeCosmeticCircle(center, radius, start angle, end angle) method of DrawViewPart.