×
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

Stock size Bounding box

Stock size Bounding box

Stock size Bounding box

(OP)
I have been using analysing the stock size for partslist based on grip :
 http://www.eng-tips.com/viewthread.cfm?qid=52509&page=165
but in some case the report is wrong. I have attached the grip solutions and a problem body as parasolid. The length reported should be close to 300mm and not 304mmm.
Another problem I have with this solution is when the base orientation is bad - wrong results. Any ideas, how do you manage this other solutions?
THX in ad
 

RE: Stock size Bounding box

If you look at the user documentation for GRIP covering the SOLBOX/ command you would see:

Description

Determines the coordinates of the diagonal corners of a box containing a specified solid body, face, or edge. The box is aligned with the absolute coordinate system. This box contains the specified solid body, face, or edge. The box is usually close to the minimum possible size, but this is not guaranteed.

The system returns a six word array indicating the coordinates of the diagonal corners of the box as follows:

minimum XC coordinates of the box
minimum YC coordinates of the box
minimum ZC coordinates of the box
maximum XC coordinates of the box
maximum YC coordinates of the box
maximum ZC coordinates of the box


 

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Stock size Bounding box

(OP)
thank you John,
I should read the F*** manuals and not only copy code.
How can I get better results, are the some tipps around,
to get what I need, min box (orientated) close to minmum material use.
thx in ad

RE: Stock size Bounding box

I think you'll need to use NX/Open, although pre-NX4 there are still "some" issues with the incorrect size of box being returned.

NX4 offers the function UF_MODL_ask_bounding_box_exact(), although the results can be much slower.

Specialty Engineered Automation (SEA)
http://www.sea4ug.com
a UGS Foundation Partner

RE: Stock size Bounding box

(OP)
... ok phillpd,
I prefer any grip solution  

RE: Stock size Bounding box

There is a program in the grip library called 'Part Envelope' that also performs this calculation. Its results are based on the planes of the WCS so may give better results for you based on your part's shape and/or orientation. I have done some testing with it, but I do not use it on a regular basis, so I cannot comment on its speed or accuracy.

RE: Stock size Bounding box

(OP)
thank you cowski,
I tried part envelope, I looked at the source, its witout solbox, but the results are not better when the body is not directed.

RE: Stock size Bounding box

(OP)
... thanks again,
I've reworked part envelope , now its ok...
 

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