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: 5610

CAD tip CAD tip # 7329:

   
Question CAD 
 %  platform  category 
Q - question

Draw 3D polyline by length, azimuth, slope.

A - answer With a simple LISP utility 3DPolyC, you can draw a 3DPoly by entering length (3D length), azimuth (angle in degrees, from North) and slope (in percents, plus/minus, 100%=45°) of its individual points (segments). This could be useful for piping, geology or similar applications.

The triplets you enter for the individual vertices of the 3D polyline are not X,Y,Z coordinates but the values of length,azimuth,slope (e.g. 123.4,20,-50 - segment 123.4m, in the 20° direction, descending 50%).

You can download the free 3DPolyC utility from Download, load it with APPLOAD and start it with the 3DPOLYC command.

Since version 1.1 of the same utility you can also use the command 3DPOLYS, which is optimized e.g. for drawing sewer lines. You will enter the initial elevation, the uniform slope (degrees, percent, promile, 1:X) and then just click the XY vertices (plan) - the polyline will draw in 3D with the given slope. The option "S" allows to change the slope also during specifying the individual segments.

If you've got standard relative angles of 3D segments (planar and vertical), you can also draw your 3D polyline using a simple script file (save to a .SCR file and run with the _SCRIPT command) with data lines in the format @segmentlength < planarangle < verticalangle - e.g.

_3DPOLY
0,0,0
@2.50<359.9<0.5
@2.50<360.0<0.0
@5.0<0.5<0.0
...etc
ACAD
100% *  CAD 
26.4.2010    15933×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 13183:Lin2Cyl - bulk conversion of lines to 3D cylinders.
Tip 13163:Blended transitional solid between irregular regions, circle-rectangle transition (3D in AutoCAD)
Tip 13087:3DintCurves - intersections of curves with 3D solids.
Tip 13038:How to explode 3D faces (3DFACE) into outline polyline?
Tip 12641:How to copy a graph from Excel to 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:
Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 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