Week Seven

Computer Controlled Cutting


What is CNC Machine?

CNC stands for Computer Numeric Control it is a process used in the manufacturing sector that involves the use of computers to control machine tools. Tools that can be controlled in this manner include lathes, mills, routers and grinders.

The process involves creating a CAD(Computer Aided Design) file of the desired object. Then a specialized CAM (computer aided Manufacturing) software is required to convert the 3D CAD file into a set of codes which the machines can understand. CNC machining language, called G-code essentially controls all features like feed rate, coordination, location and speeds. With CNC machining, the computer can control exact positioning and velocity.

ShopBot 3-Axis CNC Milling Machine

Shopbot
ShopBot PRSalpha

Shopbot
ShopBot PRSalpha

Shopbot is a large format CNC machine which can be used to cut timber, plywood, soft aluminum etc. It is a 3-axis machine and has a bed size of 4x8 feet. This machine is very modular. That means it can be easily disassembles and transported to a new location an reassembled. We have in our lab a.

The shopBot we are using is PRSalpha 96X48. Which has a Gantry size 96X48 i.e 8X4 foot.

Places to find good design insipirations

Opendesk

Atfab

Ronen Kadushin

Pedro Terra

Dyvikdesign

Pinterest

Nomenclature

  • Drill bit Vs End mills

    Shopbot

    Though they might look same both of them are designed for different purposes. A drill bit need to cut straight into the material hence will have teeth at tip. But an End mill needs to cut from the sides also, that means it needs to have a cutting edge spiraling all the way up to the flute.

  • Flutes :- Flutes are the spiraling shafts cut along the surface of an end mill. They serve two purposes, one for cutting the material and other for clearing the wood chips from the cutting area. Less number of flutes means chips will be cleared easily but the cut will be of rough finish. Higher the number of flutes the smoother the surface, but the chips will not be cleared easily.

  • Upcut & Downcut

    Shopbot

    In an Upcut type end mill the teeth on the flute will point upwards. This means that the end mill is cutting and drawing out the wood through the flute. This is good for cutting deep into the stock. But this leaves a bad surface finish on the top of the surface.

  • A downcut type end mill has teeths that point downward on the flute. This means that the end mill will cut and try to push the material into the stock. This will give good surface finish on the top, but it is not very efficient at removing material.

  • Flat/ball end

    Shopbot

    flat end leaves flat surface profile on the stock and are good for removing large volume of material, but steps are formed when used for making curved surfaces. Ball end leaves curved surfaces and forms smooth curved finish while cutting cavities. They are used for finishing cuts.

  • Chip load :- This is the amount of material that is removed in each chip. The value is approximately = feed rate (inches per minute) / (RPM x number of flutes)

  • Cut depth :- This is the measure of how deep the end mill should go in each step while milling. Ideally cut depths should be less than 1/3rd of the length of the tool. They are mentioned in the product manual of the tool bits.

  • Step over

    Shopbot

    In a pocket cut the machine will traverse the entire area of the cut. It does that with a series of paths that cover the entire length and width of the cut. While doing this the step over determines how much the adjacent paths overlap each other. Usually we use it at 50%, ie the adjacent end mill cuts will overlap 50%, which gives a better finish.

Cutting logic: How to cut with a ShopBot

The ShopBot is like any other CNC machine which we have used previously. It runs on a series of commands which are called G-codes. These codes are like instructions executed line by line, they tell the machine where to move and what to cut. There is a whole host of processes involved in computer controlled cutting, and it all starts with a CAD design.

This is usually the first step in any CNC manufacturing process. You have to first design what you are going to cut. For cutting you need a 2D vector path of the part. You can design in your favorite design tool and export as a .DXF file which can be used by Vcarve. I used Solidworks for designing the path and Rhino for some light modifications as it is easier to edit DXF files in Rhino. Once the CAD design is done now we can move on to the CAM setup.

For controlling shopbot, we need to generate a G-code file from the CAD, in order to do that we need a CAM software. We use Vcarve for generating the shopbot file from the CAD design.

Test Cutting: Finding the Tolerances

Designing the height adjustable table.
Test cutting to find tolerances

We did a group task of finding the tolerance required for press-fit assembly. We have in our lab plywood sheets of 18mm and 12mm, hence we cut slots from 18 to 17.5 in steps of 0.5mm and the same with 12mm.

