Newer
Older
Computer controlled machining
=============================
This week is about making something big using a CNC milling/routing machine. I want to explore the possibilities of CNC machining - drill, pocket, dog-bones, nesting, etc. I tried to make a versatile furniture piece so that I can use different joints and experiment with them.
### Measure material
Material available for use is a veneer plywood of size 1220 x 1220 x 15 mm.
I will check exact thickness with a vernier caliper when in the lab.
### Design
I wanted to make a table with adjustable height so after some viewing some references, I decided to make trestle legs for a desk steup. I started by making a 3D version of IKEA's FINVVARD to understand how it works.


Then I started making individual joints so they can be digitally machined in 2-axes or 2.5-axes. I used some details from the 50 digital joints poster to design some details.
<img src="https://4.bp.blogspot.com/--n9402OLTus/U_6noVXA59I/AAAAAAAACSc/oZ05jYxALrg/s1600/j118.jpg" alt="traces" width="400"/>
<img src="https://2.bp.blogspot.com/-jbDFz7SGcr0/U_ciJGzoTUI/AAAAAAAAB_k/I0WwxF5HTmo/s1600/j62.jpg" alt="traces" width="400"/>
<img src="https://4.bp.blogspot.com/-s0gWF8SllU4/U_cbds0bfQI/AAAAAAAAB-s/eU6Buz-VbYE/s1600/j66.jpg" alt="traces" width="400"/>
<img src="https://d2mgbjyendvdw0.cloudfront.net/27204/03423/9ae702/slot-joint-02.standard.png" alt="traces" width="400"/>
I made some slotted joints, and versions of the finger tennons, lapped finger tennons, throughhole finger tennons to design the trestle. 
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

Here is how the final legs look. I need to make 2 of these and put any flat board on top to make a tabletop.

#### Cutting file + Nesting
Next, I lay everything flat on the XY plane and did a make 2D. For nesting I used an online service called [nestandcut.com](https://nestandcut.com/) to nest all parts in twice the quantity on a sheet of 1220x1220x15 mm. (Half a sheet). I uploaded a dxf file that I export from Rhino and imported the nested dxf back.

I made some changes manually to fit it all in the available sheet. Like I put two parts insode the big board and nest it within to make more space for the missing parts. Here is what that looks like:

### CAM
Next, I shifted to the Windows partition of my computer and installed [RhinoCAM.](https://mecsoft.com/rhinocam/) I opened the RhinoCAM machining browser plug-in in Rhino6. First I set it to MILL. In the program tab, I set up the material stock - 1220x1220x15.5 mm, the machine details - 3 axis , post - shopbot.
I set the origin at the left bottom corner and the Z at the top of the material stock.

Next I set the tool - Flatmill 6mm, refering to the class notes and some previous documentations:
* Saved the tool as Flatmill 6mm
* Holder dia = 50
* Holder length = 45
* Shank dia = 6mm
* Tool dia = 6mm
* Shoulder length = 30mm
* Flute length = 30mm
Feed and speeds:
* Speeds: 12000 rpm
* Plunge: 2000 rpm
* Approach: 2000 rpm
* Engage: 2000 rpm
* Cut: 2000 rpm
* Retract: 2000 rpm
* Departure: 2000 rpm
Next, in 2-axis functions there is a list of actions you can perform. For my design I needed engraving, profiling and pocketing.
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#### Engraving
I set 5 points in the rhino file to engrave markings for screws to be drilled with a hand drill in the correct places. 
#### Pocketing
The insides of some parts that needed to be cleared were cut first. 2 parts needed pocketing at different heights, So after making adjustments in 2 different layers I changed the cut depth for both. 15mm for all parts except 2 where it was 10mm.

Settings
* Cut pattern: Offset
* Cut direction: Conventional (Up cut) - standard for plywood
* Start point: inside
* Rough depth: 12
* Finish depth: 3
#### Profiling
To cut the outside profiles of the parts, I set the profiling for 2.5 axis. I also made another profiling - inside for 2 curves that needed to be cut on the inside.

Settings same as pocketing, set toolpath OUTSIDE the curves
#### Simulation

Then I ran a simulation and found some errors in the settings.
1. The cutting height did not match the level of the stock. It was cutting in the air. I adjusted this by going back to the material panel and changing the stock thickness to 15mm. (It was 300 by mistake)
2. The tool path just ran once over all profiles and went in 15mm in one pass. I changed this by making the cut depth 15mm in roughing and finishing at 12 and 3 respectively.
3. Some parts were creating double paths - so I deselected them from one layer and generated toolpaths again.
After running another simulation, it seemed fine.

### Machining
Will do this part when I return to the lab.
### Assembly
Will do this part when I return to the lab.
Here's how it should look when done. (w/o the top surface) 
### References
* [IKEA Finnvard trestle](https://www.ikea.com/us/en/p/finnvard-trestle-with-shelf-birch-30345717/)
* [This CNC wood joinery post](https://mkmra2.blogspot.com/2014/08/cnc-cut-wood-joinery.html)
* [50 Digital Joints](https://makezine.com/2014/12/04/50-digital-wood-joints-poster/)
* [Digital Fabrication for Designers blog](http://mkmra2.blogspot.com/2014/08/cnc-cut-wood-joinery.html)
### Design Files
* [Rhino 3D](./images/ccm/rhino3D.zip)
* [Parts stl](./images/ccm/parts.stl.zip)
* [RhinoCAM](./images/ccm/trestlelegs.3dm.zip) (Got an error while saving this - not all CAM changes can be saved, so not sure if this file works properly)