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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX Grip code for trapezoidal and triangular shape solid models

Status
Not open for further replies.

atulz

Mechanical
Joined
Oct 29, 2014
Messages
15
Location
IN
Could anyone tell me how to write a NX GRIP code for trapezoidal and triangular shape solid models?
 
Are you asking for an ACTUAL GRIP program? GRIP, while it's still works fine, it's considered all but obsolete in terms of creating any new bits of automation.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
I'm very thankful for the reply.
I am developing the GRIP program for solid modeling of different configurations of fins. But I'm facing the problem while writing the grip code for trapezoidal and triangular shape of fins.
NX open API also there but the program size becomes very big. that's why I'm using nx grip program.
If the syntax is available for these two types (trapezoidal and triangular shape), will you please tell me?

Thanks & Regards.
 
While it's technically possible to create solid bodies using GRIP, these solids will not be fully parameterized features. For example, GRIP doesn't support sketches so if you do created an extruded solid, the profile will consist of only 'dumb' curves.

If this is a serious effort, you really should look further into using the NX Open API tools.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
But sir, is the grip syntax available for those geometries?
thanks.
 
You can create any shape you want using GRIP. It's just a matter of creating a string of curves. But if you're aksing, "Does GRIP have a function that will automatically create a 'Trapezoid' or a 'Triangle'?", the answer is NO but there's nothing stoppin you from creating a series of lines which forms a 'Trapezoid' or a 'Triangle' which could be be extruded to form a Solid Body.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
OK fine. thank you so much for your great advice sir. I will do it needful.
 
If the points are P1, P2, P3, then the GRIP code to make a triangle from three lines is:

[pre]line12 = LINE/P1,P2
line23 = LINE/P2,P3
line31 = LINE/P3,P1[/pre]

But, as others have said, this is goofy. In SNAP, if p1, p2, p3 are Positions, then you write

[pre]line12 = Line(P1,P2)
line23 = Line(P2,P3)
line31 = Line(P3,P1)[/pre]

Obviously this is not significantly longer.
What do you mean when you say that with NX/Open "the program size becomes very big" ??

You shouldn't be writing GRIP programs if you're under 40 years of age :-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top