I'm trying to draw an exact length arc length, with a 15' radius. Is there anyway to do this? If I manually draw the arc (not trim) I can enter a chord length, but I don't want that. I want an EXACT 11'-6" arc at 15' radius.
Any clever ideas?
|
|
|
I'm trying to draw an exact length arc length, with a 15' radius. Is there anyway to do this? If I manually draw the arc (not trim) I can enter a chord length, but I don't want that. I want an EXACT 11'-6" arc at 15' radius.
Any clever ideas?
The only way I know of is to draw the arc with the radius you want at a random length, then use lengthen to set the exact length.
Or use a lisp routine like
;Written By: derek 'maverick' beals
;Version: a
;Date: 9-26-05
;Description: this lisp routine draws an arc at given length & radius
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Non-Standard Lisp Functions
(defun rtd (r) ; Radians to Degrees
(/ (* r 180.0) pi))
(defun dtr (d) ; Degrees to Radians
(/ (* d pi) 180.0))
(defun tan (a) ; Tangent of variable (a) in Radians
(/ (sin a) (cos a)))
(defun sqr (a) (* a a)) ; Squares the variable (a)
(defun fixx (realnum) ; Rounds the variable (realnum) to the next highest whole integer (opposite of the "fix" function)
(if (> realnum (+ (fix realnum) 0))
(setq realnum (1+ (fix realnum)))
(setq realnum (fix realnum))
)
realnum
)
;(setq variable (ssget)) - allows multiple picks in lisp
;(setq OS (getvar "osmode"))...(setvar "osmode" OS) - gets current O-snap settings @ front of lisp, then reestablishes them at the end
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Lisp Programming starts here
(setq LENG (getdist "\nEnter length of arc: ")
RAD (getdist "\nEnter radius of arc: ")
CEN (getpoint "\nPick center point of arc: ")
ANG (/ LENG RAD)
ANG1 (/ (- PI ANG) 2.0)
ANG2 (/ (+ PI ANG) 2.0)
ARC (entmake (list
(cons 0 "ARC")
(cons 10 CEN)
(cons 40 RAD)
(cons 50 ANG1)
(cons 51 ANG2)))
)
(princ)
I never thought to use a LISP, it worked perfectly, thanks!
It can be done with plain AutoCAD.
Start the arc from the center point, pick the start point (using something like @15<0).
The use the "A" option to specify the delta angle.
Enter 'CAL to start the command line calculator
Enter r2d(L/R) [Where "L" = the Arc Length and "R" = Radius]
The result will be the exact delta angle required to construct the 11.5 arc length.
You could also use the QuickCalc instead of the command line 'CAL.
Example below (input in Bold)
Command: ._ARC
Specify start point of arc or [Center]: _C
Specify center point of arc:
Specify start point of arc: @15<0
Specify end point of arc or [Angle/chord Length]: _A
Specify included angle: 'CAL
>>>> Expression: r2d(11.5/15)
Resuming ARC command.
Specify included angle: 43.926764293363
Command:
R.K. McSwain | CAD Panacea |
There is another really easy way.
Draw an arc of the correct radius and make sure its longer then you want.
Then use the measure command, it will place a point at the desired length.
Trim to that point and you have your arc at the correct length.
Instead of using 2 commands to get the length you want, and not knowing if it is long enough in the first place, why not draw the arc with the proper radius and use the lengthen command to specify the proper total length, that way if the arc is too short it will lengthen it to the proper length, or if it is too long, it will shorten it to the proper length.
#1000
Using ._ARC and ._LENGTHEN is using 2 commands....
But that would be the quick and dirty way. My example above of using 'CAL was just an example of how to do it inside the ._ARC command, without using trim, measure, lengthen, etc.
If I only had vanilla AutoCAD, I would use ._ARC and ._LENGTHEN also.
No need to use ._MEASURE and ._TRIM at all.
R.K. McSwain | CAD Panacea |
FWIW, I do use vanilla acad and I do use Lengthen. And it works.
If you have a technical question, please find the appropriate forum and ask it there.
You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
jUSt