We found out that the right fits comes somewhere near 17.5 and 17.6mm. The material thickness does vary a bit hence I decided I would put a value in between these numbers.

Vcarve: Learning how to use the software

ShopBot is unlike any other machine we used before, we cannot just click print, like we did with the laser cutter. There is a lot that needs to be taken care of before you can cut.

So to learn how to use the software and setup the machine I decided to cut something small. It would be 15x15cm with a pocket, a projection, a few slots and some text. I was aiming to use maximum variety of tools and learn how they work.

Designing the height adjustable table.

I designed it in solidworks and exported as .DXF and imported it to Vcarve. In the first step it will ask you about the material, the thickness, the offset if necessary, and where you want the origin to be etc. Set them appropriately.

I gave a 6mm pocket on the two circles, one inside and on the other I drew a square and pocket cut the area between them. Same with the curve also. I put small triangles in the design as I wanted to see how they would come out, I was thinking of including a triangle pattern in my design. We can’t cut directly from Vcarve, so I exported the tool paths as a ShopBot file .sbp I set up the machine properly and put in the correct bit and set the origin points on 3 axis and started cutting. It came out as I hoped and I learned a lot about how the software sets up the tool paths and how to set up the machine properly.

Designing the height adjustable table.
Finished test cut

How to set up ShopBot

When working with a CNC tool always remember that you are not the one controlling the machine, you cannot predict where the spindle will go. As is you should never reach your hand into the machine when it is working. Never work with ShopBot when you are distracted or sleepy. Some Cuts can take hours and you should not leave the machine to run on its own.

Its important to wear eye protection and gloves at all times. The machine spindle is rotating at 12000RPM, it can and will spit out high speed projectiles at you, and If you are not careful it can seriously harm your health.

Once you have set all the tool paths in the software we can begin setting up the machine. First you have to load the stock into the machine, align it properly to the bed and fix it in place with screws.

Designing the height adjustable table.
Drilling screws to secure the stock to the bed.

Turn on the machine from the control panel on the right side. Now the first step would be to bring the spindle to the home position. To do this, open the shopbot 3 application in your computer, you can see a red control panel indicating the current position of your spindle.

Designing the height adjustable table.
Shopbit control panel.

There is a button with XY written on it this is the return to home button. The machine has a home position at the top right, near the control panel. Once you click it, an alarm will go off indicating that the machine will now move.

This would be a good time to put the bit into the machine, you can move the spindle using the arrows keys on the control panel.

Designing the height adjustable table.
Collect chuck and End mills.

Once done, get the wrenches out and remove the collect chuck. Put in our new bit and tighten it properly. Remember to never put the bit in too deep or too shallow. The chuck should close just above where the flute ends.

Designing the height adjustable table.
Engraving V-bit and 1/6 Up-cut bit.

Once the machine is in the home position move it to the place where you want to cut. Note down this position in case something happens and you have to stop the machine or if power goes out. Now set the origin.

For setting the Z-axis we have a plate which is electrically connected to the machine. The way it works is that you place the plate, on the surface, below the bit.

Designing the height adjustable table.
Z-axis zeroing plate.

The machine will move the z-axis down. When the bit touches the plate, a circuit is completed and the machine will set the origin. Now you can begin cutting.

Making a Height Adjustable standing desk

I wanted to make a standing desk for quite sometime as most of the time when I’m sitting down to work on my computer, I will have back pain. I know this is not a healthy habit hence, in the past I have used some small stools, kept on top of my table which allows me to work standing up, but its very difficult to adjust the height of them. Hence I wanted to option for adjusting the height of the desk so that it will suit the height of the person using it.

I started researching online for inspiration and found one on kickstarter. These guys have designed a table which is very easily adjustable. I loved the design of it, though I have tried in vain to understand how their design actually works. I set about to design one with how I think it works.

Original inspiration

The main thing that I liked about this design is the ease of adjusting the height without requiring any complicated fixtures and holders.

I started designing the table by estimating all the dimensions. I measured approximated dimensions using tape and started drawing out my design. I went through several iterations of drawing before I got close one which I liked.

Designing the height adjustable table.
Designing the height adjustable table.

With the approximated dimensions, I started drawing it in Solidworks. While sketching itself I could understand some of the obvious dimensioning errors I made and I started correcting and redrawing it again and again. This took a lot of time.

I started by figuring out the angles the legs would be tilted from the vertical. I approximated 70deg to be the angles, any more means it would put too much torsional force on the material and any less it would limit the height range of the table.

Designing the height adjustable table.
Designing the top leg.

I’m planning on using a saw-tooth cut profile to act as the height adjusting mechanism, this will rest on a key which will act as the load bearing member. The table will be two section, top and bottom. The top will be connected to the bottom at only two points. One on the key which the saw-tooth is resting on and another on the slot which I’ve cut on the bottom piece.

For drawing the sawtooth profile I drew a reference line on the middle of the leg and and drew lines at constant intervals, these would be my steps.

Designing the height adjustable table.
Designing the sawtooth steps.

I had initially planned on making steps at every 2cm, but while designing I understood that was a mistake, the step width would be very small. Hence I increased the step height and found 5cm steps to be ideal

Designing the height adjustable table.
Final design of sawtooth steps.

The saw-tooth will not be visible from the sides and will be on the internal part of the top portion. Hence my option is to pocket cut and remove all the material from the teeth till the edge.

Designing the height adjustable table.
Profile cutting the saw tooth steps

The top of the table has to be level at all the heights the table is designed for, hence I need to design the angles properly. The step of each teeth has to be fully resting on the key otherwise it cannot support the load.

Now in drawing the bottom leg I have to keep the same 70deg angle and design a base for it. The challenge for me was I wanted to make the base legs curved. This poses a problem that when you join two curves together it touches in a point.

Designing the height adjustable table.
Curves intersecting at a point

I want that point to be filleted, but if you give the option to fillet, the meeting point will now be raised from the ground, which means you have just changed the angle slot. I solved it by drawing a reference line, which will act as my ground line. Then I used a tangent curve to draw a curve meeting the two points while keeping the bottom point on the line, this way the structure would remain horizontal.

Designing the height adjustable table.
Solved by drawing a tangent curve connecting two curves

Now to connect the to sides of the table I would need rectangular connectors which will press fit into both sides. I have 3 slots on the bottom part of the table and one slot on the top part.

Designing the height adjustable table.
The bottom legs cut out and ready for assembly

I made the ingenious mistake of designing one connector to fit all the holes. Whats seems to be the problem right? Well it was not apparent to me till I cut all the pieces, filed it all down, chamfered the edges and tried to fit it.

Designing the height adjustable table.
The connector I designed to join two halves of my table.

The 3 connector on the bottom went in smoothly, I had given very fine tolerances on both sides of each slot, so that I would get a good interference fit. They were difficult to push through but after some manual labor they all went in nicely.

Designing the height adjustable table.
Assembling the bottom leg

Designing the height adjustable table.
finished structure

The fit was good and the structure was solid. It can take a lot of load and does not bend easily. I can even stand on the connectors.

Only when I fit the last connector to the top section and tried to put the top section on the bottom, did I realize my mistake. The top and bottom sections where separated by the same distance, I wanted the bottom to be inside the top section. The simple law of physics that two object shall not occupy the same space at the same time was preventing me from fitting the top to the bottom. Well, that is when things went downhill. I should have done a small laser cut version first. Lesson learned. Next time I'm making something big, I'll first make something small.

I was drawing everything in 2D while visualizing how it would fit in 3D, since I was going through iterations of drawing and redrawing, I did not convert my sketches into 3D, big mistake. I should have taken the time to convert them to 3D and assembles to check the fits.

I had cut out all the pieces, including the top plate, which had four slots separated by the same distance as the middle connector.

I cut out a new connector for the top section from the scrap I had from my last cut and proceeded with the build.

Designing the height adjustable table.
Assembled with the new connector, it fits nicely.

Designing the top plate.

The top plate would be joined to the top leg at four places, I estimated the size of the top plate by giving enough space to put both my laptop and my notebook at the same time. This came to about 70x60cm.

Designing the height adjustable table.
The top of the table designed in solidworks.

I also wanted to engrave my name and a cool design on my top plate, since it had a lot of free space. I went with a simple design of two dragons and some text. The dragon was converted from an image by tracing a bitmap of it using edge detection and exporting as DXF. I engraved the design with a V-bit and depth of 1.5mm which was a bit more than I imagined.

Designing the height adjustable table.
Engraved with a V-bit at 2mm depth

Considering ergonomics I wanted the outer edge of my top plate to be filleted, since I did not yet know how to carve in 3D using the Shopbot. I cooked up an ingenious solution to cut in 3D using 2D sketches.

My plan was to draw multiple paths offset-ed both inside and outside my original cut line. And I would vary the depth of each pass. We have a 6.35mm ball nose bit. Hence I decided to divide my cut into 5 different cuts of varying depth. I had hoped that the ball nose would create a profile tangent to the tool.

Designing the height adjustable table.
Cross section showing my plan to fillet the edges of the table using multiple paths .

Designing the height adjustable table.
Changed the design to add all the extra tool paths .

When I went to my instructor with this plan he said it might be risky as ball nose are usually used for finishing cuts and cannot remove a lot of material. Hence I abandoned it for a simpler one.

My new plan is to use the engraving V-bit itself to create a chamfer on the cut line of the top plate. I gave a depth of 2mm and cut it out. It works fine and is a quick and easy solution.

Designing the height adjustable table.
The top of the table fully assembled

The top half is resting on the bottom at only four points, two on the key which supports all the load and the other two, small 2cm diameter cylinders which slide inside the slot of the bottom legs.

I cut the cylinders using a 1/8 inch (3mm) up-cut milling bit. My instructors told me that if the cylinder break off and hit the bit it might break, hence I had given 3 tabs on each cylinder to ensure that it would not move. I found out its very difficult to remove the tabs without peeling off the bottom layers. Hence I cut again, but this time I put only one tab. This was fairly easier to remove.

Designing the height adjustable table.
Cut the first one with 3 tabs it was difficult to remove and the bottom peeled off.

Designing the height adjustable table.
The second one was easier to remove.

Design problem: Assuming the wood joints would be perfectly straight

height adjustable table.
The gap between the two legs because of the natural bend in plywood.

I designed the top leg to rest on the bottom at two places, one in the key and another in the slot. The connection in the slot is meant to be sliding. I had assumed that the the joints would be perpendicular and that I would not have to lock it from the other side.

Hence I designed a simple circular peg which would rest in the slot. I thought about designing a T-shaped peg that would lock it from the other side but I wanted the table to be easily disassembled, thats why I went with the simple peg.

As with all designing, you have to entertain the possibility that your assumptions might be wrong. I found this out when I assembled the piece. The plywood I cut on had a slight bend, this meant that the joint was no longer straight.

Learned a valuable lesson then, Never let your design depend so much on the dimensional properties of the wood.

Designing the table was a lot more complicated than I imagined, The design looks deceptively simple, yet it took me more than two days to get all the dimensions and fits within reasonable estimates.

The cutting section was smooth, I faced little problems. I opened the DXF file in Vcarve and started giving all the tool paths. I made sure all the open vectors were closed. There are a lot of setting you have go through, like choosing the correct bit, setting the cutting depth, the pass distance etc.

The general order for giving tool paths is as follows

  1. Select the path you want to cut (make sure they are closed vectors)

    Designing the height adjustable table.

  2. Choose the appropriate option (Profile cut, pocket, Drill etc)

    Designing the height adjustable table.

  3. Set the tool you will use from the library. (you can see the settings for the tool in the window, and edit them if needed.)

    Designing the height adjustable table.
    The 1/4 inch upcut bit

    Designing the height adjustable table.
    The 1/8 upcut bit

  4. Designing the height adjustable table.

    Set the cut depth.

  5. For profile cut select inside, outside, or on the line.

  6. Add tabs if necessary.

  7. Click calculate

  8. save tool path to file.

Designing the height adjustable table.

When cutting remember all the safety precautions, wear eye protection gloves and shoes when cutting. Cutting makes a lot of noise so keep yourself protected by wearing ear protection. Remember to turn on the dust collector so that all the debris will be sucked out of the cutting area.

My Recommendations when giving large pocket cuts

In my design, I wanted to hide the sawtooth from the outside, hence I gave it as a pocket cut with a depth of 15mm. This meant that I had a lot of wood to remove. In my first cut I selected the entire path in Vcarve and gave it as a pocket cut.

When the machine started cutting I realized one glaring problem with the way the software gave the tool paths. The setting I gave for cutting was the offset option, in which the tool will cut from the inner edge to the outer edge by tracing the perimeter in steps.

Designing the height adjustable table.
The machine was tracing out the teeth profile from the beginning of the cut.

The problem with that is that I lad a lot of area when the teeth was not required. when the machine started cutting. It started cutting the teeth in offset from the left all the way to the right. which was a lot of wasted machine time. It took more than 1.2 hours to cut out the pocket.

I realized how the software gives tool paths from the design, so now in my next pocket cut I split the geometry into two. I drew a line close to the teeth to separate the paths, now I have a small section where I have to cut the teeth and a large rectangle area where I need to remove the material.

Designing the height adjustable table.
I split the area and now the rectangle was cut first, then the saw tooth.

This was a lot quicker. The larger area is now a simple rectangular geometry hence all the machine has to do is trace out straight line, which are much faster than the teeth profile.Hence the cut time was reduced considerably.

The assembly section was lot of manual labor, I had given tight tolerances for all my fits and forgot to chamfer all the edges, so I manually cut chamfer on all the connectors using the band saw. This was good a exercise, now I learned how to cut properly using the band saw, which turned out to be very useful in the end.

The pieces after cutting will have rough finish on the edges, hence I filed it down using a flat file. When assembling align the pieces properly and then only hit with a mallet.

Designing the height adjustable table.

If your design has small parts which need to be press fit, be sure to take your time and hit it in gradually. I broke one of my keys partially when It got stuck and I used a bit more force. The problem is the plywood is made up of layers which are stuck together. Some layers might not be strong hence when you hit, they might come apart.

I used screws to join the small cylinders on to the sides of the top legs. I was going to design an elaborate T-section which will slot into the place instead of the pegs,but because of lack of time, I went with a simple screw joint.

Designing the height adjustable table.
The top leg with the peg that slides into the slot in the bottom leg.

Designing the height adjustable table.
The two parts of the table kept apart

These are the two parts which make up the full structure. The two structures are connected at four points, one on the key, which is the load bearing member and the two pegs which slide into the slots on the bottom part of the leg, preventing the top leg from overturning and effectively constraining the structure.

Designing the height adjustable table.

Designing the height adjustable table.
Me testing out the design

Designing the height adjustable table.
Lowest height setting

Designing the height adjustable table.
Tallest height setting.

The Mistakes I made, and the Things I learned

  • Not converting your design to 3D

  • In the initial phase I was focused on figuring out the dimension of the table, I was measuring with tape to get an approximate idea about how big the table should be. When I think I'm close to the dimensions I need, I create a sketch from the values I have written down. After drawing one part I would come back and change the sketch of the previous one, this is a really iterative process. Hence I choose to leave the sketches in 2D. If you choose to do this then you should definitely test your design before cutting.

  • Not test cutting your design on cardboard/wood

  • I made the common mistake of thinking that my design skills are good and that I have thought of all the possible outcomes, well no matter your level of expertise with design, its always better to make a scaled doen version of the thing you want to make. I learned this the hard way, when I designed a connector for joining the two sides of my table, I made the mistake of making all the connectors the same length. The top portion is wider than the bottom, and I had to redesign and cut out that piece.

    Warnings and Recommendations

    • Design and assemble your design in 3D.
    • Always test your design by making a small scale model in cardboard or wood.
    • Wear proper eye and body protection while working with ShopBot.
    • Don't mess up units, if you design in mm, give same value in Vcarve.
    • When giving tool paths Select proper Depths, end mills and origins.
    • Select proper feed rates and cutting speed for each bit.They will be specified in the manual for the end mill, you can experiment with values you get from the manual.
    • Ensure the inputs are being detected, before giving the option for Zero setting. Touch the Zero plate on the bit and check your control panel if input a lights up. Only then should you proceed.
    • Always start from the machine home position when you want to set your X and Y origin, and note down the values in case of emergency stops.
    • Do not press OK to at the last menu and start cutting without turning ON the spindle.
    • Don't leave tools on the bed of the machine when it is running. The machine's movement is unpredictable and
    • Turn on the Dust collector when cutting.
    • When changing the bit, don't put too much force in the XY direction as it will change the current position of the spindle and ruin the rest of the cut.
    • when changing the bit ensure you don't put the bit in too deep or too shallow. The flute should never go into the chuck.
    • Don't press any keys on the computer when the machine is running, it will pause.
    • For any emergency you hit the stop button, then the entire program is gone, you will have to start once again, Hence it is advised to note down the origin position with respect to the home position. If you want to restart again.

    I have probably made almost all the mistakes that can be done in this week. The plus side of this is that, I have learned, what to do and what not to. These experiences have become invaluable to me and I'm better prepared to handle them in the future. I have big plans for my next builds, Now onwards I'll pay special attention as not to make the same mistakes again.

    Download Week 7 CAD files

    <Prev       Next>