SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
1
O Workshop overview ........................................................................................................................ 3

A-     Makerbot: getting started ............................................................................................................ 4

1-start replicatorG. .............................................................................................................................. 4

2-heat up the printer ........................................................................................................................... 4

3-generating G-code .......................................................................................................................... 5

4-test the extruder .............................................................................................................................. 7

B Print your own objects ..................................................................................................................... 8

C Setting up the software ................................................................................................................. 10

1-ReplicatorG ................................................................................................................................... 10

2-Custom profiles and driver for your machine ................................................................................ 10

D Under the hood: configuring Skeinforge ....................................................................................... 11

E THE CNC-MILL: GETTING STARTED ......................................................................................... 13

Connect ............................................................................................................................................ 13

Try it .................................................................................................................................................. 14

F WRITING A BIT OF GCODE ........................................................................................................ 14

G MILLING SOFTWARE .................................................................................................................. 15

Software: general concepts .............................................................................................................. 15

Software: CADPY ............................................................................................................................. 16

Install CADPY ................................................................................................................................... 16

H More CNC-milling ......................................................................................................................... 21

K An introduction into G-code .......................................................................................................... 22

Gcode example (for milling) ............................................................................................................. 24

L Links ............................................................................................................................................. 25




                                                             2
O Workshop overview

10h Powerpoint 20 min


10h30 Getting started with printing
Printing your own objects



12h repairableCNC: getting started

12h30 Print & Cut




Course notes written by:

Lieven.standaert@timelab.org
+32.486.945.529




                                3
A- Makerbot: getting started


1-start replicatorG.

After startup, go to ‘File’ and open ‘01-12_tooth_T5.stl’ You an find it under ’04-
EXAMPLES’ on the USB-sticks.
The interface should look something like this:




Take a minute to check out the buttons and menu items. The large buttons show their
function if you hover your mouse over them

As indicated in the image, go to Machine>Driver and select the correct driver if this
hasn’t been done yet. The name of the driver you are to use should be indicated on the
card next to the Makerbot you’re working with.

Then hit ‘Connect’ and go to ‘Control Panel’


2-heat up the printer


Depending on the version of the Makerbot you’re using, the control panel should look
something like this:




                                   4
Set the temperature to the indicated values,
and center the print head about 20mm above the platform.

You should see the machine heating up in the graph at the bottom right.

Now go back to the main interface (don’t close this window)


3-generating G-code

To print the 3D-object, the file needs to be translated into machine code. This is called
Gcode, and this translation is handled by a piece of software called ‘Skeinforge’.

First, let’s make sure you have the correct version of Skeinforge selected.

In the main interface, go to Menu> Gcode> Choose Gcode generator and check if the
selected one matches the one indicated on your card.




                                   5
Next, click ‘Generate Gcode’ at the bottom right. You will see a popup like the one below.




Don’t see the right profile?

Copy the profiles from ’03-
PROFILES’ to
…replicatorg-0024
skein_engines
skeinforge-0006prefs

(006 is the standard
version, for version 35
select skeinforge-035)
                               Leave ‘Use raft’ checked. Pick the profile indicated on the card. Click ‘Generate’. Now
                               you’ll see a window indicating the progress generating the code. This may take some
                               time…




                                                                 6
When it’s done, you should see an extra ‘flap’ below the big buttons, saying ‘Gcode’ next
                                 to ‘Model’
                                 It should look something like the image above when you click it. I can show you how to
                                 read this, there’s a short reference further in this manual, but you don’t need this now.
                                 We can dig into this later.

                                 For now go back to the ‘Control panel’ and see if the printer is hot yet…




                                 4-test the extruder

Motor speed is a value
between 0 to 255.                First check if the extruder is hot. Then put in ‘230’ for motor speed and press forward.
Thievalue you fill in here is    The extruder should extrude a smooth squirt of plastic. Press stop and clear away the
just for testing, the actual
                                 plastic with some tweezers.
speeds are set in the
Gcode during printing.
                                 BEFORE EVERY PRINT, CHECK THE MACHINE IS HEATED UP AND THE FILAMENT
                                 GOING INTO THE TOP IS FREE TO DO SO.



Not working? Check these         If the plastic is being extruded smoothly, you’re ready to print.
things:
                                 Position the print head about 0,5 mm above the surface, and press ‘Build’ (the second
-is the print head hot?          large button from the left in the main interface window)

-is the plastic filament clear   Depending on the profile used and how this is set up, the printer will either start right
and free to be pulled into

                                                                    7
the printer?                     away, or do a test extrusion first.
-is the extruder motor
turning?
 It turns slowly (2RPM) but
you should be able to see it
                                 At the start of the print, the plastic is supposed to stick to the platform. This can be tricky.
move. If it is not moving,
first check the wire             If it does not you can try a couple of things:
connections, then try a
higher value for motor                 -   While the print is still going, adjust the height manually by turning the wheel on
speed.                                     top of the printer. Try to get the plastic to catch on the platform
-Is the plastic being pulled
                                       -   Just cancel the print. (Press ‘Stop’) and reset.
in at the top?
 If it isn’t, and the motor is
turning, the motor lost grip           -   Apply a layer of double-sided sticky tape to the platform.
on the filament wire. The
Mark V extruders have a                -   Yell for help
black screw to the side to
tighten the grip the motor
has on the plastic filament.
Tighten this.                    If it does start correctly, make sure the printer has enough free plastic filament to pull in,
On the Mark IV extruders
                                 and get someone to get you coffee. This example should take about 10 minutes to print.
this is more complicated to
do, yell for help at this
point.                           When the print finishes, give it 30 seconds to cool down, then peel off the print from the
                                 platform. It should, hopefully, look something like this:




                                 B Print your own objects

                                 At this point you can:

                                 - open up your own file, generate G-code and try it

                                 OR:

                                 -set up the software and try to print from your own laptop, go to part C of this course


                                 OR:

                                 -try to improve the print quality by earning to adjust the Skeinforge settings. Go to part D.




                                                                       8
9
C Setting up the software


                                 1-ReplicatorG
                                 Download en unzip Replicatorg: http://www.replicat.org
If this doesn’t work, you
                                 There is a version of this software on the stick, under ‘01-INSTALL FILES’
