584,861 active members*
4,883 visitors online*
Register for free
Login
IndustryArena Forum > CAD Software > Autodesk > points to lines/arcs
Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2005
    Posts
    1145

    points to lines/arcs

    Does anyone know of a lisp or macro that can take set of points taken from around the outside of an object(probed points) and convert them to lines and arcs. It would be nice IF you could specify a tolerance of what is a straight line and what is an arc.

    Thanks (;-) TP

  2. #2
    Join Date
    Jan 2008
    Posts
    24
    did you manage to get an answer to this? i need something of the same need to take a set of points that are in a group and make them into a spline or surface

  3. #3
    Join Date
    Nov 2005
    Posts
    1468
    If you have the X and Y co-ordinates then it's easy peasy-

    Create a plain text file using WordPad or similar. Make sure it's got SCR as an extension.
    Cut and Paste the X and Y co-ordinates into the file- one set per line and X,Y separated by a comma.
    Make sure the first line of the SCR file says "PLINE" (without the quotes).

    So, an example file would look like this:

    PLINE
    10.9876,1.2345
    10.8765,1.3456
    10.7654,1.4567
    etc...

    Save it somewhere you'll remember.
    Boot up AutoCAD. Type in "SCRIPT" and select the file you just made- AutoCAD will import all the co-ordinates as a polyline. Ta Da!

    If you need them as individual lines then just EXPLODE the polyline.

    Hope this helps!
    I love deadlines- I like the whooshing sound they make as they fly by.

  4. #4
    Join Date
    Jan 2008
    Posts
    24
    now will that same thing work if there X Y Z cords? and use a 3dpoly line? or can you only do a 2d version

    ill test it either way tho

    thanks for the info

    JM

  5. #5
    Join Date
    Nov 2005
    Posts
    1468
    Not sure MPH..would be interesting to know though!

    As you can see from my Avatar, I'm only a simple 2 Dimensional engineer
    I love deadlines- I like the whooshing sound they make as they fly by.

  6. #6
    Join Date
    Mar 2003
    Posts
    35538
    Yes, just use:

    3Dpoly
    x,y,z
    x,y,z
    etc......
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  7. #7
    Join Date
    Oct 2005
    Posts
    1145
    Gerry when you explode the Pline does it make full length lines and arcs or just lines from the many many points. The problem I was trying to overcome was to end up with thousands of small line segments. It drives the machines crazy and really slows them down.

    Thanks (;-) TP

  8. #8
    Join Date
    Mar 2003
    Posts
    35538
    It breaks it at every vertex, so even if you have a straight segment composed of 5 sections, you'll get 5 lines when exploding. It's not smart enough to convert the 5 lines into 1.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Similar Threads

  1. Points to Surfs
    By JDcam in forum Rhino 3D
    Replies: 4
    Last Post: 01-26-2009, 06:04 PM
  2. ramped arcs are linear points no g2
    By dertsap in forum Mastercam
    Replies: 6
    Last Post: 01-19-2008, 06:28 AM
  3. Creating a HATCH of points not lines
    By vmax549 in forum Autodesk
    Replies: 9
    Last Post: 12-13-2007, 06:21 PM
  4. Points on arcs
    By gguidi in forum Autodesk
    Replies: 2
    Last Post: 07-25-2006, 01:49 PM
  5. lines-arcs vs spline problem
    By metlcutr55 in forum Uncategorised CAM Discussion
    Replies: 1
    Last Post: 07-07-2006, 04:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •