×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

expressions in works

expressions in works

expressions in works

(OP)
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

RE: expressions in works

Quote (NikonF6)

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

RE: expressions in works

(OP)
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

RE: expressions in works

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.

RE: expressions in works

(OP)
I use NX7.5

RE: expressions in works

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.

RE: expressions in works

Open the expression editor (Tools -> expression) and create/enter the formulas in the original post, then create the law curve.

www.nxjournaling.com

RE: expressions in works

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

RE: expressions in works

(OP)
Thanks to you guys I got it

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources