Bill Craven

Resellers
  • Content count

    162
  • Joined

  • Last visited

  • Days Won

    1

Bill Craven last won the day on February 28

Bill Craven had the most liked content!

Community Reputation

65 Excellent

About Bill Craven

  • Rank
    Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1,625 profile views
  1. Bill Craven

    High level training

    A lot of my time these days is developing 'turnkey' part programs, and many times it is for a customer that has just bought a new machine with advanced capabilities and doesn't have anyone in house that knows how to run the machine and even set offsets, etc. Starting with a good post is very helpful, but if the parameters in the machine are set differently from the parameters that worked for a 'proven' post, you might not get the desired motion. Working with posts from Mr. Postability (Dave Thompson) and posts from the crew at In House Solutions have been positive experiences. But if you can't tell them why a snippet of code doesn't work, they can't fix it. I end up burning a lot of time going back and forth between an Application Engineer from the machine tool manufacturer and the post developers. Okay, I'm done whining. I love my job. I really do. The mental stimulation is what keeps me going.
  2. Bill Craven

    Active Reports: Minimum Z depth for each operation

    I run a simulation in Mastercam using MachSim. MachSim allows me to set up the 3 view display. For each operation I use a screen capture program called Snagit to capture the 3 views and then I save the screen captures with names that have the operation numbers in them. Then when I run the Active Reports setup sheet, I can change out the default screen captures that Mastercam creates for the setup sheets and replace them with the screen captures that I saved when running MachSim. Attached is a Word doc from Mastercam explaining how to change the screen captures. how to use custom images in ActiveReports.docx
  3. Bill Craven

    MC2019 operation numbers

    Thanks Jay, That looks sweet. I've got 2020 loaded, but haven't had much time to work with it. I have to work in the version that my customers use. (you know how it is)
  4. Bill Craven

    MC2019 operation numbers

    If you go to the Operation display Options, there are 2 different Operation numbers available. "List numbers" will be a sequential operation list. The "Internal operation ID" is the operation number that was assigned when you created the operation. If you have the Internal operation ID displayed, then when you move operations around, the operation numbers don't change. If you delete an operation the Internal operation ID is not used and not "recycled" A neat organization tip: I use Internal operation ID numbers to put toolpath geometry on. As an example; If I have 10 operations, (1 through 10) I will put the toolpath geometry for internal op ID 1 on Level 101, the geometry for internal op ID 2 on level 102 and so on. This way if I come back to this file a year from now (or hand off this file to someone else), they can easily find the geometry for that operation.
  5. Bill Craven

    Active Reports tool projection

    Laying on my back, looking at the underbelly of the bus and wondering who threw me here... Thanks Ron. lol Actually, I am glad to help. Short answer: Try using OVERALL-LENGTH for the XML tag. This is where some of the confusion starts to happen. In the XML file, Physical Length is the overall length. The overall length is the stickout or projection length. The "Setup Sheet XML Outline and Tag Glossary" doesn't have accurate definitions for the tags. The XML tag "Physical Length" is the number that you entered for the "Overall Length" when you were defining the tool. Overall-length is the stickout or projection length. The spAssembly/ToolProjection tag should work, (the same stickout number is in that field) but unless you have drilled down to that level of the XML file in your report, Active Reports won't output anything. Longer answer: Get a XML file viewer. I like XML Notepad from Microsoft. It is free and you can easily see the outline format of the XML file. If you don't want to install another piece of software, just drag and drop the XML file into Chrome. It will display all of the tags and the data stored in them. From either of these programs you can search for the "Tool Projection" number that you entered when you were setting up the tool on the holder page of the operation. Another way of thinking about the "hierarchy" of the xml file is to think of each branch of the outline as a floor in a building. Unless you are on that floor, or have created a path statement to that floor, you can't output that data to your report. Form the screen grab above, you can see that OVERALL-LENGTH is on the floor above spAssembly.
  6. Bill Craven

    4th axis drill and tap macro

    If you have a solid model of the part and have the Mastercam multi-axis module, you could do it as a 5 axis drill path. This works especially well if the holes aren't evenly spaced.
  7. Yep, That is pretty much the world I live in. This will be another rabbit hole for me to fall down. Sleep is for wimps.
  8. Where is this Javascript file located? Many thanks Gunther for your excellent work.
  9. Bill Craven

    Active Reports: Minimum Z depth for each operation

    The report that I developed was based upon one of the default reports included by Mastercam. This was for a Mill/Turn type machine. The reason that I chose that for my starting point was: so that I would only have one report to tweak as I found that I wanted to change something. If I had worked just with the Mill report and then the Lathe report, I would have to go back and make changes so that the output would look the same. I wanted to minimize the number of reports that I have to maintain. So back to your question: "how does it know?" It really doesn't. There are two things that happen when you create a Setup sheet in Mastercam. 1. Mastercam goes out and looks at the Active Reports rpx files, makes a list of what information is needed for the rpx files and then goes to the mcam file and extracts and saves the data that the rpx files needs to an XML file. 2. Active Reports ( a separate program that Mastercam has licensed ) then takes over and goes into the XML file and gathers the information for the report and creates a buffer or temporary data file. Active reports then massages that data and places it in the report according to your template If you go back and look at one of the XML files in the Chrome browser and start at the top, you will see that is where the hierarchy starts. The first part of the XML file contains the data for the "SETUP SHEET". This data only appears once. <SETUPSHEET> <COMPANY>My company name</COMPANY> <USER>Windows User</USER> <BUILD>21.0.23937.0</BUILD> <SIM>xxxxx</SIM> <SOURCE>MASTERCAM</SOURCE> <UNITS>Inch</UNITS> <VERSION>2017</VERSION> <DATE-LONG>Tuesday, February 26, 2019</DATE-LONG> <DATE-SHORT>2/26/2019</DATE-SHORT> <TIME>8:21 PM</TIME> <YEAR>2019</YEAR> (there was more. This was just the start of that section) The next data is the Safety Zone (or Stock information) It also only appears once. When Mastercam is looking at the MCAM file there will only be information for the SZ section based upon what product was being used. Mill,. Lathe, or Mill/Turn. It gathers that information (if you have requested it for your report with the rpx file) and stores it in a buffer. Next is the NCFILE section. It has information about the names of the files used and some other stuff. This data is only gathered and output to the XML file once. The next section is the OPERATION section and it is very short but does repeat in the XML file for each Operation. It only holds the operation number and the operation type. <OPERATION> <SPACER>SJV</SPACER> <NAME>1 - Contour (2D)</NAME> The next section is information about the Operation and it is specific to the product being used. It might be OPERATION-M, or OPERATION-L or OPERATION-T (for text, Manual entry) A sub section of this product specific operation is going to be the TOOL, and then TOOL-L or TOOL-M information and it has to be specific because of the way that Mastercam defines tools for Milling is different than the way it defines tools for Turning. If it is a turning tool, then there are more sections for INSERT, HOLDER, CUSTOM, DRILL. I am not using that data for my "SHORT" report. By carefully and consistently naming the tools, I can just use the name field in my report and still give the operator all of the information that he needs to know that he has the correct tool. Again, this information is stored the the buffer. Think about all of the information that is required to fully describe everything about an operation. Each operation has to be defined as to what it does, what tool is used, what Work offset is used, etc. After building this "buffer", Active Reports builds and outputs the report to the screen. Most people have little idea of how much work it took to gather that information and put it in an XML file. I didn't even touch on Mastercam loading the backplot image and geometry and taking a snapshot for every operation, or taking snapshots or each tool, each insert in Lathe and the touchoff point Mastercam sequentially gathers the information for each operation and then Active Reports collects that information and presents it in a report. So, if you create a report that you want to output a tool depth, but don't have an OPERATION rpx before the TOOL rpx how would Active Reports know which tool depth to use for the report? From the Active reports Tips and Tricks doc: MIN and MAX Values Beginning in 2019, each min/max is relative to the Tplane or WCS used in the operation. World coordinates are available. There are different tags for each. Examples: MIN-Z-TPLANE, MIN-Z-WCS, MIN-Z-WORLD. In previous versions, the WCS must be the same in all operations selected or World values are used for MIN/MAX-Z, etc. Values will be relative to the WCS origin. If you aren't using 2019, my reports will probably not give you accurate stickout information. Most of the time, when Active reports is missing information because we have the XML tag names wrong or the path in the XML file not specified correctly, Active reports doesn't output any data. (as you have seen in your tests) What version of Mastercam are you using?
  10. Bill Craven

    Free Active Reports Setup Sheet

    I don't know. It wouldn't hurt to try it. It does not overwrite any of the default installed Active Report Templates.
  11. Bill Craven

    changing multiple diameters

    This chook is still included. ArcMultiEdit.dll Works for wireframe arcs.
  12. Bill Craven

    Free Active Reports Setup Sheet

    Greetings all, I have developed a setup sheet that is really more of an Operation check list. Developed for minimal paper waste. It works with all three of the main program types without changing report templates: Mill, Lathe, and Mill/Turn. The operations are color coded: Blue is turning, Yellow is Milling, and red is Manual Entry. If the tools are named in Mastercam the way that I recommend, all of the information will be there for the operator: Insert codes, etc. Included in the zip file that is attached is a sample turning program with milling, the Active report templates, a Word doc with instructions on how to install and where to enter information. For best results, pay close attention to the Word doc on what and where I enter the names and comments of the tools and operations. Disclaimer: Use at your own risk. Active_Reports_OP_Tool_List_short.zip
  13. Bill Craven

    Active Reports: Minimum Z depth for each operation

    I just took your setup sheets and tried to modify them to output the MIN-Z that you were looking for. (and failed) It took a while for me to get back to this thread. I have been juggling too many chainsaws this week. I have attached an Operation and Tool List report that will work with Mill, Lathe, and Mill/Turn. Also included in the zip file is an installation and configuration doc, a sample Mastercam part file, and a sample report. The hierarchy is very important. For this report, I used the following hierarchy OP and Tool List (MT) short.rpx - OP and Tool List (FILE) Short.rpx - OP and Tool List (OPERATION) Short.rpx - OP and Tool List (OPERATION-L) Short.rpx - OP and Tool List (OPERATION-M) Short.rpx - OP and Tool List (OPERATION-T) Short.rpx - OP and Tool List (MAN-ENT-INFO) Short.rpx and I am outputting sub-reports that don't produce any output, but are critical to gathering the correct data. I added the MIN-Z that you were looking for and I also added the "Top of Stock" data. In some cases the MIN-Z is not below Z zero. A little quick math subtracting the MIN-Z from the top of stock will give the tool stickout that is your ultimate goal. AR is supposed to be able to do calculated fields, but I have not been successful in getting that to work. The sample report below is from a Lathe part with milling. Active_Reports_OP_Tool_List_short.zip

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us