Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

expressions in works

Status
Not open for further replies.

NikonF6

Automotive
Joined
Aug 21, 2013
Messages
165
Location
CA
can someone explain, step by step (from file, new, modeling, ...), how to make these expressions to work (normal helix). Should I have some curve already before writing these expressions, ...

t = 1
teta = 360
radius = 12
no_turns = 5
height = 45
pitch = ( height/no_turns )
xt = radius * cos( teta * t * no_turns )
yt = radius * sin( teta * t * no_turns )
zt = pitch * t

\is "t" NX internal variable changing from 0 ro 1?

Thanks a lot for your time
 
NikonF6 said:
is "t" NX internal variable changing from 0 ro 1?

Yes. Do you really want the pitch (zt value) to vary?

Assuming you want a constant pitch helix:
To create a curve from your equations, go to Insert -> Curve -> law curve.
X law: by equation, parameter t, function xt
Y law: by equation, parameter t, function yt
Z law: constant, value: pitch

www.nxjournaling.com
 
Thanks Cowski a lot.
I never before used this to create a curve. I use NX 7.5
I got many options (7), and click on "by equation"
Came out "law curve" but with only one row showing t in it.
How to enter all of that equations together?

Thanks again
 
What version of NX are you running? If it's NX 8.5 or newer, you may have a alternative.

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.
 
Then what cowski suggested is your only course of action.

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.
 
Open the expression editor (Tools -> expression) and create/enter the formulas in the original post, then create the law curve.

www.nxjournaling.com
 
Continuing Cowskis last post :
When you thereafter create the curve and select the "By equation" option, you will be prompted for the named variables you showed in the first post.
( You are free to use any variable , but NX will by default ask for the ones you show.)

Regards,
Tomas
 
Thanks to you guys I got it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top