Spline

Discussion in 'AutoCAD' started by Adesu, Apr 21, 2004.

  1. Adesu

    Adesu Guest

    Dear Alls,
    Is it true command in Lisp
    (command ".spline (list x1 y1)(list x2 y2)(list x3 y3) "" "c" "")
    I am not yet success to run it.
    Best regards
    Ade Suharna
     
    Adesu, Apr 21, 2004
    #1
  2. Is it just that it's missing the closing double-quote (") after the .spline?

    Kent Cooper, AIA

    ...
     
    Kent Cooper, AIA, Apr 21, 2004
    #2
  3. Another thing: the "" after the last point (list) and before the "c"
    shouldn't be there. It ends the spline, and the prompt is then for the
    starting tangent direction, so the "c" isn't an appropriate response.

    Haven't tested it, but see whether this works:
    (command ".spline" (list x1 y1)(list x2 y2)(list x3 y3) "c" "")

    Kent Cooper, AIA

    ...
     
    Kent Cooper, AIA, Apr 21, 2004
    #3
  4. Adesu

    Roman Guest

    Haven't tested it, but see whether this works:
    Hi all
    Here is something I use to draw splines (found on the Web)

    (command "_SPLINE")
    (mapcar 'command ptlist) ; the ptlist must be the fitpoints then
    (command "" "" "")

    Works fine, but here is the question (very important, if somebody can
    help -pleeeese!!!)

    above code draws spline from supplied list of coordinates - ptlist,
    but resulting spline is non-planar, even if the list is of the form
    ((x1 y1) (x2 y2) ....). I desperately need a planar spline (so I can
    use offset).
    Can something be done to do so?
     
    Roman, Apr 22, 2004
    #4
  5. Adesu

    Adesu Guest

    Hi Kent ,thanks a lot for your reply

     
    Adesu, Apr 22, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.