TechDraw CosmeticCircle: Difference between revisions

From FreeCAD Documentation
No edit summary
(V0.22 -> V1.0)
 
(15 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
{{Docnav
{{Docnav
|[[TechDraw_2PointCosmeticLine.svg|2PointCosmeticLine]]
|[[TechDraw_2PointCosmeticLine|2PointCosmeticLine]]
|[[TechDraw_DecorateLine|DecorateLine]]
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2PointCosmeticLine.svg
|IconL=TechDraw_2PointCosmeticLine.svg
|IconR=TechDraw_CosmeticEraser.svg
|IconR=TechDraw_DecorateLine.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
Line 17: Line 17:
|MenuLocation=TechDraw → Add Lines → Add Cosmetic Circle
|MenuLocation=TechDraw → Add Lines → Add Cosmetic Circle
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Version=0.22
|Version=1.0
|SeeAlso=[[TechDraw_2PointCosmeticLine.svg|TechDraw 2PointCosmeticLine]]
|SeeAlso=[[TechDraw_2PointCosmeticLine|TechDraw 2PointCosmeticLine]]
}}
}}


Line 24: Line 24:


<!--T:4-->
<!--T:4-->
The '''TechDraw CosmeticCircle''' tool adds a cosmetic circle at a selected point. The point can be 2D or 3D.
The '''TechDraw CosmeticCircle''' tool adds a cosmetic circle at a selected center point. The point can be 2D or 3D.


</translate>
</translate>
Line 31: Line 31:


<!--T:5-->
<!--T:5-->
{{Caption|Cosmetic Circle}}
{{Caption|Cosmetic circle}}


==Usage create== <!--T:6-->
==Usage create== <!--T:6-->


<!--T:7-->
<!--T:7-->
# Select a points in a TechDraw View or in the [[3D_view|3D view]].
# Select a center point in a TechDraw View or in the [[3D_view|3D view]].
# If you have selected points in the 3D view: add the correct TechDraw View to the selection by selecting it in the [[Tree_view|Tree view]].
# 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|Tree view]].
# There are several ways to invoke the tool:
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:TechDraw_CosmeticCircle.svg|16px]] [[TechDraw_CosmeticCircle|Add Cosmetic Circle]]}} button.
#* Press the {{Button|[[Image:TechDraw_CosmeticCircle.svg|16px]] [[TechDraw_CosmeticCircle|Add Cosmetic Circle]]}} button.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_CosmeticCircle.svg|16px]] Add Cosmetic Circle}} option from the menu.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_CosmeticCircle.svg|16px]] Add Cosmetic Circle}} option from the menu.
# A task panel opens.
# A task panel opens.
# Optionally adjust the coordinates of the points.
# Optionally adjust the coordinates of the center point, the radius, and the start and end angles of the circle.
# Press the {{Button|OK}} button.
# Press the {{Button|OK}} button.
# A cosmetic circle is added. In the case of a 3D center point, the circle is located at the projection of the point.
# A cosmetic circle is added. In the case of a 3D center point, the circle is located at the projection of the point.
Line 57: Line 57:
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_CosmeticCircle.svg|16px]] Add Cosmetic Circle}} option from the menu.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_CosmeticCircle.svg|16px]] Add Cosmetic Circle}} option from the menu.
# A task panel opens.
# A task panel opens.
# Adjust the coordinates of the center point, the radius or the start and end angles of a circular arc..
# Adjust the coordinates of the center point, the radius, or the start and end angles of the circle.
# Press the {{Button|OK}} button.
# Press the {{Button|OK}} button.


==Notes== <!--T:24-->
==Notes== <!--T:11-->


<!--T:25-->
<!--T:12-->
* To delete a cosmetic circle use [[Image:TechDraw_CosmeticEraser.svg|16px]] [[TechDraw_CosmeticEraser|TechDraw CosmeticEraser]] or select it and press the {{Key|Del}} button.
* To delete a cosmetic circle select it and press {{KEY|Delete}}.
* To change the appearance of a cosmetic circle use [[Image:TechDraw_DecorateLine.svg|16px]] [[TechDraw_DecorateLine|TechDraw DecorateLine]].
* To change the appearance of a cosmetic circle use [[Image:TechDraw_DecorateLine.svg|16px]] [[TechDraw_DecorateLine|TechDraw DecorateLine]].


==Properties== <!--T:11-->
==Properties== <!--T:13-->


<!--T:12-->
<!--T:14-->
Cosmetic circles have no properties of their own, as they are not document objects.
Cosmetic circles have no properties of their own, as they are not document objects.


==Scripting== <!--T:13-->
==Scripting== <!--T:15-->


<!--T:14-->
<!--T:16-->
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:15-->
<!--T:17-->
Cosmetic circles can be created using the {{Incode|makeCosmeticCircle(center, radius, start angle, end angle)}} method of DrawViewPart.
Cosmetic circles can be created using the {{Incode|makeCosmeticCircle(center, radius, start angle, end angle)}} method of DrawViewPart.


Line 82: Line 82:
<!--T:18-->
<!--T:18-->
{{Docnav
{{Docnav
|[[TechDraw_2PointCosmeticLine.svg|2PointCenterLine]]
|[[TechDraw_2PointCosmeticLine|2PointCosmeticLine]]
|[[TechDraw_DecorateLine|DecorateLine]]
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_2PointCosmeticLine.svg.svg
|IconL=TechDraw_2PointCosmeticLine.svg
|IconR=TechDraw_CosmeticEraser.svg
|IconR=TechDraw_DecorateLine.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}


</translate>
</translate>
{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 10:57, 21 April 2024

Other languages:

TechDraw CosmeticCircle

Menu location
TechDraw → Add Lines → Add Cosmetic Circle
Workbenches
TechDraw
Default shortcut
None
Introduced in version
1.0
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, the radius, and the start and end angles of the circle.
  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

  • To delete a cosmetic circle select it and press Delete.
  • To change the appearance of a cosmetic circle use TechDraw DecorateLine.

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.