08 • Computer-controlled Machining



Assignment: make (design+mill+assemble) something big - extra challenge: no glue, no screws or nails

To start this week, we had lectures with local tutors to learn the many details involved in preparing a file to be cut on a CNC machine. Since I have been working with CNC for a while now, in my studio work - estúdio greta - I am familiar with most of the parameters presented this week. Anyhow, there are details that are particular from each machine and software, and for me, working with RhinoCAM to prepare the g-code is something new and interesting.

This week included designing a project, preparing the file for the machine, milling it and assembling the project. I decided to do a small table for my room here in Barcelona, so I can work from there, since it is a small room. The idea is that the table stands only by its joints and so, I can have two different sizes of legs, making it possible to be a table or a support for my computer to be placed over the bed. I wanted to keep exploring new softwares for me, as Fusion 360 and Rhino, but I was short on time this week and ended up going for the softwares that I normally use to design - SketchUp and Autocad. I first did models in Sketchup and refined the joints on Autocad, creating the final project. The constraints for this project were due to the material and tools: we had a plywood board with 15mm of thickness and some end mill diameters to consider (up to 6mm). This information is key when it comes to design the joints of pieces. Normally it is considered an extra 0.5mm margin for the joints’ width. Also, it is needed to consider the diameter of the cutting tool - the end mill - so the joints will fit well. In the design, we incorporate what is called bones, small reentrances due to the tool’s diameter. I chose to cut with an 6mm end mill, so my bones had a 6.1mm diameter - a little margin is considered so the machine understands it is possible to cut.

Final design



To confirm that the design was correct, I did a model of it, cutted in the laser. All the joints were right sized and positioned.

Laser cutted model



With the 2D drawings of the pieces on Autocad, I saved a .dxf file that I opened on Rhino to generate the g-code on RhinoCAM. To prepare the file to mill, it is needed to generate the g-codes for the cutting paths. I shared the plywood board with Veronica, and we placed our projects together and also added some minor projects as a way to make the most usage of our plywood board. The board was sized 2500x1250mm with 15mm of thickness. We left a 20mm margin on all sides to place screws and some more inside the board accordingly to free space left in between pieces. The space in between pieces left was of 25mm. During the cut, it was noticeable that the border margin was too tight for screws and the end mill passing. For next time, a larger margin should be considered.

After doing the nesting of the board, we started to prepare the files for cutting. First, we prepared the file to make the marks for placing the screws - the way we would fix the board on the machine. For that file, the parameters on the RhinoCAM plugin used were:

Machining operation:
2 axis > engraving (to mark the material for screws) > select drive containment (select the points)
Select tool: flat endmill 6mm
Feeds & speeds:
Spindle speed:18000
Cut: feed rate for plywood: 5000mm/min
Plunge 3000mm/min (all other values go equal to plunge)
Transfer: use rapid
Transfer speed: 10.000
Clearance plan: stock max Z - dist: 10
Cut parameters:
Total cut depth: 1
Rough depth/ cut : 1
Sorfing: minimum distance

Engraving path



Next toolpath was the one to make pockets on the plywood. The parameters defined were:
Feeds & speeds - same value
Clearance plane - same
Cut parameters:
Cut direction: climb
Start point : inside / outside
Stepover: 40%
Cutt pattern: offset spiral
Cut levels:
Total cut depth: 10
Rough depth: 3 / half of the cut
Entry exit - ramps
Sorfing: not

Pocketing path



Next toolpath was to make holes, for Veronica’s stool design:
Feeds - use rapid
Cut levels:
Total cut depth (16)
Rough depth - same total cut
Rough cut - half of the end mill (3.2)
entry/exit: along path 3D entry / Exit motion:none
Advanced cut parameters:
bridge/tabs - create bridges - numbers: 4 / height: 3 length: 4
Sorting: minimum distance

Holes path



Then we proceed to make toolpath for the profiling, for incuts and outcuts. They had the same parameters, only changed in the orientation of the cut - inside the line for incuts, outside the line for outcuts.
Feeds - use rapid
Cut levels:
Total cut depth (16)
Rough depth - same total cut
Rough cut - half of the end mill (3.2)
Entry/exit: along path 3D entry / Exit motion:none
Advanced cut parameters:
Bridge/tabs - create bridges - numbers: 4 / height: 3 length: 4
Sorting: minimum distance

Incuts path
Outcuts path



WIth the toolpaths ready, we separated them in two g-code files: one for the engraving (for placing the screws) and other for all the procedures of milling.

Next step was to cut: we headed to the machine. First, we changed the end mill for the one we wanted to cut: a 6mm downcut flat end mill. In this process it is also needed to change the collet according to the diameter of the end mill, so it will hold it properly in place in the machine. Then we placed the board in the machine and set X and Y by moving the axis manually and the Z with the automated button to define it. With the safety tips in mind (protective glasses, hair tied and safe distance of the machine), we run the first file to mark the points for the screws. Later, we fixed the screws in place and started the file for pocketing, making holes and profiling. The cut started really well but we learned some things in the process: the speed was to slow, so we remade the file and started again with a better speed. Also, the bridges we made were a bit too small and some pieces started to come off. We needed to stop the machine some times to take these pieces that were coming out.

Cutting process



Cutting process



Therefore, from the process of cutting, it was possible to envision improvements for next cuts:
• Bigger outer margin on the board
• More screws to hold the board if it is slightly bended
• Bigger bridges

After finishing the cut, I proceeded to sand the pieces in order to take out some wood splinters. The act of sanding also helped to make joints fit better, since they felt a bit too tight in the beginning. After this, I assembled the table only by its joints, without the need of glue or screws. By using only the joints to assemble it is possible to use the table as explained before, with two different sizes of legs, one to stand over the floor and another over the bed.

Assembled at Fab Lab



In use with long legs



In use with short legs



Download the files

w08_computer-controlled_machining_design_model - skp file
w08_computer-controlled_machining_design - dxf file
w08_computer-controlled_machining_board - 3dm file