might need to install the
FTDI-driver manually, it is
located under ‘drivers’ in
the ReplicatorG install
directory.                       The software only unzips to install, so you need to create a shortcut by hand.
                                 On windows, execute: ReplicatorG.exe
(this is not the driver inside
ReplicatorG we talked            Then connect the cable from the Makerbot to a USB-port, and try to connect to it, using
about before but the
                                 the steps lined out in part A.
system driver that lets your
system know what you just
connected to it)




                                 2-Custom profiles and driver for your machine
                                 If this works, you need to get the correct driver and Skeinforge profile for your machine.
                                 They are on the USB-stick:

                                 -Copy the files from USB-STICK02-DRIVERS to REPLICATORG-INSTALL
                                 FOLDERmachines


                                 -Copy the files from USB-STICK03-PROFILESversion006 to REPLICATORG-INSTALL
                                 FOLDERskein_enginesskeinforge-0006prefs

                                 -Copy the files from USB-STICK03-PROFILESversion35 to REPLICATORG-INSTALL
                                 FOLDERskein_enginesskeinforge-35prefs

                                 Restart ReplicatorG.
                                 You should now be able to select the correct driver and profile.




                                                                   10
D Under the hood: configuring Skeinforge

Skeinforge is basically a large series of scripts that are executed one by one. Each have
a number of parameters, and when you first take a look at those it will look quite
daunting.

However:
-at some point you’ll need to be able to tweak the settings. Either because the printer
isn’t set up right, or because you need different settings for a small, hollow object than
you need for, say, a gear wheel you want to have as strong as possible.

-you don’t need to learn all the settings at once, you need to figure out which ones are
the important ones.



If you want to dig into this, start by selecting Skeinforge 35 in menu>GCode>Choose
Gcode generator. (it’s easier to set up than the standard version)




                                  11
The most important values are indicated in blue and yellow.

The modules you should get acquainted with are:

-Carve: this cuts the 3D-model in 2D-layers. Layer thickness is defined here

-Temperature: what it sounds like

-Raft: this is the module doing the bottom, ugh, raft on the model

-Speed: sets extrusion and motion speeds

-Fill: how the object is filled in (hollow/solid)




Try to find following parameters, while taking a look around in the interface:

-Flow rate setting (this is extrusion speed)

-Layer thickness: thickness of 1 layer on the Z-axis

-Infill solidity: how solid do you want your object

-Base temperature: print head temperature

-Perimeter width over thickness: how wide a strip of layed-down plastic is as a ratio to
the layer height.




A good start to learn more are the links:

- http://davedurant.wordpress.com/2010/10/17/configuring-skeinforge-some-basic-terms/
This is a very good tutorial, there are more on the same site.

http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge
This is the official manual, with an overview to existing tutorials.




                                     12
E THE CNC-MILL: GETTING STARTED




                               Timelab’s miniCNC is a milling machine with an open floor. It was designed as a
                               small mill, capable of milling into larger panels. In this workshop we’ll show you how
                               to use to mill small parts out of plexi.

                              1-Connect
                              The machine has the same electronics as the Makerbot. You control it using
                              ReplicatorG.

                              -Go to Machine>Driver and select ‘miniCNC 32-teeth-gear’ If your machine has a sticker
                              on it saying ’36-teeth gear’ select ‘miniCNC 36-teeth-gear’.

If you do not have the
option to select these, you   -Connect the machine with the USB-cable and click ‘Connect’ in replicatorG. You might
need to copy the drivers      need to go back to Machine>Serial Port to select the correct serial port.
from the USB-stick.
Consult chapter C on how
to do this.




                                                               13
2-Try it
-Once you got connected, open ’02-square.gcode’ from the ’03-EXAMPLES’ folderYou
won’t have a 3D-preview, but the g-code should look like this:

G90

G92 X0 Y0 Z0

G21

G01 Z-3 F50

G01 X40 F100

G01 Y40

G01 X0

G01 Y0

G01 Z0

Put a piece of plywood under the machine.
Turn on the Dremel by hand. You don’t need to open it up fully, half way is fine.

Press ‘Build’. If you selected the correct driver and the machine is working properly, this
code should mill a 40x40mm pattern, 3mm deep.
 If you’re using a 2mm milling bit, this results in a 38x38 mm square. Check the size to
see if the scale works out.




F WRITING A BIT OF GCODE
You’ll notice the G-code is a lot shorter than the one from the 3D-printer. It will get longer
once we do more complex shapes, but basic holes and rectangles only need a few lines.

In Chapter H you’ll find a short reference on what the Gcode commands do. Take a look
at it, and compare it with the documented code here:

G90 (use absolute coordinates)

G92 X0 Y0 Z0 (you are now at zero)

G21 (and we’re working in millimeters)

G01 Z-3 F50 (go down 3 mm on the Z-axis at speed 50mm/min)

G01 X40 F100 (move 40mm to the right at speed 100mm/min)

G01 Y40 (move 40m up, keep same speed)

G01 X0

G01 Y0

G01 Z0



                                   14
G MILLING SOFTWARE

1-Software: general concepts
The example above is how you would program a CNC-machine in ye olde days, typing
code by hand. Most CNC-machines still work and understand this code (or a variant on
it), but you use a piece of software to convert a 3D-file into G-code.

Because with this machine you have access to the Gcode, you can use any software that
allows you to export machine code. You export the code and open it in ReplicatorG
An interesting program to try out for 3D-milling is Deskproto, www.deskproto.com

Skeinforge, the G-code generator for the Makerbot, can be used for 3D-milling as well,
but is quite complicated to set up and does not offer a good preview.

We’ve been using a 2D-based interface, as we were interested in introducing basic
milling to people who don’t necessarily have a background in 3D-modelling.




                                 15
2-Software: CADPY
CADPY is a small program from MIT we adapted for use with our machine. It allows you
to cut out shapes without needing to learn 3D-modelling, using bitmaps or scanned
drawings.

3-Install CADPY
On windows: Go to the USB-stick 01-INSTALL FILES,copy 01-cadPy_win32_exe.rar
and unpack. Then, in the folder that is created go to distcad-2011-05-15.exe

If this does not run on your computer, go to
http://www.repairablemachines.com/downloads.html and follow the guidelines to install
Pythons

On Ubuntu: Consult http://www.repairablemachines.com/downloads.html for command
line install.

 On the set up computers, open the CADPY link on the desktop.




 After opening the software, you should see an interface a bit like The orange lines in
 the image above are the generated tool paths. These are saved as Gcode and then
 opened in ReplicatorG. ReplicatorG controls the machine in the same way as it does
 the Makerbots.




                                 16
We use CAD.PY to convert a 2D-bitmap to machine code. This machine code is called
G-code, and is sent to the machine later using a separate piece of software, ReplicatorG.
In this tutorial we will open a black & white bitmap, set the correct size and depth,
generate the G-code and save it.

After installing Python, and opening cad.py, you should see this screen:




1-Click on 'INPUT' and select a bitmap.

The image we used is a png-file of a black letter 'A', 50.8 x50.8 mm wide at 300dpi. You
can find it as ‘05-A.png’ under the EXAMPLES folder on the stick.




Once the bitmap got loaded, you should see something like this.

2- Change ‘window size’ to a value that fits the window on your screen..


3- Next you’ll set the size of the image, the origin point, the depth you want to mill, and

                                   17
which part of the image you want to have cut out.

x min / y min: sets the origin point, we usually leave these at 0,0. When you start the
CNC the location of the milling head will be the bottom left corner of the image field
(which is not the same as the bottom left corner of the 'A'!)

x width/y width: the size of the image field in millimeters. The software takes the size as
set in Photoshop. Set these to ‘50’

nx/ny: is non-editable, it displays the amount of pixels in your image

depth: a negative number, in mm. This is the total cutting depth. If you enter '-7' here the
black parts in the image will be cut out to this depth.
Grey parts of the image will be interpolated between 0 and depth, according to the
settings in intensity min / intensity max (we haven't experimented much with those yet)
Set this to ‘-4’

travel height: how much the milling bit is raised when moving the tool.Set this to ‘1’

number of layers: you can either cut out to the desired depth in one go, or mill in a
number of layers. This will depend on the hardness of the material and, if you have
slopes, how smooth you want these. 1 gives you the full depth in one go.Leave at 1 for
now

invert image: flips the black and white parts of the image around




When you're happy with these settings, click on 'CAM'. You will now see an additional
number of buttons and boxes:




CAD.PY suggests a default filename as output file. You can change this if desired, but it
will by default save a gcode file in the same folder where the bitmap is located.


maximum vector fit error: mostly left this alone, should influence accuracy.


                                  18
tool diameter: diameter of your milling bit. Set to the correct value. Most of you will be
                             using a 2mm bit.

                             tool overlap:value between 0 and 1. Overlap between the milling paths. A larger number
                             gives less overlap. A value of 1 will give a distance of the full tool diameter between
                             paths.
'Send to machine'
doesn't work (yet) for the
Arduino-based                #contours: number, 1 gives only an outline, which is useful when cutting a contour. -1
electronics.                 mills away everything in black. Values of 2,3,... are also possible. Set to ‘1’ for now.

                             'contour' starts the calculation. CAD.PY will calculate the tool path, and display these
                             when done:

                             Give it a try….




                                                               19
-Once the calculation is finished, you can go back to replicatorG, open the Gcode-file
’05.A.gcode’ you just created.




-place a piece of plywood under the machine

-Position the mill bit and turn on the Dremel

-Hit ‘Build’ and try it.




                                  20
H More CNC-milling

1-On the stick you we prepared some more example files. ‘Arduinobot’ is a frame for a
small robot, designed to be cut out of 2mm plexi.




2- Make and mill your own pieces

 Prepare a bitmap-file in Photoshop (I export a PDF out of my CAD program)
 PNG-files work well, black & white is faster than grayscale.

 Format: PNG-file, minimum 200 dpi, black&white*
 Maximum dimensions: 16x16cm***
 Minimum detail: 1mm **

 *Everything in black will be milled away. The black areas of the design should not
 touch the borders of the image.

 **Depends on which of our machines you’re using
 ***This is the diameter of the smallest milling bit available



3- On one of the computer we installed a trial version of Deskproto. You can use this
to generate Gcode from 3D-models and mill into foam. I can help with that if you’re
interested in trying this. We’ve included a sample file, with the setup for our machine,
in EXAMPLES:




                                  21
K An introduction into G-code
-G-code is a standard for machinecode.
-However, each brand of CNC-manufacturers tend to make their own ‘flavor’
The reference below is a command list for the Makerbot electronics, which are also used
on the miniCNC.

-G-codes: commands starting with ‘G’ are motion commands
-M-codes: commands starting with ‘M’ are toolhead commands.
 (as the Dremel on the miniCNC is not controlled by the electronics these are
meaningless for this machine)



 CODE                      EXPLANATION                     EXAMPLE



 G01 Xxx.xx Yxx.xx         Move to given coördinate.       G21
 Zxx.xx Fxx                The parameter F defines a       G01 X10 F120
                           speed in mm/min                 G01 Y10
                                                           G01 X0
                                                           G01 Y0
                                                           (this draws a square of
                                                           10x10mm, at 120mm/s)

                                                           You could also write:
                                                           G21
                                                           G01 X0 Y0 Z0
                                                           G01 X10 Y0 Z0 F120
                                                           G01 X0 Y10 Z0
                                                           …




 G04 Pxxxx                 Pause command, parameter
                           P is defined in milliseconds    G04 P5000 (wait for 5 seconds)
 G21                       Use millimeters as units,       G21 (use once at start of file)
                           G20 is ‘use inches’

 G90                       Set absolute positioning i.e.   G90
                           you will be using absolute      G01 X10
                           coordinates, G91 selects        G01 Y10
                           relative coordinates.           G01 X0
                                                           G01 Y0
                                                           (draws a square, compare with
                                                           G91)


                                 22
G92 Xxx.xx Yxx.xx Zxx.xx   Set origin/ define position   G92 X0 Y0 Z0 (you are now at
                                                         X0,Y0, Z0)




M101                       Extruder on                   M101 (Extruder on, forward)


M103                       Extruder off                  M103 (Extruder off)


M104 Sxxx                  Set extruder temperature,     M104 S220 T0 (Temperature
                           between 215 and 230°C for     to 220 celsius)
                           ABS


M108 Sxxx                  Set extruder motor speed,     M108 S255 (Extruder speed =
                           value from 0 to 255           max)



M30                        Used at end of file, loop
                           function (the code starts
                           again from the top)




                                 23
Gcode example (for milling)

(this file creates a 30x30 square button with 4 holes in it)

G21 (set mm as units)
G91
G92 X0 Y0 Z0 (current position is zero)
(lines above are a general header)

G01 X10 Y20 F120

(plunge hole)
G01 Z-5 F50
G01 Z0

G01 X10 Y10 F120

(plunge hole)
G01 Z-5 F50
G01 Z0

G01 X20 Y10 F120

(plunge hole)
G01 Z-5 F50
G01 Z0

G01 X20 Y20 F120

(plunge hole)
G01 Z-5 F50
G01 Z0

(cut out a 30x30mm square)

G01 X-2 Y-2 F120
G01 Z-5 F50
G01 Y32
G01 X32
G01 Y-2
G01 X-2

(lift and end)
G01 Z0




                                   24
L Links

Makerbot industries:

 http://www.makerbot.com



 Our CNC-machines:

 http://www.repairablemachines.com




website Wim:

http://www.kd85.com/




                              25

Mais conteúdo relacionado

Semelhante a Manual open source cnc 3 d makerbot

Makerbot Replicator 2 Primer
Makerbot Replicator 2 PrimerMakerbot Replicator 2 Primer
Makerbot Replicator 2 PrimerNYCCTfab
 
A8-M Operation instruction-1.0.pdf
A8-M Operation instruction-1.0.pdfA8-M Operation instruction-1.0.pdf
A8-M Operation instruction-1.0.pdfCristian A. Tissera
 
MakerBot Replicator 2x Primer
MakerBot Replicator 2x Primer MakerBot Replicator 2x Primer
MakerBot Replicator 2x Primer NYCCTfab
 
Conquering the code in softimage
Conquering the code in softimageConquering the code in softimage
Conquering the code in softimageJared Glass
 
Lenovo Ideapad 310 (15" Touch) user guide manual PDF (English)
  Lenovo Ideapad 310 (15" Touch) user guide manual PDF (English)  Lenovo Ideapad 310 (15" Touch) user guide manual PDF (English)
Lenovo Ideapad 310 (15" Touch) user guide manual PDF (English)manualsheet
 
Acer Aspire E 15 Laptop (E5-575-51GG) User manual PDF download / User Guide
  Acer Aspire E 15 Laptop (E5-575-51GG) User manual PDF download  / User Guide  Acer Aspire E 15 Laptop (E5-575-51GG) User manual PDF download  / User Guide
Acer Aspire E 15 Laptop (E5-575-51GG) User manual PDF download / User Guidemanualsheet
 
58Mm Thermal Receipt Printer -Operating Manual
58Mm Thermal Receipt Printer -Operating Manual58Mm Thermal Receipt Printer -Operating Manual
58Mm Thermal Receipt Printer -Operating ManualFinni Rice
 
Ultimaker original user_manual
Ultimaker original user_manualUltimaker original user_manual
Ultimaker original user_manualFranck Lecluse
 
Peopoly Phenom 3D printer setup guide
Peopoly Phenom 3D printer setup guidePeopoly Phenom 3D printer setup guide
Peopoly Phenom 3D printer setup guideDaveRFlorizone
 
58 mm thermal reciept printer operating manual
58 mm thermal reciept printer operating manual58 mm thermal reciept printer operating manual
58 mm thermal reciept printer operating manualvinguyen8596
 
Ultimaker 2+
Ultimaker 2+Ultimaker 2+
Ultimaker 2+NYCCTfab
 
Frequently Asked Questions3-24
Frequently Asked Questions3-24Frequently Asked Questions3-24
Frequently Asked Questions3-24Jessica Calderwood
 
Fusion 360 Tutorial
Fusion 360 TutorialFusion 360 Tutorial
Fusion 360 TutorialNYCCTfab
 
Fusion 360 Tutorial
Fusion 360 TutorialFusion 360 Tutorial
Fusion 360 TutorialNYCCTfab
 

Semelhante a Manual open source cnc 3 d makerbot (20)

Workshop diy 3 d printing makerbots 2012
Workshop diy 3 d printing   makerbots 2012Workshop diy 3 d printing   makerbots 2012
Workshop diy 3 d printing makerbots 2012
 
Makerbot Replicator 2 Primer
Makerbot Replicator 2 PrimerMakerbot Replicator 2 Primer
Makerbot Replicator 2 Primer
 
A8-M Operation instruction-1.0.pdf
A8-M Operation instruction-1.0.pdfA8-M Operation instruction-1.0.pdf
A8-M Operation instruction-1.0.pdf
 
MakerBot Replicator 2x Primer
MakerBot Replicator 2x Primer MakerBot Replicator 2x Primer
MakerBot Replicator 2x Primer
 
Conquering the code in softimage
Conquering the code in softimageConquering the code in softimage
Conquering the code in softimage
 
Lenovo ideapad 320-17AST&ABR User Guide
Lenovo ideapad 320-17AST&ABR User GuideLenovo ideapad 320-17AST&ABR User Guide
Lenovo ideapad 320-17AST&ABR User Guide
 
Briefing makerbot and mini cnc
Briefing makerbot and mini cncBriefing makerbot and mini cnc
Briefing makerbot and mini cnc
 
Mac OS X Tips & Tricks
Mac OS X Tips & TricksMac OS X Tips & Tricks
Mac OS X Tips & Tricks
 
Lenovo Ideapad 310 (15" Touch) user guide manual PDF (English)
  Lenovo Ideapad 310 (15" Touch) user guide manual PDF (English)  Lenovo Ideapad 310 (15" Touch) user guide manual PDF (English)
Lenovo Ideapad 310 (15" Touch) user guide manual PDF (English)
 
Ideapad
IdeapadIdeapad
Ideapad
 
Quick start guide english
Quick start guide englishQuick start guide english
Quick start guide english
 
Acer Aspire E 15 Laptop (E5-575-51GG) User manual PDF download / User Guide
  Acer Aspire E 15 Laptop (E5-575-51GG) User manual PDF download  / User Guide  Acer Aspire E 15 Laptop (E5-575-51GG) User manual PDF download  / User Guide
Acer Aspire E 15 Laptop (E5-575-51GG) User manual PDF download / User Guide
 
58Mm Thermal Receipt Printer -Operating Manual
58Mm Thermal Receipt Printer -Operating Manual58Mm Thermal Receipt Printer -Operating Manual
58Mm Thermal Receipt Printer -Operating Manual
 
Ultimaker original user_manual
Ultimaker original user_manualUltimaker original user_manual
Ultimaker original user_manual
 
Peopoly Phenom 3D printer setup guide
Peopoly Phenom 3D printer setup guidePeopoly Phenom 3D printer setup guide
Peopoly Phenom 3D printer setup guide
 
58 mm thermal reciept printer operating manual
58 mm thermal reciept printer operating manual58 mm thermal reciept printer operating manual
58 mm thermal reciept printer operating manual
 
Ultimaker 2+
Ultimaker 2+Ultimaker 2+
Ultimaker 2+
 
Frequently Asked Questions3-24
Frequently Asked Questions3-24Frequently Asked Questions3-24
Frequently Asked Questions3-24
 
Fusion 360 Tutorial
Fusion 360 TutorialFusion 360 Tutorial
Fusion 360 Tutorial
 
Fusion 360 Tutorial
Fusion 360 TutorialFusion 360 Tutorial
Fusion 360 Tutorial
 

Mais de Industrial Design Center

Tiii presentation by dr. ir S.A.G. Stephan Wensveen
Tiii presentation by dr. ir S.A.G. Stephan WensveenTiii presentation by dr. ir S.A.G. Stephan Wensveen
Tiii presentation by dr. ir S.A.G. Stephan WensveenIndustrial Design Center
 
Softkinetic user interface evolution by Ilse Ravyse and Tanya Varbanove
Softkinetic user interface evolution by Ilse Ravyse and Tanya VarbanoveSoftkinetic user interface evolution by Ilse Ravyse and Tanya Varbanove
Softkinetic user interface evolution by Ilse Ravyse and Tanya VarbanoveIndustrial Design Center
 
TIII presentation by Jelle Saldien and Jolien De Ville
TIII presentation by Jelle Saldien and Jolien De VilleTIII presentation by Jelle Saldien and Jolien De Ville
TIII presentation by Jelle Saldien and Jolien De VilleIndustrial Design Center
 
Smart textiles talk by Lieva Van langenhove
Smart textiles talk by Lieva Van langenhoveSmart textiles talk by Lieva Van langenhove
Smart textiles talk by Lieva Van langenhoveIndustrial Design Center
 
False start what_matters_thomas_depreitere
False start what_matters_thomas_depreitereFalse start what_matters_thomas_depreitere
False start what_matters_thomas_depreitereIndustrial Design Center
 

Mais de Industrial Design Center (20)

Whist TIII presentation
Whist TIII presentationWhist TIII presentation
Whist TIII presentation
 
Tiii presentation by dr. ir S.A.G. Stephan Wensveen
Tiii presentation by dr. ir S.A.G. Stephan WensveenTiii presentation by dr. ir S.A.G. Stephan Wensveen
Tiii presentation by dr. ir S.A.G. Stephan Wensveen
 
Presentation pitch projects
Presentation pitch projectsPresentation pitch projects
Presentation pitch projects
 
TIII team: Presentation final event [CUO]
TIII team: Presentation final event [CUO]TIII team: Presentation final event [CUO]
TIII team: Presentation final event [CUO]
 
TIII team: Presentation final event
TIII team: Presentation final eventTIII team: Presentation final event
TIII team: Presentation final event
 
Smart textiles
Smart textilesSmart textiles
Smart textiles
 
Sirris presentation
Sirris presentationSirris presentation
Sirris presentation
 
Softkinetic user interface evolution by Ilse Ravyse and Tanya Varbanove
Softkinetic user interface evolution by Ilse Ravyse and Tanya VarbanoveSoftkinetic user interface evolution by Ilse Ravyse and Tanya Varbanove
Softkinetic user interface evolution by Ilse Ravyse and Tanya Varbanove
 
3 d scanning howest summer classes 2012
3 d scanning   howest summer classes 20123 d scanning   howest summer classes 2012
3 d scanning howest summer classes 2012
 
Product photography summer school
Product photography   summer schoolProduct photography   summer school
Product photography summer school
 
Illumination in new ways jacob rader
Illumination in new ways   jacob raderIllumination in new ways   jacob rader
Illumination in new ways jacob rader
 
TIII presentation by Jelle Saldien and Jolien De Ville
TIII presentation by Jelle Saldien and Jolien De VilleTIII presentation by Jelle Saldien and Jolien De Ville
TIII presentation by Jelle Saldien and Jolien De Ville
 
Smart textiles talk by Lieva Van langenhove
Smart textiles talk by Lieva Van langenhoveSmart textiles talk by Lieva Van langenhove
Smart textiles talk by Lieva Van langenhove
 
Arduino talk by Toon Nelissen
Arduino talk by Toon Nelissen Arduino talk by Toon Nelissen
Arduino talk by Toon Nelissen
 
Briefing workshop laser cutting eng 2012
Briefing workshop laser cutting eng 2012Briefing workshop laser cutting eng 2012
Briefing workshop laser cutting eng 2012
 
Programming arduino makeymakey
Programming arduino makeymakeyProgramming arduino makeymakey
Programming arduino makeymakey
 
Prototyping with silicone
Prototyping with siliconePrototyping with silicone
Prototyping with silicone
 
Lékué history
Lékué historyLékué history
Lékué history
 
False start what_matters_thomas_depreitere
False start what_matters_thomas_depreitereFalse start what_matters_thomas_depreitere
False start what_matters_thomas_depreitere
 
2011.08.29 intro prototyping_methodology
2011.08.29 intro prototyping_methodology2011.08.29 intro prototyping_methodology
2011.08.29 intro prototyping_methodology
 

Último

Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Último (20)

Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

Manual open source cnc 3 d makerbot

  • 1. 1
  • 2. O Workshop overview ........................................................................................................................ 3 A- Makerbot: getting started ............................................................................................................ 4 1-start replicatorG. .............................................................................................................................. 4 2-heat up the printer ........................................................................................................................... 4 3-generating G-code .......................................................................................................................... 5 4-test the extruder .............................................................................................................................. 7 B Print your own objects ..................................................................................................................... 8 C Setting up the software ................................................................................................................. 10 1-ReplicatorG ................................................................................................................................... 10 2-Custom profiles and driver for your machine ................................................................................ 10 D Under the hood: configuring Skeinforge ....................................................................................... 11 E THE CNC-MILL: GETTING STARTED ......................................................................................... 13 Connect ............................................................................................................................................ 13 Try it .................................................................................................................................................. 14 F WRITING A BIT OF GCODE ........................................................................................................ 14 G MILLING SOFTWARE .................................................................................................................. 15 Software: general concepts .............................................................................................................. 15 Software: CADPY ............................................................................................................................. 16 Install CADPY ................................................................................................................................... 16 H More CNC-milling ......................................................................................................................... 21 K An introduction into G-code .......................................................................................................... 22 Gcode example (for milling) ............................................................................................................. 24 L Links ............................................................................................................................................. 25 2
  • 3. O Workshop overview 10h Powerpoint 20 min 10h30 Getting started with printing Printing your own objects 12h repairableCNC: getting started 12h30 Print & Cut Course notes written by: Lieven.standaert@timelab.org +32.486.945.529 3
  • 4. A- Makerbot: getting started 1-start replicatorG. After startup, go to ‘File’ and open ‘01-12_tooth_T5.stl’ You an find it under ’04- EXAMPLES’ on the USB-sticks. The interface should look something like this: Take a minute to check out the buttons and menu items. The large buttons show their function if you hover your mouse over them As indicated in the image, go to Machine>Driver and select the correct driver if this hasn’t been done yet. The name of the driver you are to use should be indicated on the card next to the Makerbot you’re working with. Then hit ‘Connect’ and go to ‘Control Panel’ 2-heat up the printer Depending on the version of the Makerbot you’re using, the control panel should look something like this: 4
  • 5. Set the temperature to the indicated values, and center the print head about 20mm above the platform. You should see the machine heating up in the graph at the bottom right. Now go back to the main interface (don’t close this window) 3-generating G-code To print the 3D-object, the file needs to be translated into machine code. This is called Gcode, and this translation is handled by a piece of software called ‘Skeinforge’. First, let’s make sure you have the correct version of Skeinforge selected. In the main interface, go to Menu> Gcode> Choose Gcode generator and check if the selected one matches the one indicated on your card. 5
  • 6. Next, click ‘Generate Gcode’ at the bottom right. You will see a popup like the one below. Don’t see the right profile? Copy the profiles from ’03- PROFILES’ to …replicatorg-0024 skein_engines skeinforge-0006prefs (006 is the standard version, for version 35 select skeinforge-035) Leave ‘Use raft’ checked. Pick the profile indicated on the card. Click ‘Generate’. Now you’ll see a window indicating the progress generating the code. This may take some time… 6
  • 7. When it’s done, you should see an extra ‘flap’ below the big buttons, saying ‘Gcode’ next to ‘Model’ It should look something like the image above when you click it. I can show you how to read this, there’s a short reference further in this manual, but you don’t need this now. We can dig into this later. For now go back to the ‘Control panel’ and see if the printer is hot yet… 4-test the extruder Motor speed is a value between 0 to 255. First check if the extruder is hot. Then put in ‘230’ for motor speed and press forward. Thievalue you fill in here is The extruder should extrude a smooth squirt of plastic. Press stop and clear away the just for testing, the actual plastic with some tweezers. speeds are set in the Gcode during printing. BEFORE EVERY PRINT, CHECK THE MACHINE IS HEATED UP AND THE FILAMENT GOING INTO THE TOP IS FREE TO DO SO. Not working? Check these If the plastic is being extruded smoothly, you’re ready to print. things: Position the print head about 0,5 mm above the surface, and press ‘Build’ (the second -is the print head hot? large button from the left in the main interface window) -is the plastic filament clear Depending on the profile used and how this is set up, the printer will either start right and free to be pulled into 7
  • 8. the printer? away, or do a test extrusion first. -is the extruder motor turning? It turns slowly (2RPM) but you should be able to see it At the start of the print, the plastic is supposed to stick to the platform. This can be tricky. move. If it is not moving, first check the wire If it does not you can try a couple of things: connections, then try a higher value for motor - While the print is still going, adjust the height manually by turning the wheel on speed. top of the printer. Try to get the plastic to catch on the platform -Is the plastic being pulled - Just cancel the print. (Press ‘Stop’) and reset. in at the top? If it isn’t, and the motor is turning, the motor lost grip - Apply a layer of double-sided sticky tape to the platform. on the filament wire. The Mark V extruders have a - Yell for help black screw to the side to tighten the grip the motor has on the plastic filament. Tighten this. If it does start correctly, make sure the printer has enough free plastic filament to pull in, On the Mark IV extruders and get someone to get you coffee. This example should take about 10 minutes to print. this is more complicated to do, yell for help at this point. When the print finishes, give it 30 seconds to cool down, then peel off the print from the platform. It should, hopefully, look something like this: B Print your own objects At this point you can: - open up your own file, generate G-code and try it OR: -set up the software and try to print from your own laptop, go to part C of this course OR: -try to improve the print quality by earning to adjust the Skeinforge settings. Go to part D. 8
  • 9. 9
  • 10. C Setting up the software 1-ReplicatorG Download en unzip Replicatorg: http://www.replicat.org If this doesn’t work, you There is a version of this software on the stick, under ‘01-INSTALL FILES’ might need to install the FTDI-driver manually, it is located under ‘drivers’ in the ReplicatorG install directory. The software only unzips to install, so you need to create a shortcut by hand. On windows, execute: ReplicatorG.exe (this is not the driver inside ReplicatorG we talked Then connect the cable from the Makerbot to a USB-port, and try to connect to it, using about before but the the steps lined out in part A. system driver that lets your system know what you just connected to it) 2-Custom profiles and driver for your machine If this works, you need to get the correct driver and Skeinforge profile for your machine. They are on the USB-stick: -Copy the files from USB-STICK02-DRIVERS to REPLICATORG-INSTALL FOLDERmachines -Copy the files from USB-STICK03-PROFILESversion006 to REPLICATORG-INSTALL FOLDERskein_enginesskeinforge-0006prefs -Copy the files from USB-STICK03-PROFILESversion35 to REPLICATORG-INSTALL FOLDERskein_enginesskeinforge-35prefs Restart ReplicatorG. You should now be able to select the correct driver and profile. 10
  • 11. D Under the hood: configuring Skeinforge Skeinforge is basically a large series of scripts that are executed one by one. Each have a number of parameters, and when you first take a look at those it will look quite daunting. However: -at some point you’ll need to be able to tweak the settings. Either because the printer isn’t set up right, or because you need different settings for a small, hollow object than you need for, say, a gear wheel you want to have as strong as possible. -you don’t need to learn all the settings at once, you need to figure out which ones are the important ones. If you want to dig into this, start by selecting Skeinforge 35 in menu>GCode>Choose Gcode generator. (it’s easier to set up than the standard version) 11
  • 12. The most important values are indicated in blue and yellow. The modules you should get acquainted with are: -Carve: this cuts the 3D-model in 2D-layers. Layer thickness is defined here -Temperature: what it sounds like -Raft: this is the module doing the bottom, ugh, raft on the model -Speed: sets extrusion and motion speeds -Fill: how the object is filled in (hollow/solid) Try to find following parameters, while taking a look around in the interface: -Flow rate setting (this is extrusion speed) -Layer thickness: thickness of 1 layer on the Z-axis -Infill solidity: how solid do you want your object -Base temperature: print head temperature -Perimeter width over thickness: how wide a strip of layed-down plastic is as a ratio to the layer height. A good start to learn more are the links: - http://davedurant.wordpress.com/2010/10/17/configuring-skeinforge-some-basic-terms/ This is a very good tutorial, there are more on the same site. http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge This is the official manual, with an overview to existing tutorials. 12
  • 13. E THE CNC-MILL: GETTING STARTED Timelab’s miniCNC is a milling machine with an open floor. It was designed as a small mill, capable of milling into larger panels. In this workshop we’ll show you how to use to mill small parts out of plexi. 1-Connect The machine has the same electronics as the Makerbot. You control it using ReplicatorG. -Go to Machine>Driver and select ‘miniCNC 32-teeth-gear’ If your machine has a sticker on it saying ’36-teeth gear’ select ‘miniCNC 36-teeth-gear’. If you do not have the option to select these, you -Connect the machine with the USB-cable and click ‘Connect’ in replicatorG. You might need to copy the drivers need to go back to Machine>Serial Port to select the correct serial port. from the USB-stick. Consult chapter C on how to do this. 13
  • 14. 2-Try it -Once you got connected, open ’02-square.gcode’ from the ’03-EXAMPLES’ folderYou won’t have a 3D-preview, but the g-code should look like this: G90 G92 X0 Y0 Z0 G21 G01 Z-3 F50 G01 X40 F100 G01 Y40 G01 X0 G01 Y0 G01 Z0 Put a piece of plywood under the machine. Turn on the Dremel by hand. You don’t need to open it up fully, half way is fine. Press ‘Build’. If you selected the correct driver and the machine is working properly, this code should mill a 40x40mm pattern, 3mm deep. If you’re using a 2mm milling bit, this results in a 38x38 mm square. Check the size to see if the scale works out. F WRITING A BIT OF GCODE You’ll notice the G-code is a lot shorter than the one from the 3D-printer. It will get longer once we do more complex shapes, but basic holes and rectangles only need a few lines. In Chapter H you’ll find a short reference on what the Gcode commands do. Take a look at it, and compare it with the documented code here: G90 (use absolute coordinates) G92 X0 Y0 Z0 (you are now at zero) G21 (and we’re working in millimeters) G01 Z-3 F50 (go down 3 mm on the Z-axis at speed 50mm/min) G01 X40 F100 (move 40mm to the right at speed 100mm/min) G01 Y40 (move 40m up, keep same speed) G01 X0 G01 Y0 G01 Z0 14
  • 15. G MILLING SOFTWARE 1-Software: general concepts The example above is how you would program a CNC-machine in ye olde days, typing code by hand. Most CNC-machines still work and understand this code (or a variant on it), but you use a piece of software to convert a 3D-file into G-code. Because with this machine you have access to the Gcode, you can use any software that allows you to export machine code. You export the code and open it in ReplicatorG An interesting program to try out for 3D-milling is Deskproto, www.deskproto.com Skeinforge, the G-code generator for the Makerbot, can be used for 3D-milling as well, but is quite complicated to set up and does not offer a good preview. We’ve been using a 2D-based interface, as we were interested in introducing basic milling to people who don’t necessarily have a background in 3D-modelling. 15
  • 16. 2-Software: CADPY CADPY is a small program from MIT we adapted for use with our machine. It allows you to cut out shapes without needing to learn 3D-modelling, using bitmaps or scanned drawings. 3-Install CADPY On windows: Go to the USB-stick 01-INSTALL FILES,copy 01-cadPy_win32_exe.rar and unpack. Then, in the folder that is created go to distcad-2011-05-15.exe If this does not run on your computer, go to http://www.repairablemachines.com/downloads.html and follow the guidelines to install Pythons On Ubuntu: Consult http://www.repairablemachines.com/downloads.html for command line install. On the set up computers, open the CADPY link on the desktop. After opening the software, you should see an interface a bit like The orange lines in the image above are the generated tool paths. These are saved as Gcode and then opened in ReplicatorG. ReplicatorG controls the machine in the same way as it does the Makerbots. 16
  • 17. We use CAD.PY to convert a 2D-bitmap to machine code. This machine code is called G-code, and is sent to the machine later using a separate piece of software, ReplicatorG. In this tutorial we will open a black & white bitmap, set the correct size and depth, generate the G-code and save it. After installing Python, and opening cad.py, you should see this screen: 1-Click on 'INPUT' and select a bitmap. The image we used is a png-file of a black letter 'A', 50.8 x50.8 mm wide at 300dpi. You can find it as ‘05-A.png’ under the EXAMPLES folder on the stick. Once the bitmap got loaded, you should see something like this. 2- Change ‘window size’ to a value that fits the window on your screen.. 3- Next you’ll set the size of the image, the origin point, the depth you want to mill, and 17
  • 18. which part of the image you want to have cut out. x min / y min: sets the origin point, we usually leave these at 0,0. When you start the CNC the location of the milling head will be the bottom left corner of the image field (which is not the same as the bottom left corner of the 'A'!) x width/y width: the size of the image field in millimeters. The software takes the size as set in Photoshop. Set these to ‘50’ nx/ny: is non-editable, it displays the amount of pixels in your image depth: a negative number, in mm. This is the total cutting depth. If you enter '-7' here the black parts in the image will be cut out to this depth. Grey parts of the image will be interpolated between 0 and depth, according to the settings in intensity min / intensity max (we haven't experimented much with those yet) Set this to ‘-4’ travel height: how much the milling bit is raised when moving the tool.Set this to ‘1’ number of layers: you can either cut out to the desired depth in one go, or mill in a number of layers. This will depend on the hardness of the material and, if you have slopes, how smooth you want these. 1 gives you the full depth in one go.Leave at 1 for now invert image: flips the black and white parts of the image around When you're happy with these settings, click on 'CAM'. You will now see an additional number of buttons and boxes: CAD.PY suggests a default filename as output file. You can change this if desired, but it will by default save a gcode file in the same folder where the bitmap is located. maximum vector fit error: mostly left this alone, should influence accuracy. 18
  • 19. tool diameter: diameter of your milling bit. Set to the correct value. Most of you will be using a 2mm bit. tool overlap:value between 0 and 1. Overlap between the milling paths. A larger number gives less overlap. A value of 1 will give a distance of the full tool diameter between paths. 'Send to machine' doesn't work (yet) for the Arduino-based #contours: number, 1 gives only an outline, which is useful when cutting a contour. -1 electronics. mills away everything in black. Values of 2,3,... are also possible. Set to ‘1’ for now. 'contour' starts the calculation. CAD.PY will calculate the tool path, and display these when done: Give it a try…. 19
  • 20. -Once the calculation is finished, you can go back to replicatorG, open the Gcode-file ’05.A.gcode’ you just created. -place a piece of plywood under the machine -Position the mill bit and turn on the Dremel -Hit ‘Build’ and try it. 20
  • 21. H More CNC-milling 1-On the stick you we prepared some more example files. ‘Arduinobot’ is a frame for a small robot, designed to be cut out of 2mm plexi. 2- Make and mill your own pieces Prepare a bitmap-file in Photoshop (I export a PDF out of my CAD program) PNG-files work well, black & white is faster than grayscale. Format: PNG-file, minimum 200 dpi, black&white* Maximum dimensions: 16x16cm*** Minimum detail: 1mm ** *Everything in black will be milled away. The black areas of the design should not touch the borders of the image. **Depends on which of our machines you’re using ***This is the diameter of the smallest milling bit available 3- On one of the computer we installed a trial version of Deskproto. You can use this to generate Gcode from 3D-models and mill into foam. I can help with that if you’re interested in trying this. We’ve included a sample file, with the setup for our machine, in EXAMPLES: 21
  • 22. K An introduction into G-code -G-code is a standard for machinecode. -However, each brand of CNC-manufacturers tend to make their own ‘flavor’ The reference below is a command list for the Makerbot electronics, which are also used on the miniCNC. -G-codes: commands starting with ‘G’ are motion commands -M-codes: commands starting with ‘M’ are toolhead commands. (as the Dremel on the miniCNC is not controlled by the electronics these are meaningless for this machine) CODE EXPLANATION EXAMPLE G01 Xxx.xx Yxx.xx Move to given coördinate. G21 Zxx.xx Fxx The parameter F defines a G01 X10 F120 speed in mm/min G01 Y10 G01 X0 G01 Y0 (this draws a square of 10x10mm, at 120mm/s) You could also write: G21 G01 X0 Y0 Z0 G01 X10 Y0 Z0 F120 G01 X0 Y10 Z0 … G04 Pxxxx Pause command, parameter P is defined in milliseconds G04 P5000 (wait for 5 seconds) G21 Use millimeters as units, G21 (use once at start of file) G20 is ‘use inches’ G90 Set absolute positioning i.e. G90 you will be using absolute G01 X10 coordinates, G91 selects G01 Y10 relative coordinates. G01 X0 G01 Y0 (draws a square, compare with G91) 22
  • 23. G92 Xxx.xx Yxx.xx Zxx.xx Set origin/ define position G92 X0 Y0 Z0 (you are now at X0,Y0, Z0) M101 Extruder on M101 (Extruder on, forward) M103 Extruder off M103 (Extruder off) M104 Sxxx Set extruder temperature, M104 S220 T0 (Temperature between 215 and 230°C for to 220 celsius) ABS M108 Sxxx Set extruder motor speed, M108 S255 (Extruder speed = value from 0 to 255 max) M30 Used at end of file, loop function (the code starts again from the top) 23
  • 24. Gcode example (for milling) (this file creates a 30x30 square button with 4 holes in it) G21 (set mm as units) G91 G92 X0 Y0 Z0 (current position is zero) (lines above are a general header) G01 X10 Y20 F120 (plunge hole) G01 Z-5 F50 G01 Z0 G01 X10 Y10 F120 (plunge hole) G01 Z-5 F50 G01 Z0 G01 X20 Y10 F120 (plunge hole) G01 Z-5 F50 G01 Z0 G01 X20 Y20 F120 (plunge hole) G01 Z-5 F50 G01 Z0 (cut out a 30x30mm square) G01 X-2 Y-2 F120 G01 Z-5 F50 G01 Y32 G01 X32 G01 Y-2 G01 X-2 (lift and end) G01 Z0 24
  • 25. L Links Makerbot industries: http://www.makerbot.com Our CNC-machines: http://www.repairablemachines.com website Wim: http://www.kd85.com/ 25