Projecting "0" Elev Lines onto 3D lines

Discussion in 'AutoCAD' started by Geoff Tinker, May 20, 2004.

  1. Geoff Tinker

    Geoff Tinker Guest

    Up to Acad 2002;
    Does anyone know a quick way (that I'm overlooking) to
    project (up/down) a line w/o any elevation (no Z) onto
    a series of lines w/ Z reference, using "only" ACAD/MAP.

    Simply want to use CAD/Map to get ACAD point objects onto the
    apparant intersection, but onto the "Z" value that would project
    upward (or even downward if -Z) from a series of simple "0"
    elevation "lines" onto a group of 3D lines.

    Simply put, say a Section of a Solid, yet getting these 3D lines to
    a mesh or solid? Really only want that "Z" off the 3D line where
    a specific "0" Z vector crosses. Hence, can a "0" Z line be projected
    onto 3D lines just w/ Acad/Map ?? So then I can create Acad 3D points.

    Thanks, in advance.

    Geoff T.
     
    Geoff Tinker, May 20, 2004
    #1
  2. Geoff Tinker

    rodolfnose Guest

    Very confusing explanation of you problem.
    Do you know that you can make views of 3D objects (need viewports) with
    SolView and SolDraw (See help files).
    Good work.
    Paulo
     
    rodolfnose, May 20, 2004
    #2
  3. Geoff Tinker

    Joe Burke Guest

    Geoff,

    A couple quick ideas. You could find the intersection of two lines at 0.0 Z like
    this.

    Command: (setq p1 (getpoint))
    (366.266 -312.564 0.0)
    Command: (setq p2 (getpoint))
    (859.88 -155.138 0.0)
    Command: (setq p3 (getpoint))
    (413.907 -103.545 10.0)
    Command: (setq p4 (getpoint))
    (903.551 -368.126 10.0)
    Command: (setq p3z (subst '0.0 (caddr p3) p3))
    (413.907 -103.545 0.0)
    Command: (setq p4z (subst '0.0 (caddr p4) p4))
    (903.551 -368.126 0.0)

    Command: (inters p1 p2 p3z p4z)
    (639.474 -225.431 0.0)

    Then I think you could use vlax-curve-getClosestPointToProjection to project the
    result of inters onto the p3 p4 line.

    Joe Burke
     
    Joe Burke, May 20, 2004
    #3
  4. Geoff Tinker

    Joe Burke Guest

    Or maybe vlax-curve-getClosestPointTo would be sufficient.

    Joe Burke
     
    Joe Burke, May 21, 2004
    #4
  5. Geoff Tinker

    Geoff Tinker Guest

    Sorry,

    Didn't think explaining simply "projecting" (drapping) a 2D vector
    across 3D a series of 3D Vectors was too confusing of an explanation.

    Just looking for a way to get out a 3D polyline and/or 3D Acad point objects
    out of those apparent intersections.

    Appreciate reply,

    G.T.
     
    Geoff Tinker, May 21, 2004
    #5
  6. Geoff Tinker

    Geoff Tinker Guest

    Update,

    The obvious lies in the "Z" range.
    Just simply change the Z of the 2D line to ABOVE your range
    for the 3D Vectors you want to intersect.

    Then, your ID (or setting ACAD points) onto the Apperant Int.
    will extract the 3D vector intersection desired.
    I also moved to Back the 2D reference object, if order helps the
    priority ??

    So, ANOTHER??

    Now can just ACAD take this 2D Object and project (up/down)
    across the apperant Intersection's of 3D lines and Create a "3D
    Polyline" more interactive using Surfaces/Solids ???
    I.E. , eliminate manually creating Acad Points at those apperant
    Intersections
    by having that vector (object) projected onto the surface intersection
    points.

    Again, CAD only.

    Thanks,

    G.T.
     
    Geoff Tinker, May 21, 2004
    #6
  7. Geoff Tinker

    Geoff Tinker Guest

    KEY tip,

    DRAW order had everthing to do with IT.
    Ch.Prop. on some vectors "Z" to above the 3D vector ranges,
    others I kept at "0". The correct "Apparent Int's" pulled
    from the front 3D objects perfect on ALL of them after I set
    the draw order.

    I.E., put your reference object to BACK, (or simply Source
    ABOVE reference object).

    100+ Acad points in a flick, all 3d from the original
    3D lines, yet where I want to have sectional details along
    an object Vector.

    Thanks to those in the 2002general discussion group for me
    to think on this.

    Still want as a Surface/Solid to get a 3D polyline drapped,
    yet this worked very quick, isolate, and obj. snapped the app.int.
    to set 3D Cad Point objects.

    Simple as that!!
     
    Geoff Tinker, May 21, 2004
    #7
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.