Sketching a curve through use of a function
Sketching a curve through use of a function
(OP)
I would like to sketch a NACA wing profile into NX. The easiest way would be to create a script that uses a function to sketch the curve for me, altering the thickness over a specified length.
ie.
For x=0:0.01:1
y=(0.2969sqrt(x)-0.126x-0.3516x^2 +0.2843x^3-0.1015x^4)
end
I am using NX 7.5.
Thanks for any help or tips,
Matt
ie.
For x=0:0.01:1
y=(0.2969sqrt(x)-0.126x-0.3516x^2 +0.2843x^3-0.1015x^4)
end
I am using NX 7.5.
Thanks for any help or tips,
Matt





RE: Sketching a curve through use of a function
Also there are a few recent threads with models posted using law curves perhaps those will help you get started.
one or more of the models in:
thread561-291246: Making a Twisted Sheet Metal Part
the compression spring posted by mmauldin in:
thread561-234523: Sharing well constructed CAD models.
this particular model uses another curve rather than a function to drive the law curve, not directly applicable to your question but a good technique to keep in mind.
RE: Sketching a curve through use of a function
While this is not an 'airfoil', it is another example which might help you with using Law Curves.
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: Sketching a curve through use of a function
If you do make an NX part implementing the NACA 4-digit curve, it'd be a big contribution to post it in this thread.
Thanks in advance.
RE: Sketching a curve through use of a function
Frank Swinkels
RE: Sketching a curve through use of a function
Insert→Curve→Law Curve
However my only Options are:
Insert→Curve→Line
→Arc/Circle
→Lines and Arcs →
→Helix
→Studio Spline
The examples here show a Helix being made but I don't think this process is comparable to the wing shape I actually need to produce.
Frank
I went into the Journal to edit it the formula is only good from 0-1, so I have to put a multiplier outside the brackets of the formula to achieve my scaling, in this instance it is "120". I'll try and learn more about the programming the journal, and running it, as I think I can see where all the changes need to be made. I need to plot this curve, and it's inverse to get the profile.
I'm curious if the Law curve is standalone in older versions of NX, or is it embedded somewhere else that I can't find. (I'm using NX 7.5)
Thanks,
Matt
RE: Sketching a curve through use of a function
(I had missed your division I just saw integer, and the scale of 1 to 100 and commented without understanding the program, I apologize)
Thanks!!
Matt
RE: Sketching a curve through use of a function
RE: Sketching a curve through use of a function
Again thanks for all your help!
RE: Sketching a curve through use of a function
If you want to contact me directly at fsw13678@bigpond.net.au I would be happy to modify the journal to your requirements.
Frank Swinkels
RE: Sketching a curve through use of a function
RE: Sketching a curve through use of a function
Yeah, I didn't realize I was on a reduced menu. The option appeared.
FrankSwinks,
I managed to modify your program to work to produce the wing I required also. Thanks a lot!!
Thanks everyone for the input!