Draft Slope: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:9-->
{{Docnav
|[[Draft_VisGroup|VisGroup]]
|[[Draft_AutoGroup|AutoGroup]]
|[[Draft_Module|Draft]]
|IconL=Draft_VisGroup.svg
|IconC=Workbench_Draft.svg
|IconR=Draft_AutoGroup.svg
}}

<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=Draft Slope|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft → Utilities → Set Slope|SeeAlso=}}
|Name=Draft Slope
|MenuLocation=Draft → Utilities → Set Slope
|Workbenches=[[Draft_Module|Draft]], [[Arch_Module|Arch]]
|SeeAlso=[[Draft_Line|Draft Line]], [[Draft_Wire|Draft Wire]]
|Version=0.17
}}


==Description== <!--T:2-->
==Description== <!--T:12-->

This tool allows to set the slope (vertical horizontal) of selected wires or lines. By setting a slope value, all vertices after the first one will have their Z value changed so the different segments of the wires or lines will have the given inclination.
<!--T:2-->
For a selected [[Draft_Line|Draft Line]] or [[Draft_Wire|Draft Wire]] drawn on the XY plane, the Draft Slope tool increases the Z coordinate of all vertices after the first one, so that the line or wire has the defined slope.

<!--T:5-->
The equivalent action is editing the object and moving the points manually to a new position.

</translate>
[[Image:Draft_Slope_example.png|400px]]
<translate>
<!--T:6-->
{{Caption|Horizontal line; line with slope changed to 45°}}

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

<!--T:4-->
# Select a [[Draft_Line|Draft Line]] or [[Draft_Wire|Draft Wire]] object.
# Go to the menu {{MenuCommand|Draft → Utilities → [[Image:Draft Slope.png|16px]] [[Draft_Slope|Set Slope]]}}.
# Set the desired slope value, and press the {{Button|OK}} button.


<!--T:3-->
<!--T:3-->
The slope value is the [https://en.wikipedia.org/wiki/Trigonometric_functions#tan tangent] of the elevation angle:
The slope value is a tangential value: 0 means horizontal, 1 means 45 degrees upwards, -1 means 45 degrees downwards, 0.577 means 30 degrees up, etc.
* 0 means the line is completely horizontal, because tan(0°) = 0.
* 1 means 45 degrees up, because tan(45°) = 1.
* 0.577 means 30 degrees up, because tan(30°) = 0.577.
* 1.732 means 60 degrees up, because tan(60°) = 1.732, etc.

<!--T:7-->
Negative values are also possible:
* -1 means 45 degrees down, because tan(-45°) = -1, etc.

<!--T:8-->
{{Docnav
|[[Draft_VisGroup|VisGroup]]
|[[Draft_AutoGroup|AutoGroup]]
|[[Draft_Module|Draft]]
|IconL=Draft_VisGroup.svg
|IconC=Workbench_Draft.svg
|IconR=Draft_AutoGroup.svg
}}


==How to use== <!--T:4-->
# Select one or more [[Draft Wire|Wire]] or [[Draft Line|Line]] objects
# Select menu Draft → Utilities → {{KEY|[[Image:Draft Slope.png|16px]] [[Draft Slope|Set Slope]]}}
# Set the desired value in the '''Slope''' task panel box
# Press the '''OK''' button
</translate>
</translate>
{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 13:19, 21 November 2020

Draft Slope

Menu location
Draft → Utilities → Set Slope
Workbenches
Draft, Arch
Default shortcut
None
Introduced in version
0.17
See also
Draft Line, Draft Wire

Description

For a selected Draft Line or Draft Wire drawn on the XY plane, the Draft Slope tool increases the Z coordinate of all vertices after the first one, so that the line or wire has the defined slope.

The equivalent action is editing the object and moving the points manually to a new position.

Horizontal line; line with slope changed to 45°

Usage

  1. Select a Draft Line or Draft Wire object.
  2. Go to the menu Draft → Utilities → File:Draft Slope.png Set Slope.
  3. Set the desired slope value, and press the OK button.

The slope value is the tangent of the elevation angle:

  • 0 means the line is completely horizontal, because tan(0°) = 0.
  • 1 means 45 degrees up, because tan(45°) = 1.
  • 0.577 means 30 degrees up, because tan(30°) = 0.577.
  • 1.732 means 60 degrees up, because tan(60°) = 1.732, etc.

Negative values are also possible:

  • -1 means 45 degrees down, because tan(-45°) = -1, etc.