I'm currently trying to figure out a faster way to setup my stock for my parts. 95% of the time my initial process is the same, which I'll show in the video I'm posting with this comment. Keep in mind that I know or have set stock dimensions to work with. I try to keep the part centered in this stock in the X and Y directions. I add .010" to the top of the part for a facemill finish pass. The bottom offset depends on the thickness of the material I can get from the vendor.
The big take aways are:
1) I know the stock size I'm working with
2) I keep the part centered in the stock in the X and Y directions
3) I add .01" to the top for a finish facemill pass
4) I connect my MCS to stock box
Is there a faster or better way to do this than what I show in my video?
P.S sorry for the background noises. We are a machine shop after all.
I would first like to address your problem with bounding block not orienting to your MCS. The reason is because your workpiece geometry is located above the MCS and therefore has no MCS to inherit so it uses the absolute coordinate system. If you move the workpiece under any of those MCS's your have in the tree, the bounding block offsets will move in the direction you intend.
However, from what I see about your workflow in the video I still think you may have an issue using Bounding Block instead of Bounding Body because of the dimensioning you place on the created stock model. Currently, Bounding Block does not create an object you can do something with such as place dimensions on, it's all internal to the workpiece. This is why Bounding Body is being developed.
I think you can still use Bounding Body in the manner in which you desire though. Did you know that the small conical arrows on the faces of the Bounding Body are dynamic and allow you to create an offset for each side? Try it. Begin creating the Bounding Body then find those arrows in the graphics window. Drag one of them out or just click on it and specify the distance. Let me know if this helps.
Bounding Body is a modeling feature, that is available from within CAM:
The workflow is to create this first, then locate your MCS relative to the solid. For example at u.5 v.5 on the top face of the block. Be sure to set the dialog to "More" to see all the options.
There are also vb and grip programs that do this. I would invest in an API program that does exactly what you want.
The attached grip program is an old example to give you the idea. Run it and pick your part. It will create a CSYS you can select for MCS. Inthe workpiece, when selecting blank, enter the name "BLANK". I would do something like this, but use the new bounding body feature.
Hi Mark, do you know of an API that would do what I'm trying to do?
I have a few samples using the basic block, but I don't know for which I have the author's permission to distribute. Attached is one that will make a block using a vb journal that may be a good starting point.
Going forward, I would use the new bounding body, which is ToolingBoxBuilder in the API. To get an idea of what is possible, record a journal, create a bounding body and set all the parameters. Stop recording and edit the journal vb file and you'll see how the code works.
For more help, I would search and ask for more help in the Programming and Customization forum.
It should be possible to just use the regular associativity that objects are able to create on their own, so there would be no API needed.
This way no API is needed and if the source of the linked body changes, everything referenced to it will change too.
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX12.0 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
I think you will end up doing what you are doing, but with a journal.
I would rely on the bounding body to center the block about the part. with the size rounding set to .25 the sizes come out to what you show. Then you could offset the top to .010 off the part, and the bottom a larger nominal size.
Finally watched the movie... When you position the MCS to the block, I don't understand why the Z is sideways. Did you get in to the CSYS oreintation for IPW flow? I was not sure.
Yes, Jkane posted the solution at the top as to why the csys was sideways. I haven't tested it though because I never setup my parts with that method.
As far as journals, I have never worked with them. Are they fairly straight forward to setup?