Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Using if expressions for creating law curves

MbToxic

Student
Jan 22, 2025
1
I'm trying to create a law-defined curve. It has "left" and "right" parts

Knowing that there are "if" expressions in NX I tried using it, but when I create a curve using these laws constant function is displayed. Is it not possible to use "if" clauses, or am I doing something wrong?

In pic.1 are my expressions, pic.2 is what I get and how I create a curve, pic.3 is desmos variant of the "yc"

PS
I did this the stuff without using if clauses, but using two of them here creates not 4, but 8 expressions later and it snowballs into a mess of a calculation
 

Attachments

  • pic 1.jpg
    pic 1.jpg
    97.3 KB · Views: 4
  • pic 2.jpg
    pic 2.jpg
    210.3 KB · Views: 4
  • pic 3.jpg
    pic 3.jpg
    48.7 KB · Views: 4

Part and Inventory Search

Sponsor