Creating 3d Polylines from points with elevations

I have been asked to trial BricsCad as a cheaper alternative to Autocad. One issue i am coming across is the following: On Autocad i would create points and set an elevation to each point then select node only when drawing the 3dpolyline between the points and then would be able to id my height anywhere along the line. With BricsCad after setting an elevation to the point and even id'ing the point i cant see the elevation, yet in properties of the point it has an elevation. Drawing the 3d polyline the same way i would on Autocad does not give any elevation to 3d polyline. What am i doing wrong?

Comments

  • Maybe you have OSNAPZ=1, so real elevation of snapped points is replaced by current ELEVATION value?

  • ALANH
    edited August 15

    My $0.05 about task.

    (defun LWPoly (lst cls)
    (entmakex (append (list (cons 0 "LWPOLYLINE")
    (cons 100 "AcDbEntity")
    (cons 100 "AcDbPolyline")
    (cons 90 (length lst))
    (cons 70 cls))
    (mapcar (function (lambda (p) (cons 10 p))) lst)))
    )

    (defun c:wow ( / x pt lst)
    (setq lst '())
    (setvar 'pdmode 34)
    (while (setq pt (getpoint "\nPick a point press Enter to stop points "))
    (setq pt (list (car pt)(cadr pt)(getreal "\nEnter Rl ")))
    (command "point" pt)
    (setq lst (cons pt lst))
    )
    (lwpoly lst 0)
    (princ)
    )

    (alert "Type WOW to run ")

    How many points at a time do you make, may have a better way of entering data and checking correct values before making 3dpline. Quick answer limited to about 20 points a screen limitation.

  • There are add-on application in the BricsCAD application store that can do this, maybe a better option if you have to do this regularly. An alternative might be to use QGIS (free GIS software), import the points in there and have it create the contour lines (as they are called in GIS).

  • "i would create points" if your making a csv file or a Excel file with x,y,z then can read either and make a 3dpoly.