![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Autodesk Software (Autocad, Inventor etc) Discuss Autodesk Software (Autocad, Inventor etc) software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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 |
|
#3
| ||||
| ||||
| 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. |
|
#5
| ||||
| ||||
| 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. |
| Sponsored Links |
|
#6
| ||||
| ||||
| Yes, just use: 3Dpoly x,y,z x,y,z etc......
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#7
| |||
| |||
| 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
| ||||
| ||||
| 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 Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Points to Surfs | JDcam | Rhino 3D | 4 | 01-26-2009 11:04 AM |
| ramped arcs are linear points no g2 | dertsap | Mastercam | 6 | 01-18-2008 11:28 PM |
| Creating a HATCH of points not lines | vmax549 | Autodesk Software (Autocad, Inventor etc) | 9 | 12-13-2007 11:21 AM |
| Points on arcs | gguidi | Autodesk Software (Autocad, Inventor etc) | 2 | 07-25-2006 07:49 AM |
| lines-arcs vs spline problem | metlcutr55 | General CAM Discussion | 1 | 07-07-2006 10:16 AM |