# Computer Controlled Cutting
[Presentation: 1. Designing for Computer Controlled Cutting]
Laser Cutting](ep1000_cutting.pdf)
[Presentation: 2. Laser Cutting](ep1000_lasercutting.pdf)
[Presentation: 3. Assignment](ep1000_cutting_assignment.pdf)
[Worksheet 1: Keychain](03_Laser Cutting_keychain.pdf)
[Worksheet 2: 3D Box](03_Laser Cutting_box.pdf)
Computer controlled cutting (also called CNC Computer Numerical Control) uses digital inputs (from a drawing or data file) to instruct the machine to perform a series of cuts or tasks.
The digital input contains instructions to
- move to a particular position
- turn on/off the cutting tool
- control the power of the cutting tool
A cut can be performed with the following instructions:
- turn off the cutting tool
- move to the start position
- turn on the cutting tool
- move to the end of the cut.
Computer Controlled Cutting machines include:
- laser cutters and engravers
- vinyl cutting machines
- flatbed cutting systems
- 2D routers
- 3D milling machines
## Laser cutting
Laser cutting is a process where material is placed in the X-Y plane and a [LASER (Light Amplification by Stimulated Emission of Radiation)](https://en.wikipedia.org/wiki/Laser) is moved across the profile to be cut out.
A laser can be focused to a tight spot, which allows the beam to "cut" at the position.
The high intensity of the beam causes the material to be vaporised (cut away).
Since the light can be focused, a very thin cut is made. Electronics and machine control make the cut precise and repeatable.
The laser can be programmed to have a continuous wave or pulsed repeatedly to produce the cut.
The process of laser cutting is controlled by
- The **SPEED** of the movement of the laser
- Slow speeds allow the laser more time over the material and cuts deeper and more intensely.
- Slow speeds also cause charring of the material.
- The **POWER** or intensity of the laser
- Higher intensities of the laser can cut deeper
- Higher intensities are sometimes required as the material is more dense than others
- The number of pulses per second or **FREQUENCY**
- Most lasers are pulsed. The higher the number of pulses per second give higher intensities and prolonged exposure to the laser.
- Higher pulsing rates are required for dense material
- Most lasers settings come with recommendations from the manufacturer or the Technicians and are dependent upon
- The **material** (e.g. wood, acrylic, paper)
- The **thickness** of the material
- The **color/coloration** of the material.
Here is a list from [Epilog Laser](https://www.epiloglaser.com/how-it-works/laser-material-compatibility.htm)
- There are, however, some materials that you should **NOT** cut with your laser as they may give off dangerous chemical fumes or damage your laser.
- [Never cut these materials](Laser-cut-and-dont-cut-materials-list.pdf)
- TroTec Laser [Unsuitable Materials](https://www.troteclaser.com/en/faqs/unsuitable-materials-laser-processing/)
- Please consult the Technician-in-charge before you cut your objects. They have valuable advice and experience to share with you.
- Epilog laser has a very good [knowledge-base](http://support.epiloglaser.com/) for reference
### Preparing your Fusion 360 models for laser cutting
When designing in Fusion 360, we have the ability
- of modeling an object in 3 dimensions
- to check for joints and obstructions
- to check the aesthetics of the model.
However, when we decide to laser cut the object we need to obtain the profile of the object and export it in a format that the cutting software recognizes.
This applies to other design software as well e.g. Illustrator, Rhino
The preferred file formats required for laser cutting are:
- [AutoCAD DXF (Data eXchange Format)](https://en.wikipedia.org/wiki/AutoCAD_DXF)
- [PDF (Portable Document Format)](https://en.wikipedia.org/wiki/PDF)
- [SVG (Scalable Vector Graphics)](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics)
For our laser cutters, the software used to check and finalize your cuts is the [CorelDraw](https://www.coreldraw.com/en/) Graphics Suite which is able to handle both Vector and Raster images suitable for cutting and engraving. This is traditionally the recommended software though it is fast being replaced by Inkscape, RDWorks (for China Lasers) because of its costs.
The workflow is as follows:
- Obtain the 2D profile of the object face
- Export the profile as DXF
- Import the DXF file into CorelDraw
- Make necessary changes and adjustments
- Send/print the profile to the lasercutter
This workflow applies to all lasercutters in the FabLab.
## Obtaining DXF profiles from Fusion 360
For this example, we will use the box profile in which I need to extract the side, front and base of the box. We assume that the box has been designed as in the [Parametric Modeling](08_ParametricDesign.md) session.
|![blank](images/blank2.png) | ![blank](images/blank2.png) |
|:-------------------|:--------------------|
|[![kerf](images/1002_objectbrowser.png "Object browser")](images/1002_objectbrowser.png) |Open your design in Fusion 360.
In the **Object Browser**, expand and show the bodies/component list.
If you have multiple components, make sure that the **root** or **top-most** object is selected |
|[![kerf](images/1003_bodyprofiletoexport.png "Object browser")](images/1003_bodyprofiletoexport.png) |Open your design in Fusion 360.
In the **Object Browser**, expand and show the bodies/component list.
If you have multiple components, make sure that the **root** or **top-most** object is selected |
|[![kerf](images/1004_selectedplane.png "Object browser")](images/1004_selectedplane.png) | Select the body which you want to extract the profile.
To help you, you can turn off the bodies which are not of interest
In this case only the FRONT component is selected
Click onto the body surface to select the sketch plane. |
|[![kerf](images/1005_renamesketch.png "Object browser")](images/1005_renamesketch.png) | Make a new sketch on this FRONT plane:
1. Create \> Create Sketch
2. Select(L-Click) the body surface to select the sketch plane.
3. **Important** Click again on the profile (it should turn BLUE), showing you the sketch profile.
5. Click FINISH SKETCH
6. Your sketch should be located in the Object Browser > Sketches
7. Select "Finish Sketch"
8. Rename the sketch to identify it (e.g. FRONT_DXF) |
|[![kerf](images/1006_safeasdxf.png "Object browser")](images/1006_safeasdxf.png) | Export the profile as DXF:
1. Right-click on the Sketch FRONT_DXF
2. Select the **Save As DXF** Option
3. Enter an appropriate name for the file e.g. FRONT
4. Take note of the Folder where the document is to be saved. |
|[![kerf](images/1007_repeatprofiles.png "Object browser")](images/1007_repeatprofiles.png) | Repeat the above steps for each of the profiles that you want to cut FRONT, SIDE, BASE
The Front and Sides are mirrored, and are similar, so only one profile need to be saved. |
## Checking your work and preparing for Laser Cutting
It is important that you check your DXF profiles before you come down to the Laser cutter to cut your work, because
Sometimes the profiles are not exported correctly
You will need time to layout your profiles to save space on the material to be cut
Laser cutter time is expensive (approx $70/hr). You don't want to spend that time
- correcting your layout
- realizing that the profiles have errors
The software used on most Laser cutters is CorelDraw (which is a licensed product) that comes as the default. However, CorelDraw accepts a large number of Vector/Raster formats which allow you to import. The more common formats are
- AutoCAD DXF (from most CAD software systems)
- PDF (Adobe Illustrator)
- SVG
You can use the following **Open Source** software to import, check and layout your DXF files before doing a final import to CorelDraw:
- [LibreCAD](https://librecad.org/) or [Portable Version](https://portableapps.com/apps/graphics_pictures/librecad-portable)
- [InkScape](https://inkscape.org/) or [Portable Version](https://portableapps.com/apps/graphics_pictures/inkscape_portable)
The following sections show how you can import your DXF into the open source software for checking and layout.
|![blank](images/blank2.png) | ![blank](images/blank2.png) |
|:-------------------|:--------------------|
|[![kerf](images/1008_librecadimportblock.png "Object browser")](images/1008_librecadimportblock.png) | **LibreCAD**
LibreCAD is an open source CAD drawing program. You can use it to create 2D profiles and save it to DXF files. It's default file format is .DXF
1. In LibreCAD, open a new drawing **File > New**
2. Use **File > Import > Block** and select your .DXF file.
3. Keep adding the profiles. You can layout your laser cut profile using this software.
4. Remember that any **line/graphic** drawn will be cut out by the laser cutter.
5. Check your profiles, save your work as another DXF file e.g. layout.dxf
6. You can do a single import into CorelDraw. |
|[![kerf](images/1009_inkscapeimportdxf.png "Object browser")](images/1009_inkscapeimportdxf.png) | **Inkscape**
1. Open Inkscape, select a file size that you can work on (e.g. A4 or A3)
2. use File > Import > Select your DXF file
3. Choose "Manual Scale" when importing the DXF.
4. Layout the imported item on the page, import and place others
5. Check your work and export as DXF, PDF or SVG format.
**Tip** Use guides to help you layout your profiles. |
### CorelDraw
If you have your DXF files or files created from the Open Source Software, transfer them to a thumbdrive and bring them to the Fablab where the Laser cutters are located. Each laser cutter has a local PC interface with CorelDraw pre-installed as this is the default software supplied with the machine. The most common lasercutter that you will use is the [Epilog Fusion M2](https://www.epiloglaser.com/laser-machines/fusion-laser-series.htm) or the [Universal Laser Systems](https://www.ulsinc.com/).
**You do not have much time allocated to the physical interaction with the laser cutter, so layout your profiles before you come.**
Transfer your DXF layout to CorelDraw as follows:
|![blank](images/blank2.png) | ![blank](images/blank2.png) |
|:-------------------|:--------------------|
|[![kerf](images/1010_corelimportdxf.png "Object browser")](images/1010_corelimportdxf.png) | **CorelDraw Import DXF**
1. Create a new CorelDraw file (the default template of 40x28 inch or 1017x711 mm, the size of the laser cutter, is available).
2. File > Import > Select DXF file
3. In the "Import AutoCAD File" popup. ensure that the units are Metric and the Scaling is 1:1
4. Place the layout on the drawing.
You can also import SVG, DXF and other file formats. |
|[![kerf](images/1011_profilelayout.png "Object browser")](images/1011_profilelayout.png) |
Profiles are laid out to minimize material waste.
You can also arrange your profiles to speed up the cutting process (How?)
Check that the profiles are correct before cutting
To cut clink "Print" |
### Kerf
Laser cutting is very precise, giving you accuracies and repeatability in terms of tenth's of a millimeter. However, sometimes you would like to create "[Press-Fit]https://www.merriam-webster.com/dictionary/press%20fit" objects that are assembled without glue or any other materials.
When a laser cuts through material, some material is removed in the process. The material that is removed is called the **[Kerf](https://www.merriam-webster.com/dictionary/kerf)**.
The kerf in laser cutters is very small (approx. 0.3 ~ 0.8 mm) depending on the material and how it is cut.
If we can calculate the Kerf (through experimentation) we can make adjustments to ensure that the cuts are press-fit.
Adjustments are usually made by
- decreasing the size of the "holes"
- increasing the size of the "tabs"
Can be done **parametrically** by adding an adjustment value to compensate for the kerf.
|![blank](images/blank2.png) | ![blank](images/blank2.png) |
|:-------------------|:--------------------|
|[![kerf](images/1001_kerf.png "Kerf calculations")](images/1001_kerf.png) | Kerf is the material removed when lasercutting.
Assume a profile 20x20mm is cut.
After cutting the cut piece is measured (still 20x20mm) and the hole is measured (20.8x20.8mm).
The hole is larger because material has to be removed in the cut. The amount of material removed is called the Kerf.
In this case, Kerf = (20.8 - 20)/2 = 0.4mm
Hence to make tight joints, you have to compensate for this kerf. |
### References:
1. Autodesk Fusion 360: [Laser cutting - How to save as DXF in Fusion 360](https://youtu.be/U4s2p2epaeg)
2. BasementMaker: [Glowforge Laser Kerf & Snug Fitting Boxes](https://youtu.be/Q9CwhyDT41Y)
3. [The Trick with Laser Cut Boxes](https://youtu.be/S8AJgycY7nU) - shows what is kerf and how it affects joints
4. [How To Design A Laser Cut Finger Joint Box Accurately](https://youtu.be/FBSQGHBpBWg) - using a Vector software and some thinking. The box has a different type of cover.
5. [How To Design A Laser Cut Finger Joint Box Accurately](https://youtu.be/FBSQGHBpBWg)
6. [Making Boxes in Fusion 360 For Lasercutting](https://core-electronics.com.au/tutorials/making-boxes-with-fusion-360-for-laser-cutting-tutorial.html) good ideas for joints in making boxes
7. Instructables [The Ultimate Guide to Laser-cut Box Generators](https://www.instructables.com/The-Ultimate-Guide-to-Laser-cut-Box-Generators/) if you don't want to design the box yourself
## Assignment & Assessment
The assignment for this topic is to design and lasercut a box to hold a hand-cranked
musical box. Here are the brief requirements:
1. The box must house a hand-cranked musical generator.
2. Try not to use more than an A4-sized 3mm plywood section.
3. The box must have a lid, which can be opened.
4. You will need to assemble the box and house the musical generator.
Instructions for the assignment can be found in [Presentation: 3. Assignment](ep1000_cutting_assignment.pdf).
### Submission
Your assignment is due before the start of the 2nd week of the new Term.
You will need to update your EP1000 project site with a **separate project page**
with the following:
1. Write up the "instructable" on how to create the box.
2. Provide the DXF file for the overall plan of the box.
3. Have a "hero-shot" of your compelted product.
Present your final product to your lecturer before the 2nd week of the new term.