Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IFRs on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting 2D sketch to the form of data points into text file in NX 7.0 2

Status
Not open for further replies.

hamalyas

Mechanical
Oct 5, 2012
3
thread561-272761

I'm using UGS NX 7.0 version, and I have 2D sketches that are created from intersection curves. the 2D sketches are airfoil sections for a Transonic fan that are taken from different surfaces along the span of the blade.

from this thread:
JohnRBaker created a program that Discretize the airfoil section into equally spaces points. I'm currently using that program to do analysis on the blade.
the problem is that I need more resolution in terms of the number of points per sketch. right now the program makes a 1000 point per sketch which is not sufficient for the type of work I'm doing.

I was wondering if anyone can help me in obtaining a program that creates a 100,000 points instead of the 1000 points per sketch
 
Replies continue below

Recommended for you

Attached is an updated version of the original program (from two years ago), only now you can go as high as 100,000 points (I've tested it and it does works, however it takes a while to execute).

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
 http://files.engineering.com/getfile.aspx?folder=d1ff80af-3b3f-44ca-a6c7-69d62391654b&file=Updated_Grip_Program-2.zip
Hello John,

I have adapted your program to C# as a journal. There is no limit to the number of points and users can modify/enhance it to suit their own needs.

Attached is the C# version.

Suresh
www.technisites.com.au
 
 http://files.engineering.com/getfile.aspx?folder=3b6cfedd-6b63-4627-9f8c-7ce8afa4f5df&file=points_along_curve_to_txt_file_journal.cs
Thank you very much John. I tried the new program and it works as it should be.
I'm wondering if you can do a modification form me ( if you have time, if you don't then don't worry about it)
the program basically asks you to choose the pressure side and the suction side. for my case, I have only one surface for each airfoil which is the combined pressure and suction surfaces. I separate the two surfaces using a simple code in Matlab
so I was hoping that you can omit the option that asks you to select the second surface, since my second surface is precisely the same as the first one. this will help as I believe in speeding up the execution time. as I said if you are busy then don't worry about it, this modification is just a matter of convenience

 
OK, attached is the latest version of the program, which will ask whether you wish to select a single curve or an upper/lower set of curves. Other than that, it works exactly as the other version(s) did.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
 http://files.engineering.com/getfile.aspx?folder=02319af2-e176-46f2-aaea-a3ce6015ae52&file=Updated_Programs-3.zip
Status
Not open for further replies.

Part and Inventory Search

Sponsor