Draft Slope: Difference between revisions

From FreeCAD Documentation
(More details on the slope calculation)
m (Changed section to 'Usage')
(12 intermediate revisions by 2 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
Line 7: Line 10:
|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]
|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]
|SeeAlso=[[Draft Line]], [[Draft Wire]]
|SeeAlso=[[Draft Line]], [[Draft Wire]]
|Version=0.17
}}
}}


==Description== <!--T:2-->
==Description== <!--T:2-->
For a selected [[Draft Line]] or [[Draft Wire]] drawn on the XY plane, this tool increases the Z coordinate of all vertices after the first one, so that the line or wire has the slope defined by the tool.
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.


==How to use== <!--T:4-->
<!--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:4-->
# Select a [[Draft Line]] or [[Draft Wire]] object.
# Select a [[Draft Line]] or [[Draft Wire]] object.
# Press the {{Button|[[Image:Draft Slope.png|16px]] [[Draft Slope|Set Slope]]}} button, or go to the menu {{MenuCommand|Draft → Utilities → Set Slope}}.
# 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.
# Set the desired slope value, and press the {{Button|OK}} button.


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


<!--T:7-->
Negative values are also possible:
Negative values are also possible:
* -1 means 45 degrees down, that is, tan(-45°) = -1, etc.
* -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}}

<!--T:10-->
{{Draft Tools navi}}


<!--T:11-->
{{Userdocnavi}}
</translate>
</translate>
{{clear}}

Revision as of 15:04, 28 January 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.