I am having difficulties in trying to draw out the geometry of the log spiral antenna. I wanted to produce a mask for the log spiral antenna geometry, so the gemetry needs to be in .dwg format. Can I use those typical drawing software like AutoCad to draw out the geometry.
Thks
Can I just enter the spiral equation and get Autocad to draw the log spiral geometry for me. If not, is there any special software for this purpose?
Added after 6 minutes:
Attached is the .jpg format of the log spiral drawing I am trying to draw. Can anyone teach me how do I generate this gepmetry in *.dwg or *.dfx format.
thks in advance.
The following routine will draw you a 100-segment Archimedean spiral given by the polar equation
r=A*ang^(1/nn)
where the polar angle "ang" sweeps 0 rad to 3*pi rad.
When you draw the spiral simply select the curve, use "_pedit" command and then "w" to assign a track width.
Code:
;This code draws an Archimedean Spiral
(defun c:spiral (/ seg ang cnt rad x y z point)
(setq seg 100)
(setq nn 0.6)
(setq AA 0.1)
(setq ang (/ (* 3 pi) seg))
(setq cnt 0)
(command "_pline")
(repeat (1+ seg)
(setq x (* AA (expt (* cnt ang) (/ 1 nn)) (cos (* cnt ang))))
(setq y (* AA (expt (* cnt ang) (/ 1 nn)) (sin (* cnt ang))))
(setq point (list x y))
(command point)
(setq cnt (1+ cnt))
)
(command "")
(princ)
(command "._zoom" "E")
)
Once imported, you cannot change any parameter in the layout. You can modify the objects by adding or substracting other objects but you cannot change the spiral parameters.
I am having difficulties in trying to draw out the geometry of the log spiral antenna. I wanted to produce a mask for the log spiral antenna geometry using matlab program. Can somebody help to write a code.