SoAD Labs and Workshops

School of Architecture and Design, Wentworth Institute of Technology

Category: RhinoCAM – step-by-step

CNC milling-load tool database

This guide explains the process of loading the tools from the database

what it does
The tool database is a spreadsheet containing the pertinent information about the end mills of various sizes used to machine different types of materials. The appropriate tools must be loaded into the RhinoCAM software in order to properly program any machining operation.

 

open machining objects window

Open the ‘Machining Browser’ window by selecting the ‘RhinoCAM 2020’ tab at the top of the screen. The ‘Machining Objects’ window should open simultaneously next to the ‘Machining Browser’ window. If it does not open automatically, select the ‘Tools Machining Objects’ option to the right of ‘Mill’ in the ‘Machining Browser’ window.

load tools

Inside the ‘Machining Objects’ window, select the ‘Load Tool Library’ option in the top left of the window

 

 

 

 

select tool

‘Load Tool Library’ will open the file explorer. The Tool Database should be located on the desktop of the workstation. From the list, select the proper tool based on the type of material to be machined and the type of machining operation being performed.

 

confirm tools have been loaded

Once the tools have been properly loaded, they will be listed in the ‘Machining Objects’ window.

CNC milling – control geometry

This guide outlines the process and best practices for importing and using control geometry in Rhino + RhinoCAM to program the Center’s Shopbot CNC router.

what is control geometry?

Control geometry simply refers to the the geometry that is referenced by a machining operation in RhinoCAM. For example, in simplified terms, If you want to cut a circle on the CNC router, you would draw a circle in Rhino then use that circle in RhinoCAM to program the cutting operation; this circle is the control geometry. Different types of operations in RhinoCAM, namely 2-1/2-axis operations vs. 3-axis operations, require different types of control geometry. This guide attempts to outlines those differences as well as best practices.

how do I generate control geometry?

Control geometry simply needs to be vector-based geometry. It can be created directly in Rhino or imported from another CAD software such as AutoCAD or SketchUp.

differences between 2-1/2-axis and 3-axis operations

2-1/2-axis operations 3 axis operations
  • the tool moves in X + Y directions, while the Z-axis is set to a fixed level
  • The tool can move simultaneously in all 3 axes

2-axis operation geometry

2-axis operations
2-axis operations can be programmed using 2D linework
open vs closed curves

Generally, whenever you are trying to cut inside or outside of a boundary, it is best practice to work with closed curves.

This has the following benefits:

  • reliability: it ensures control geometry is continuous and does not contain gaps.
  • convenience: rather than selecting individual line-segments, you can simply select a continuous curve

if a closed shape, is made up of individual curves joined end to end, they can be joined using the join command in Rhino.

3-axis operation geometry

3-axis operations

3-axis operations require a surface to be used as control geometry

CNC milling – basic stock setup in RhinoCAM

This guide outlines the process of programming a “Box Stock” in RhinoCAM software.

What is ‘stock’ and why is it important to program it accurately?

‘Stock’ is simply material that you begin with, which will be shaped through a series subtractive milling operations. In reality, this can be a piece of wood, foam, plastic, etc which has specific physical dimensions and material properties. Programming the shape of this stock accurately is important for a number of reasons:

  • It helps you align the digital CAM environment and the physical CNC machine.
  • It allows you to accurately simulate and visualize cutting operations. It’s always faster and less wasteful to catch errors in a simulation rather than halfway through a CNC job.

programming stock

create Box Stock

Select Box Stock from the Stock drop-down

RhinoCAM allows you to program a variety of stock geometries; the most basic is a ‘Box Stock’. Most common materials come in this form – think plywood, dimensional lumber, foam, etc.

 

 

register material relative to origin

You must tell RhinoCAM where your stock is located relative to the XYZ origin of the CNC machine.

  • In the Box Stock window, select which corner you would like to be aligned with the origin. In our lab, this is typically set to the bottom left corner of the material.
  • Set Corner Coordinates to this origin (Xc=0, Yc=0, Zc=0)

Note:
On the ShopBot CNC mill, the longer horizontal axis (96″) is the X-Axis, the shorter horizontal axis (48″) is the Y-Axis and the vertical axis is the Z-Axis. Refer to the icon in the window which indicates this with the positive direction being from the right side of the table to the left.

 

enter stock dimensions

  • Measure the length and width of the the physical stock you are going to mill with a tape-measure and enter these values.
  • Material orientation is critical. Be sure you don’t mix-up the Length and Width!:
    • Length corresponds to the X-axis
    • Width corresponds to Y-Axis
  • Measure the material Height [thickness] with calipers and enter this value.

    Note:
    Its critically important that material thickness is measured precisely with calipers within +-.01″ tolerance. Never rely on ‘nominal dimensions’. 3/4″ plywood is not .75″ and a 2×4 is not 2.00″ x 4.00″.
review the stock in the model

  • Confirm the ‘Stock Visibility’ option is selected at the bottom of the ‘Machining Browser’ window

    Note:
    The ‘Stock Visibility’ option must be selected separately in the ‘Simulation’ tab in order for the stock to appear during the simulation. Review the stock dimensions to confirm they are accurate.

CNC milling – 2-axis operations – pocketing

This guide outlines the basic workflow and best practices for programming 2-Axis pocketing operations in RhinoCAM.

what is a pocket operation?

A Pocketing operation is used when you want remove all material with a closed boundary down to a set depth. Pockets can be programmed to cut through the full-depth of the materials or partial depth.

getting started

program stock

see the stock setup guide

import tool database

see the tool database guide

 

locate geometry

the approach taken in this demonstration is to locate the geometry at he maximum depth of the cut.

for example:

  • if the desired depth of the pocket is .375″, then, you would move the geometry to that elevation
  • if you would like the pocket to cut all the way through the material, you would move it slightly [no more then .02″] below the bottom of the material.

please note: This one method of establishing a relationship between stock, geometry, and toolpaths. There are many scenarios where one would want or need to take a different approach. There is no right or wrong way!

 

2 1/2 Axis pocketing operation programming

select the Pocketing operation

select ‘Pocketing’ in the RhinoCAM Machining Browser 2-Axis machining operations drop-down menu

Control Geometry

Select control geometry:

  • Select the ‘Select Curves/Edge Regions’
  • Select the curves that define the boundary of the pocket
  • Once added, they will appear in the  to the ‘Selected Machining Region(s)’ list

 


Tool

Select a tool by highlighting it in the Tools list

The ‘best’ tool is generally the largest available which allows you to cut your design geometry. Larger diameter tools are stiffer [and are therefore more precise], cut more material per revolution, and can handle a greater cutting depth [which reduces overall cutting time].

 


Feeds & Speeds

Select Load From Tool’ option to load tool data from the tool database.


Clearance Plane

The Clearance Plane describes the X-Y plane where tool travel motions can safely occur across the CNC bed . This needs to be set above anything on the CNC table in order to avoid collisions.

Select the Stock Max + Dist. option and enter a distance of 0.25″. This ensures that all tool travel moves across the bed will happen at an elevation 0.25″ above the stock.


Sorting

  • Leave No Sort selected (This should be the default selection)

 


Advanced Cut Parameters

  • This tab can be ignored

Pocketing Entry/Exit

Best practice is to program a “lead-in” motion for vertical ramp motion to every toolpath level. Introducing the tool gradually into the material increases tool life and avoids sudden forces which could dislodge workpieces or break tools.

Under Engage Motion:

  • Select Path
  • Set ramp Angle (A) = ~5 degrees
  • Set Height (H) ≤ cutting pass dept
  • Select Apply entry/exit at all cut levels

 

 


Cut Levels

  • In this example, we will select the Location of Cut Geometry as At Bottom. This is because we initially positioned the control geometry at the bottom of the cut.
  • Set the ‘Total Cut Depth’ value to the depth of the pocket. In this example, this will be the distance between the top of the stock and our control geometry.
  • Enter a value less than or equal to 50% of your tool diameter for ‘Rough Depth/Cut’
    Note: Enter a value in inches here, not a percentage

 


Pocketing Entry/Exit

Best practice is to program a “lead-in” motion for vertical ramp motion to every toolpath level. Introducing the tool gradually into the material increases tool life and avoids sudden forces which could dislodge workpieces or break tools.

Under Engage Motion:

  • Select Path
  • Set ramp Angle (A) = ~5 degrees
  • Set Height (H) <= cutting pass dept

Select Apply entry/exit at all cut levels


Cut Parameters

  • set Stock to 0. This value defines the dimension of material left between the control geometry and the actual cut. Typically, you will want your cut to precisely match your geometry.
  • Cut Direction should typically be set to Climb, which typically results in the best surface quality and accuracy. For more information, MecSoft, the creator of RhinoCAM has produced an excellent article explaining the difference between climb and conventional milling.
  • set Stepover Distance less than or equal to 40%. A larger stepover value results in faster milling time at the expense of reduced surface quality.