×
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

Here's a head scratcher..

Here's a head scratcher..

Here's a head scratcher..

(OP)
I posted this file in another thread as an example of one way to create a hole array. But I went back and looked closer and something was off.

Expression p14=floor(p9/minimum_hole Space) returns a value of 12 but only creates 11 points.

If I change it to p14=floor(p9/minimum_hole Space)+1 it returns a value of 13 but only creates 12 points.

Now for the kicker. If I change it to p14=floor(p9/minimum_hole Space)+2 it returns a value of 14 but now it actually creates 14 points.

Deleting the formula and using discrete numbers (12,13,14 etc.)returns the proper number of points.

Any ideas before I give GTAC a call?

NX 7.5.3.3

RE: Here's a head scratcher..

What is the purpose of floor before the p9/min_hole_space? I removed it, the decimal value was returned and it created 12 holes. Granted, I'm not as seasoned as most using formulas and expressions.....

Tim Flater
NX Designer
NX 8.0.3.4
Win7 Pro x64 SP1
Intel Xeon 2.53 GHz 6GB RAM
NVIDIA Quadro 4000 2GB

RE: Here's a head scratcher..

Nevermind, I found the functions list and see what "floor" is supposed to do. Round behaves the same way.

Tim Flater
NX Designer
NX 8.0.3.4
Win7 Pro x64 SP1
Intel Xeon 2.53 GHz 6GB RAM
NVIDIA Quadro 4000 2GB

RE: Here's a head scratcher..

I created a separate expression to do the math of p9/minimum_hole Space and called it Floor, (i.e. Floor=p9/minimum_hole_space) Then if I change p14 to be Floor(Floor) it works as you want.

Steve
NX 7.5.5.4

RE: Here's a head scratcher..

Hello M.

There seems to be something wrong with the feature behaviour in NX7.5.
I have openend your part in NX8.5.2 and it shows 11 holes.
Now when I open the pointset it shows 12 points. if I close the menu without changing anything it will go back to the 11 holes on the pointset.
Now when I open the pointset again and change anything without touching the formula (I reselected the 100 percent for "end percentage"), it will generate 12 holes.
Like I said, it doesn't matter what I select in the menu, as long as I change anything it seems to be updating the result to the expected.
I Attached a movie of the above performed in NX8.5.2

Ronald van den Broek
Mechanical Engineer
Cad Environment Coordinator
Wärtsilä, Propulsion Services
NX8.5.2 / TC9.1.2
HPZ420 Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz, 32 Gb Win7 64B
Nvidea Quadro4000 2048MB DDR5

RE: Here's a head scratcher..

I see that nutace has already posted the answer. Anyway, I just did the same test and it works fine in NX8.5. I have opened your file and performed Update and there were 12 points in a row.
But in NX7.5, it doesn't work. Maybe you should contact GTAC.

Anyway, to get the proper number of holes in this model, you should use Instance Feature command. I have just done the test on NX7.5 and it works. I get 12 points and not 11.

RE: Here's a head scratcher..

(OP)
Sounds like it was a bug that was fixed in later releases. I just wanted to make sure I wasn't missing something obvious.

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