Draw Line. Specify Horizontal Length[nr,Pt1-Pt2] and Downslope [%,N/D,Ang]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I really often have to draw line
which's horizontal (or vertical) dimension should be for example 500 mm
and the angle of this line is such, that i=2/3.
Or, let's say, 36.5%. Or simply the angle should be 43.2 degrees.
1.
How to draw it the fastest way without lisp?
2.
I wil be thankful if somebody write such lisp:
"Specify length in horizontal/ vertical or [Points]: "
And here you can type the value by keyboard
or determine length by picking two points.
And then "Specify downslope by it's value in Percents or [Fraction/ Angle]: "
Or, what I prefer:
"Specify, which way you will express downslope's value [Percents/Fraction/ Angle]: "
(Now you press P, F, or A, and Enter and you have one of these three prompts:)
"Specify (Express) the downslope's value in Percents: "
"Specify (Express) the downslope's value by Fraction: "
Here you can type for example "37/45", by using "/"
If it will be not possible, there will be two commands:
"Specify numerator (above line): "
"Specify denominator (under line): "
and the last option:
"Specify (Express) the downslope's value by Angle in Degrees: "
*downslope = spadek terenu in Polish. I don't know if I use right word in English.
*I am not sure if "line" is right word for this dash between numerator and denominator.
I would be thankful if somebody will write this lisp and it will be working properly.