












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













3D printing–building by learning
X. Chen
University of Washington
I (^) Modeling I (^) input: 3D concept of an object I (^) output: .STL file I (^) Slicing I (^) input: 3D model as a .STL file I (^) output: G-Code I (^) Printing
I (^) each triangle facet is described by a perpendicular direction and three points which represent the corners of the triangle. An STL file provides a complete listing of the x, y and z coordinates of these corners and perpendiculars.
I (^) STL is an old standard (3 decades old) I (^) not keeping up with the improving 3D printers and design software I (^) new standard AMF (Additive Manufacturing Format) I (^) maintains the surface mesh structure I (^) added capabilities to reflect advances in design software and printers I (^) can handle e.g. different colors, different materials, lattice internal structures
3D printers can be manually controlled with G-codes
Figure 4: G-code manual control example: repetier host
Code Function G0, G1 linear move G2, G3 controlled arc move G4 dwell (delay or pause) G10 & G11 retract and unretract (the filament) G28 move to home position M104 set extruder temperature M140 set bed temperature M116 wait for temperature to stabilize M112 emergency stop
RepRap GCode Cheat Sheet Comm. Parameters Description Example G0 G1 Axis [X/Y/Z] PositionAxis [X/Y/Z/E] Position Feed [F] Rapid MovementControlled Movement G0 X50G1 F150 X G4 G20 Time in ms [P]none Dwell / WaitSet units to inch G4 P500G G21 G28 none<Axis [X/Y/Z]> Set units to mmHome G21G28 X Y G90 G91 nonenone Absolute PositioningRelative Positioning G90G G92 Axis [X/Y/Z/E] Value Set Position to value G92 X5 Y Comm. M0 Parameters none Description Stops everything after buffer is empty (^) Example M M17 none Enable all stepper motors M
G0 [E(pos in mm)] [F(mm/min)] [X(pos in mm)] [Y(pos in mm)] [Z(pos in mm)]
Argument Description E(pos in mm) The amount to extrude between the starting point and ending point F(mm/min) The maximum movement rate of the move between the starting and ending point X(pos in mm) A coordinate on the X axis Y(pos in mm) A coordinate on the Y axis Z(pos in mm) A coordinate on the Z axis
Explain each line of the following G-codes:
G0 Y10 Z- G1 Z- G1 Y G2 X10 Y30 R G1 X G2 X40 Y20 R G1 Y G2 X30 Y0 R G1 X G2 X0 Y10 Z-15 R G3 X-10 Y20 R- G3 X0 Y10 I10 (center) G91 G1 X10 Z G3 Y10 R5 Z3 (circle in incremental) Y10 R5 Z G20 G0 X G3 X-1 R1 (radius in inches)G3 X1 Z0.3 I0.5 J0.5 (I,J in inches) G21 (back to mm) G80 X10 (do nothing) G G0 X30 Y30 Z
I (^) Marlin: http://www.marlinfw.org/docs/basics/introduction.html I (^) Online Gcode Preview: http://nraynaud.github.io/webgcode/ I (^) RepRap G-code page: http://reprap.org/wiki/G-code