fbpx
  • HSM CAM Tips and Tricks: Equation-Driven Parameters

    I will be publishing quick Tips and Tricks regularly to help make you more productive and to capture your best practices.

    One of my favorite such tricks is using “smart fields” or equation-driven parameters.

    Virtually all fields in the CAM interface that accept numerical values can also accept equations that reference constants or reference other parameters/fields. Right-clicking on the field and selecting “Edit Expression” brings up an input box wherein you can enter a constant value or build at equation. Once you are done, right-click again and select “Make Default” so that this change is remembered the next time you use this machining strategy again.

    An example where a constant might make sense is plunge feed rate for operations other than drilling operations. Indeed, this is an approach speed that is largely independent of tool type or size. Perhaps you want this to always be a nice and slow 20 IPM until the program is proven safe. Stock-to-leave is another parameter that could be set to a constant.

    Referencing another parameter introduces more power. For example, several parameters can be made dependant on the cutting feed rate.

    Indeed, you can set the lead-in and lead-out feed rates to vary proportionally with the cutting feed rate. Similarly, the reduced feed rate for inner corners specified under “Feed Optimization” should also vary proportionally with the cutting feed rate defined under “Feed and Speed”. An expression referencing cutting feed rate would look like this:

    (tool_feedCutting * 0.5)

    Several parameters can be made dependent on the tool diameter. Indeed, stepovers and stepdowns are prime candidates, as are lead-in/lead-out segment definitions, spiral entry diameter, and stock-to-leave values. An expression referencing tool diameter would look like this:

    (tool_diameter * 0.5)

    Finally, expressions can contain logic and can combine the two approaches described above.

    For example, stock-to-leave might be controlled by an expression that considers tool diameter, but defaults to a minimum value below a threshold tool diameter.

    (tool_diameter >= (.250in) ? (tool_diameter * .05) : (.010in))

    Expressions can be as complicated as you can make them. They just need to respect JavaScript syntax.

    A complete list of parameters that can be used in expressions is found here: https://airtable.com/shrggXZ4wpuGUiN3w/tblJ9PHav1NwMmqMz/viw09jWqXAR0JmPPM?blocks=hide

    Investing two hours into setting up expressions for various machining strategies can go a long way towards capturing your best practices and automating HSM CAM, resulting in increased programming consistency and decreased programming time.

     

    Interested in tweaking an HSM (Inventor CAM, Fusion CAM, HSMWorks) post-processor yourself?

    The “SolidCAD Universal FANUC” post processor (free on our website) contains a large number of parameters that can be set on-the-fly through the “Post-Process” dialog, without needing to change anything inside the post-processor.

    If you require other changes, SolidCAD offers a post-processor modification service to adapt this post to your machine and to your best practices. If you wish to make changes yourself, you are free to do so. Indeed, the “SolidCAD Universal FANUC” post-processor and all the post-processors available on the HSM Post Library website are unlocked and open-source.

    The HSM Post Library is found here: https://cam.autodesk.com/hsmposts

    A post .cps post-processor file is merely a text file. It can be opened and edited in Notepad or any other text editor. There is unfortunately no user interface; changes must be made to the code in JavaScript language.

    However, the good news is that Autodesk publishes a free manual to guide you through the process, covering the basics of JavaScript and explaining the various sections of a post file. The manual can be downloaded here: https://cam.autodesk.com/posts/posts/guides/Post%20Processor%20Training%20Guide.pdf

    If you can’t find an answer in this 200-page guide, you can consult the vast archive of the HSM Post-Processor Forum, and even post your question on this very active forum. The forum is located here: https://forums.autodesk.com/t5/hsm-post-processor-forum/bd-p/218

    Do you know about Adaptive Clearing?

    Hey CNC’ers!

    Do you know about Adaptive Clearing? It’s the intelligent roughing strategy at the heart of HSM CAM that has changed milling forever. Increase your profitability by getting to near-net-shape in a single, highly-efficient, tool-sparing operation.

    To learn more about the advantages (as well as pitfalls) of this game-changing technology, download the following article: https://www.solidcad.ca/wp-content/uploads/2019/05/A-few-words-on-Intelligent-Roughing-by-Louis-Martineau-.pdf and visit here.

    You can also watch the video down below:

    Customizing the Inventor Marking Menu

    A few years ago, Autodesk introduced context-sensitive radial menus called Marking Menus, in Inventor. These menus provide a quick and visual way for users to select the most commonly used commands in each environment. Over the years every-day users have no doubt become quite familiar with these menus and the available commands, but did you know you can customize it?

    By default, Autodesk has placed what they believe to be the most common commands in this radial menu however, you know as well as I do that from company to company and even desk to desk, everyone uses Inventor differently. The following are the quick and easy steps to customize this menu.

    How to do it:

    On the Tools tab in the Options pane, the “Customize” button will open the dialog box that lets you modify the 8 commands in the radial menu for a given environment and associated sub-environment. From 2D Sketch to Weldment and everything in between, you can put your favourite commands right at the tip of your mouse pointer.

    Choose the environment and sub-environment you wish to customize the menu for. Next, select one of the eight radial menu options that you want to change (in this example we are changing the “Pattern Component” command in the standard Assembly environment).

    In the menu on the right, search or scroll down to the command you want to add and simply click on it to replace the selected option (iProperties, in this example). It’s as easy as that!

    A

    lso; starting in 2018 Inventor began giving users the option to migrate these (and all other) custom user interface settings when you upgrade to newer releases. So, you no longer need to worry about starting from scratch!

    Why is it called the “Marking Menu”?

    In addition to customizing where your favourite commands are on the right click menus, did you know you can also right-click-drag to the command, without ever actually seeing the menu? The pointer will create a “mark” as you drag your mouse to the location of your desired command, as shown below. This will require some practice but could become quite handy over time when the location of the commands in the radial menu becomes second-nature.

    PART 1 : New Project Introduction Process In Fusion Lifecycle

    This is the first in a three-part series of Fusion Lifecycle videos. In this video, we will review the New Product or New Project Introduction process in Fusion Lifecycle.

    Fusion Lifecycle and Autodesk Vault Professional can be integrated to streamline the Project creation process.  In our example, we will begin by creating a project in Fusion Lifecycle.  Upon approval, Fusion Lifecycle will then automatically create that project in Vault, complete with our defined folder structure.