Measuring Stock Size
Measuring Stock Size
(OP)
Is there an easy way to quickly measure the stock size of a solid model in unigraphics?
For example, I want to machine a part to my solid model, and I'll need to identify the minimum block size to use in my bill of material. Other than measuring the distance in the x-y-z direction manually, I'm looking for some quicker way to do this as we have hundreds of components in an assembly.
Thank you!
Allan Lee
Designer
For example, I want to machine a part to my solid model, and I'll need to identify the minimum block size to use in my bill of material. Other than measuring the distance in the x-y-z direction manually, I'm looking for some quicker way to do this as we have hundreds of components in an assembly.
Thank you!
Allan Lee
Designer





RE: Measuring Stock Size
General Information
The outline geometry resides on a layer that is defined by the Assemblies_ProductOutlineLayer customer default. A Layer Category called Product_Outline is automatically created in the displayed part when a Product Outline is defined, and faceted representations of the selected components are created on that layer.
The display properties defined in the Product Outlines dialog apply to all of the geometry on the Product Outline layer, including its solids and faceted representations.
If assembly level geometry is selected, then a message is displayed to let you know that the geometry will be moved to the Outline layer. Show Product Outline toggles the visibility of the Outline layer, which shows or removes the outline from the view.
RE: Measuring Stock Size
RE: Measuring Stock Size
Thread561-52509
This has the grip source of an early version of my program. If you are interested in the latest and greatest version (a few new perks, no new methods or outputs) or don't have access to the grip compiler I'll gladly send the compiled version.
RE: Measuring Stock Size
Which program normally you use to compile Grip?
Thanks
RE: Measuring Stock Size
From there on, it will take you to the DOS running the "GRADE" (GRipe advance developing environment)
You can then compile your code there.
BTW,I tried the code from the thread above and it works out great.
Thank you again Cowski!
Allan
RE: Measuring Stock Size
You deserve double star.
Your program works super.
Meantime how to place an icon or short cut execute the grip program in UG
Thanks
RE: Measuring Stock Size
http://www.eng-tips.com/viewthread.cfm?SQID=94732&SPID=561&page=1
-Derek
DL Engineering Services
specializing in CAD Design Consultation Services
www.dl-engineering.com
RE: Measuring Stock Size
Thanks, Now I have an icon in my UG. It works fine.
Thank you once again.
RE: Measuring Stock Size
RE: Measuring Stock Size
PRINT/'X: ' + FSTRL(VAL(4)-VAL(1))
PRINT/'Y: ' + FSTRL(VAL(5)-VAL(2))
PRINT/'Z: ' + FSTRL(VAL(6)-VAL(3))
and delete the stuff that adds the dimensions.
RE: Measuring Stock Size
Part_envelope will measure from the current wcs where my version only measures from the absolute system - a limitation that may be important to your application.
RE: Measuring Stock Size
Looked for part_envelope in the grip lib downloaded from ugs. I see part_doctor and part_cleaner but no part_envelope. This utility would be a huge help. Can you point me in the right direction?
Thanks!
t.
tim@rapiddtm.com
RE: Measuring Stock Size
RE: Measuring Stock Size
RE: Measuring Stock Size
from here follow the download link.
There is a link for compiled NT versions (Windows) but when I tried it I got the 'page could not be displayed' screen.