Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Here's a head scratcher..

Status
Not open for further replies.

mmauldin

Bioengineer
Jul 16, 2004
494
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
 
Replies continue below

Recommended for you

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
 
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
 
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
 
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

 
 http://files.engineering.com/getfile.aspx?folder=62999c39-9243-49a2-b6a4-d65efdcfe83c&file=Pointset_NX85.wmv
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.

 
Sounds like it was a bug that was fixed in later releases. I just wanted to make sure I wasn't missing something obvious.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor