TechDraw DecorateLine: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
{{Docnav
{{Docnav
|[[TechDraw_CosmeticCircle|CosmeticCircle]]
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
|[[TechDraw_ShowAll|ShowAll]]
|[[TechDraw_ShowAll|ShowAll]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_CosmeticEraser.svg
|IconL=TechDraw_CosmeticCircle.svg
|IconR=TechDraw_ShowAll.svg
|IconR=TechDraw_ShowAll.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
Line 15: Line 15:
{{GuiCommand
{{GuiCommand
|Name=TechDraw DecorateLine
|Name=TechDraw DecorateLine
|MenuLocation=TechDraw → Change Appearance of Line(s)
|MenuLocation=TechDraw → Add Lines → Change Appearance of Lines
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_ShowAll|TechDraw ShowAll]]
|SeeAlso=[[TechDraw_FaceCenterLine|TechDraw Centerline to Face(s)]], [[TechDraw_CosmeticEraser|TechDraw Cosmetic Eraser]]
}}
}}


Line 24: Line 24:


<!--T:4-->
<!--T:4-->
The '''TechDraw DecorateLine''' tool changes the appearance of Edges.
The '''TechDraw DecorateLine''' tool changes the appearance of edges, including cosmetic lines and centerlines. It can also make edges invisible.


</translate>
</translate>
[[Image:TechDrawLineDecorSampleBefore.png|180px]]
[[Image:TechDrawLineDecorSampleBefore.png|180px]]
<translate>
<translate>
<!--T:5-->
{{Caption|Sample edges before decoration}}


<!--T:5-->
{{Caption|Sample Edges before decoration}}
</translate>
</translate>
[[Image:TechDrawLineDecorSampleAfter.png|180px]]
[[Image:TechDrawLineDecorSampleAfter.png|180px]]
<translate>
<translate>

<!--T:6-->
<!--T:6-->
{{Caption|Sample Edges after decoration}}
{{Caption|Sample edges after decoration}}


==Usage== <!--T:7-->
==Usage== <!--T:7-->


<!--T:8-->
<!--T:8-->
# Select one or more Edges in a View.
# Select a View or one or more edges in a View.
# There are several ways to invoke the tool:
# Press the {{Button|[[Image:TechDraw_DecorateLine.svg|16px]] [[TechDraw_DecorateLine|Change Appearance of Line(s)]]}} button
#* Press the {{Button|[[Image:TechDraw_DecorateLine.svg|16px]] [[TechDraw_DecorateLine|Change Appearance of Lines]]}} button.
# A dialog will open where you can change the color, style, thickness and visibility of the selected edges.
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_DecorateLine.svg|16px]] Change Appearance of Lines}} option from the menu.

# A task panel opens.
==Properties== <!--T:9-->
# If you have selected edges: optionally change their '''color''', '''style''', '''weight''' and/or '''visibility''' in the '''Line Decoration''' section.

# To make invisible edges in the View permanently visible again: optionally press one or more of the buttons in the '''Restore Invisible Lines''' section:
<!--T:10-->
#* {{Button|All}}
The DecorateLine tool has no properties, as it is not a Document Object.
#* {{Button|Geometry}}

#* {{Button|Cosmetic}}
==Scripting== <!--T:11-->
#* {{Button|CenterLine}}

# Press the {{Button|OK}} button.
<!--T:12-->
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<!--T:13-->
DecorateLine is not accessible from [[Macros|macros]] or the [[Python|Python]] console at this time.




<!--T:15-->
<!--T:15-->
{{Docnav
{{Docnav
|[[TechDraw_CosmeticCircle|CosmeticCircle]]
|[[TechDraw_CosmeticEraser|CosmeticEraser]]
|[[TechDraw_ShowAll|ShowAll]]
|[[TechDraw_ShowAll|ShowAll]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_CosmeticEraser.svg
|IconL=TechDraw_CosmeticCircle.svg
|IconR=TechDraw_ShowAll.svg
|IconR=TechDraw_ShowAll.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
Line 73: Line 68:
{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 09:03, 3 April 2024

TechDraw DecorateLine

Menu location
TechDraw → Add Lines → Change Appearance of Lines
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw ShowAll

Description

The TechDraw DecorateLine tool changes the appearance of edges, including cosmetic lines and centerlines. It can also make edges invisible.

Sample edges before decoration

Sample edges after decoration

Usage

  1. Select a View or one or more edges in a View.
  2. There are several ways to invoke the tool:
    • Press the Change Appearance of Lines button.
    • Select the TechDraw → Add Lines → Change Appearance of Lines option from the menu.
  3. A task panel opens.
  4. If you have selected edges: optionally change their color, style, weight and/or visibility in the Line Decoration section.
  5. To make invisible edges in the View permanently visible again: optionally press one or more of the buttons in the Restore Invisible Lines section:
    • All
    • Geometry
    • Cosmetic
    • CenterLine
  6. Press the OK button.