+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Junior Member
    Using
    AutoCAD 2010
    Join Date
    Jan 2011
    Posts
    10

    Default interpolating coordinates from a poly line other than the input points

    Registered forum members do not see this ad.

    Hi

    I have coordinates for an aerofoil which I put into Autocad and plotted using pline. I have 52 points, what I want is to have more points on the aerofoil, i.e interpolate. I can probably create more points by averaging two adjacent y-points and two adjacent x-points but it would be much better if Autocad did this

    the LIST command only gives the points i put in the program.

    Capture.JPG

  2. #2
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,134

    Default

    If you are working on a polyline it is probably a good idea to CLOSE it. In 2012 if you first SELECT the polyline with a left click, you will see a great many grips. On each segment, between the vertices you will see an additional grip, which can be used for converting to an arc, or adding another vertex. If you hover briefly over any of the grips you will see a 3 item drop down menu which includes ADD VERTEX. You can very easily add as many vertices as you wish. I am not sure if this was in 2011 or not. It is a real improvement for grip operations and manipulation. In the attachment you will see a group of vertices which I added to one straight segment of this polyline.

    I just checked, and this feature is also available in 2011. The 3 options on the drop down are STRETCH, ADD VERTEX and CONVERT TO ARC. These are really helpful options which can be used on every single grip on a polyline.
    Attached Images
    Last edited by Dadgad; 17th Jan 2012 at 06:51 am.
    Volume and repetition do not validate opinions forged in the absence of thought.

  3. #3
    Super Moderator fuccaro's Avatar
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,540

    Default

    I assume you got those points from a table. You could search on the net the formula used to generate the profile. The formulas are available, just to identify the parameters could take you some time. Once you got it (and checked) you can generate as many points within a profile as you wish.
    It's nice to be nice, but sometimes is nicer to be evil!.
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

  4. #4
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,134

    Default

    The plot thickens, both figuratively and literally.
    If you start by plotting your points onto a spline things really get interesting,and easy.
    command PEDIT>ENTER
    multiple, select the spline.
    convert to POLYLINES, yes. join,
    adjust the value in the SPECIFY PRECISION FOR SPLINE CONVERSION.
    As shown in the attachment I reset the default value of 10 to 40, and shizzam! All the interpolated points I would expect anybody would ever need, and between each two vertices is yet another drop down menu offering the chance to add another vertex, stretch or convert to curve.
    Attached Images
    Volume and repetition do not validate opinions forged in the absence of thought.

  5. #5
    Forum Deity
    Using
    AutoCAD 2002
    Join Date
    Sep 2006
    Location
    East Sussex, U.K.
    Posts
    2,968

    Default

    Quote Originally Posted by Dadgad View Post
    If you start by plotting your points onto a spline things really get interesting,and easy.
    command PEDIT>ENTER
    multiple, select the spline.
    convert to POLYLINES, yes. join,
    adjust the value in the SPECIFY PRECISION FOR SPLINE CONVERSION.
    The only trouble with using a spline is shown beautifully in your first picture. The curve does NOT pass through the plotted points.

    There does not seem to be much point in calculating all the coordinates, and then plotting a curve which misses all the carefully calculated points


    You would do much better by drawing a straight line polyline between each point successively, and then use the Fit option with PEDIT. This puts arcs between the plotted points, so you do not need any extra points to make a curve, AutoCAD does it for you

  6. #6
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,134

    Default

    Eldon, hard to fault that logic. I've not used PEDIT much. I was just struck by how on the spline it could interpolate so many points so easily.
    One thing about Autocad, there is never any shortage of new skill sets to hone and things to learn. Thanks for the elucidation.
    Volume and repetition do not validate opinions forged in the absence of thought.

  7. #7
    Junior Member
    Using
    AutoCAD 2010
    Join Date
    Jan 2011
    Posts
    10

    Default

    Thank you all for your help. I got it sorted it out.

    Quote Originally Posted by Dadgad View Post
    If you hover briefly over any of the grips you will see a 3 item drop down menu which includes ADD VERTEX. You can very easily add as many vertices as you wish.
    Quote Originally Posted by Dadgad View Post
    adjust the value in the SPECIFY PRECISION FOR SPLINE CONVERSION.
    As shown in the attachment I reset the default value of 10 to 40, and shizzam! All the interpolated points I would expect anybody would ever need, and between each two vertices is yet another drop down menu offering the chance to add another vertex, stretch or convert to curve.
    Adding vertices manually worked but it takes a long time to make more points, e.g get 100 points from 50! and sometimes adding a vertex will ruin the curve.
    However, using spline and changing the precision worked great, only thing is for this case there is something wrong with the coordinates in the lower surface of the leading edge, the curve is not smooth and using the spline will make it even less smooth.

    I found a website which gives enough coordinates for aerofoils but I will be using the spline method if i needed it.

    Quote Originally Posted by fuccaro View Post
    I assume you got those points from a table. You could search on the net the formula used to generate the profile. The formulas are available, just to identify the parameters could take you some time. Once you got it (and checked) you can generate as many points within a profile as you wish.
    Yes I saw formulas for different aerofoils, the NACA aerofoils are usually given with a formula but not all do have.

    Quote Originally Posted by eldon View Post
    You would do much better by drawing a straight line polyline between each point successively, and then use the Fit option with PEDIT. This puts arcs between the plotted points, so you do not need any extra points to make a curve, AutoCAD does it for you
    I need more coordinates for simulation purposes. I also need to use Autocad to see if the shape fits in a template or not (for manufacturing) but the points I already have are sufficient for just plotting.


    Thanks again

  8. #8
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,786

    Default

    What about DIVIDE then ddptype
    A man who never made mistakes never made anything

  9. #9
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,134

    Default

    BIGAL wins! Poetry in motion.
    Volume and repetition do not validate opinions forged in the absence of thought.

  10. #10
    Super Member Tyke's Avatar
    Computer Details
    Tyke's Computer Details
    Operating System:
    Windows 7 - 64 bit, Vista and XP Pro
    Computer:
    HP Z400 Workstation
    CPU:
    Intel(R) Xeon(R) CPU W3530 @ 2.80GHz
    RAM:
    8 GB
    Graphics:
    Nvidia Quadro 600 1GB DDR3
    Primary Storage:
    2x 500GB HDD RAID 1 and Western Digital 2TB NAS RAID 1
    Secondary Storage:
    Lacie external HDD 2TB Raid Level 1
    Monitor:
    Samsung SyncMaster P2770HD, 2443 and 193T
    Discipline
    Multi-disciplinary
    Tyke's Discipline Details
    Occupation
    Surveyor, programmer, civil engineer
    Discipline
    Multi-disciplinary
    Details
    Surveying and civil engineering. As built utilities surveys and data maintenance in GIS systems. Building surveys, measured and laser scanning. Setting out of all civil works. Control and settlement surveys. Programming in AutoCAD, MicroStation, Geograf and stand alone applications for all uses.
    Using
    Civil 3D 2013
    Join Date
    Jun 2006
    Location
    Saxony, Germany
    Posts
    857

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by eldon View Post
    The only trouble with using a spline is shown beautifully in your first picture. The curve does NOT pass through the plotted points.

    There does not seem to be much point in calculating all the coordinates, and then plotting a curve which misses all the carefully calculated points


    You would do much better by drawing a straight line polyline between each point successively, and then use the Fit option with PEDIT. This puts arcs between the plotted points, so you do not need any extra points to make a curve, AutoCAD does it for you
    Splines can pass through the points, you just need to change its properties. Heidi Hewitt explains it well here: http://heidihewett.blogs.com/my_webl...ocad-2011.html
    Engage brain before mouth

    "The German who types with a Yorkshire accent" - Dave Broada 2o1o

Similar Threads

  1. get 2d poly line coordinates with bulge factor
    By srikanthkamuju in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 3rd Apr 2010, 12:18 pm
  2. low points and high points on a 3d poly
    By iain9876 in forum AutoLISP, Visual LISP & DCL
    Replies: 8
    Last Post: 8th Dec 2009, 12:04 am
  3. Direct Input Polar Coordinates
    By GE13579 in forum AutoCAD General
    Replies: 12
    Last Post: 18th Aug 2008, 01:23 pm
  4. Input for a list of spatial coordinates
    By Concat in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 21st Feb 2008, 08:33 am
  5. how do i input xy coordinates into dwg
    By rupert_valero in forum AutoCAD General
    Replies: 3
    Last Post: 22nd Aug 2007, 02:57 pm

Bookmarks

Posting Permissions

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