You are on page 1of 4

EXPERIMENT NO.

4
AIM: - GENERATING G CODE FILE BY USING 3D PRINTER

Fig:- 3D PRINTED HELICAL GEAR


PROGRAM
;FLAVOR:Marlin
;TIME:3569
;Filament used: 3.14065m
;Layer height: 0.2
;MINX:93.489
;MINY:93.49
;MINZ:0.2
;MAXX:141.511
;MAXY:141.51
;MAXZ:18.2
;Generated with Cura_SteamEngine 4.1.0
M140 S60
M105
M190 S60
M104 S200
M105
M109 S200
M82 ;absolute extrusion mode
; Ender 3 Custom Start G-code
G28 ; Home all axes
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
G92 E0 ; Reset Extruder
;TIME_ELAPSED:3569.994536
G1 F2400 E3135.64912
M140 S0
M204 S4000
M205 X20 Y20
M107
; Ender 3 Custom End G-code
G4 ; Wait
M220 S100 ; Reset Speed factor override percentage to default (100%)
M221 S100 ; Reset Extrude factor override percentage to default (100%)
G91 ; Set coordinates to relative
G1 F1800 E-3 ; Retract filament 3 mm to prevent oozing
G1 F3000 Z20 ; Move Z Axis up 20 mm to allow filament ooze freely
G90 ; Set coordinates to absolute
G1 X0 Y235 F1000 ; Move Heat Bed to the front for easy print removal
M84 ; Disable stepper motors
; End of custom end GCode
M82 ;absolute extrusion mode
M104 S0
;End of Gcode
;SETTING_3 {"extruder_quality": ["[general]\\nversion = 4\\nname = Draft #2\\nde
;SETTING_3 finition = fdmprinter\\n\\n[metadata]\\nposition = 0\\nsetting_versio
;SETTING_3 n = 7\\nquality_type = draft\\ntype = quality_changes\\n\\n[values]\\
;SETTING_3 n\\n"], "global_quality": "[general]\\nversion = 4\\nname = Draft #2\
;SETTING_3 \ndefinition = fdmprinter\\n\\n[metadata]\\nsetting_version = 7\\nqua
;SETTING_3 lity_type = draft\\ntype = quality_changes\\n\\n[values]\\nadhesion_t
;SETTING_3 ype = skirt\\n\\n"}

You might also like