CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3360
Place your Ad on CADforum.cz

CAD tip CAD tip # 10231:

   
Question CAD 
 %  platform  category 
Q - question

How to draw spiral in AutoCAD LT?

A - answer AutoCAD LT does not offer advanced commands for curves nor LISP functions for creating complex geometry. But you can still draw parametric geometric curves in AutoCAD LT. This is how.

First you will need to calculate X/Y or X/Y/Z coordinates of the requested curve - e.g. in Excel and then paste the resulting point list in AutoCAD's PLINE (polyline) command. E.g. for spiral you can use the simplified math expression:

X = r/10 * sin(r)
Y = r/10 * cos(r)
to generate a logarithmic spiral curve. Prepare an Excel sheet with the following data:

The red column is used to format the X and Y values for AutoCAD - as a "X,Y" string. If your language local uses decimal commas, you will need to convert the XY values to the decimal point format. The suitable Excel function for this is =TEXT() in English Excel, or =FEST() in German, or =CTXT() in French, or =ZAOKROUHLIT.NA.TEXT() in Czech Excel. The =SUBSTITUE() function helps to replace decimal comma to decimal point (not needed in English locale).

The formatting function for an English Excel is:

=FIXED(B4,9,TRUE)&","&FIXED(C4,9,TRUE)

Then add the "_PLINE" command name, select the resulting column with Ctrl+C and paste it to the AutoCAD command line (not in the drawing window):

Finish the PLINE command with Enter. This will draw the spiral curve.

Then you can use the PEDIT command and its Spline option to smooth the spiral. Of course you can also prepare more points with different parameters in the Excel expression and calculation. Any you can use any other XY and XYZ calculation to draw (paste) other geometric curves in AutoCAD LT and AutoCAD.

XLS LTspiral.xlsx sample file for download (from Czech Excel)

LTACAD
100% *  CAD 
9.3.2015    54127×  
Prices - CAD eShop:
applies to: AutoCAD LT · AutoCAD ·

See also:
Tip 14204:How to draw a parabola in Autodesk Fusion (or other 2D/3D curves).
Tip 13960:Fermat's spiral in AutoCAD.
Tip 13906:How to construct a 2D spiral shape in Inventor?
Tip 13653:FPoly - draw fixed-length polylines in AutoCAD.
Tip 13163:Blended transitional solid between irregular regions, circle-rectangle transition (3D in AutoCAD)


Back   All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist