Jump to content

generating a curve through set of co-ordinates


Recommended Posts

Posted

Hello,

 

I need to generate an impeller blade profile using a set of co-ordinates. Is there any command to input all the co-ordinates at once in autocad. Could some one tell me what is the command?

 

Thanks for your help.

 

Vipra

Posted

well not to my knowledge, but that does not mean that it is has not already been done. There might be a LISP program that someone has written to do it. I just enter it manually... Ho Hum.. If you find an answer please tell us. It will save hours on roads and culverts.

Posted

I have myself done it long ago. I have jsut forgotten the command. It has something like using the command pline followed by co-ordinates and then with 'end'. I think I missed something and it is not working.

Posted

What format is your coord data? X,Y,Z, Excel???

Posted

just x,y coordinates. It is 2D profile. This data has been generated using a blade design program. I can be either excel or word.

Posted

in excel get the data in x,y format (hint...equation in cell C1 =A1&","&B1)

Highlight the column w/ the x,y data > Ctrl+C

In Autocad... Multiple > Point

at the Specify a point: prompt rt-click the command line > Paste

If you want a polyline... Pline > Paste as above.

You can also use Spline

Posted

Thanks a lot. I will try that and get back to you.

Posted

I think we can also creat a script file and run it. We can save the co-ordinates using commas with pline at the beginning followed by coordinates and 'end'. Save this file as .scr and type 'scr' in the command prompt. open the .scr file, it should generate the profile.

 

I have done this long ago, I just forgot that we can use script file.

Posted

How do you create a script file? I do not have the .scr file extension in Excel.

I may just have an older version of Excel.

Posted

In Excel, Saveas > Text... it will probably save as .prn file, rename to .scr

or highlight the column, Ctrl+C, open Notepad, Paste, saveas .scr

Posted

You can copy the coordinates on to notepad or wordpad as below.

 

pline

x,y

a,b

c,d

end

 

and save this file as .scr

 

in autocad command bar, type scr

it will ask you to open the file then open the .scr file you have saved and the curve will automatically be generated.

Posted
in autocad command bar, type scr

it will ask you to open the file then open the .scr file you have saved and the curve will automatically be generated.

... or just drag the script file in the drawing area :wink:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...