Hack Chat 0x03: Introduction to CNC Machining
Steag Center for Smart Technologies is organizing second HackChat exclusively for the Rajagiri students.
This week we are going learn about CNC Machining Techniques.
Venue: Steag Center , KE Block Extension . Rajagiri Engineering college.
Time: 5:00 PM to 5:30 PM
Register here: bit.ly/hackchat3
No Registration Fee
salmanfaris last edited by salmanfaris
What is a 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.
In CNC, machines are operated via numerical control, wherein a software program is designated to control an object. The language behind CNC machining is alternately referred to as G-code, and it’s written to control the various behaviours of a corresponding machine, such as the speed, feed rate and coordination. (src: https://astromachineworks.com/what-is-cnc-machining/)
The Center is equipped with Kavone KNC Series CNC Router.
Bit material: Router bits used in Shopbot are made from a variety of materials such as solid carbide, carbide-tipped steel, and high-speed steel.
Flute type: There are four basic flute types: Straight, spiral up-cut, spiral down-cut, and compression
Drill bit Vs Endmills: A drill bit needs to cut straight into the material hence will have teeth at tip. But an Endmill needs to cut from the sides also, that means it needs to have a cutting edge spiralling all the way up to the flute.
Upcut & Downcut
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 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.
@sreu13 I edited comment please read that again. Most probably it will not effect your file system. In some scenarios it can create worse effect.
@arunksoman i'll try this method, but while executing swap command, will the rasbian os and the files it contains be effected??
Ensure that you are installed tensorflow 1.x since screenshot of your code shows something like
from keras.layers.convolution import covolution2D
It is not correct in case for tensorflow 2.0 since keras api is part of tensorflow itself.
Another thing is try to expand your file system. It should be do with your own risk.sudo raspi-config Navigate to Advanced options Select advanced options and hit enter(I believes tab key is useful here) Choose Expand File System and hit enter finish. Then your pi may prompt to reboot. If it didn't run. Execute
sudo reboot Then execute following commands one by one: $ sudo apt-get purge wolfram-engine $ sudo apt-get purge libreoffice* $ sudo apt-get clean $ sudo apt-get autoremove Then increase swap memory by editing following file swapfile:
$ sudo nano /etc/dphys-swapfile It will open nano editor. Navigate to variable CONF_SWAPSIZE=100
It indicates your current swap is only 100mb.#CONF_SWAPSIZE=100 CONF_SWAPSIZE=2048 Save the file and exit nano editor. sudo reboot
So you just have to increase by commenting down this line and increase to appropriate value something like shown below for 2GB swap:
I believes if it did not helped you, you have to think about MOVIDIUS or NVIDIA Jetson nano etc.
@arunksoman tensorflow 2.0.0 version had been installed
I will look more into it. Thanks again