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!

Stock size Bounding box

Status
Not open for further replies.

uwam2ie

Automotive
Jul 11, 2005
1,008
I have been using analysing the stock size for partslist based on grip :
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
 
Replies continue below

Recommended for you

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

To an Engineer, the glass is twice as big as it needs to be.
 
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
 
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)
a UGS Foundation Partner
 
... ok phillpd,
I prefer any grip solution
 
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.
 
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.
 
... thanks again,
I've reworked part envelope , now its ok...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor