Skip to content

Instantly share code, notes, and snippets.

@Jaesin
Last active July 26, 2016 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaesin/7a04e38591c95774d75d9107b5416ca5 to your computer and use it in GitHub Desktop.
Save Jaesin/7a04e38591c95774d75d9107b5416ca5 to your computer and use it in GitHub Desktop.
[profile]
layer_height = 0.2
wall_thickness = 0.7
retraction_enable = True
solid_layer_thickness = .6
fill_density = 100
print_speed = 60
print_temperature = 187
print_temperature2 = 200
print_temperature3 = 0
print_temperature4 = 0
print_temperature5 = 0
print_bed_temperature = 70
support = Touching buildplate
platform_adhesion = Brim
support_dual_extrusion = Both
wipe_tower = False
wipe_tower_volume = 15
ooze_shield = False
filament_diameter = 1.75
filament_diameter2 = 1.75
filament_diameter3 = 0
filament_diameter4 = 0
filament_diameter5 = 0
filament_flow = 100
nozzle_size = 0.35
retraction_speed = 40.0
retraction_amount = 5
retraction_dual_amount = 16
retraction_min_travel = 2
retraction_combing = All
retraction_minimal_extrusion = 0.02
retraction_hop = 0.1
bottom_thickness = 0.25
layer0_width_factor = 100
object_sink = 0.0
overlap_dual = 0.15
travel_speed = 140.0
bottom_layer_speed = 30
infill_speed = 80
solidarea_speed = 30
inset0_speed = 50
insetx_speed = 80
cool_min_layer_time = 5
fan_enabled = False
skirt_line_count = 1
skirt_gap = 3.0
skirt_minimal_length = 150.0
fan_full_height = 0.5
fan_speed = 40
fan_speed_max = 50
cool_min_feedrate = 10
cool_head_lift = False
solid_top = True
solid_bottom = True
fill_overlap = 15
perimeter_before_infill = True
support_type = Lines
support_angle = 45
support_fill_rate = 15
support_xy_distance = 0.7
support_z_distance = 0.15
spiralize = False
simple_mode = False
brim_line_count = 16
raft_margin = 5.0
raft_line_spacing = 3.0
raft_base_thickness = 0.3
raft_base_linewidth = 1.0
raft_interface_thickness = 0.27
raft_interface_linewidth = 0.4
raft_airgap_all = 0.0
raft_airgap = 0.22
raft_surface_layers = 2
raft_surface_thickness = 0.27
raft_surface_linewidth = 0.4
fix_horrible_union_all_type_a = True
fix_horrible_union_all_type_b = False
fix_horrible_use_open_bits = False
fix_horrible_extensive_stitching = False
plugin_config =
object_center_x = -1
object_center_y = -1
[alterations]
start.gcode = ; M140 S{print_bed_temperature} ;set bed temperature, no wait
M104 T0 S{print_temperature} ;set EX0 temperature, no wait
; M104 T1 S{print_temperature2} ;set EX1 temperature, no wait
;set temps again and wait
; M190 S{print_bed_temperature} ;set bed temp and wait
M109 T0 S{print_temperature} ;set EX0 temp and wait
; M109 T1 S{print_temperature2} ;set EX1 temp and wait
G17 ;set plane to XY (not really necessary...)
G21 ;set units to mm (or G20 for inches)
G90 ;set to absolute positioning (or G91 for incremental/relative)
M82 ;set extruder to absolute mode (or M83 for relative)
M107 ;fan off
M203 X10000 Y10000 Z600 E250 ;set max feedrates
G28 ;home all Axes
;G1 Z15.0 F(travel_speed)
;T1 ;Switch to the 2nd extruder
;G92 E0 ;zero the extruded length
;G1 F200 E10 ;extrude 10mm of feed stock
;G92 E0 ;zero the extruded length again
;G1 F200 E-{retraction_dual_amount}
T0 ;switch to the first extruder
G92 E0 ;zero the extruded length
G1 F600 Z0.2 ;prepare for extruder prime manuver
G1 F1200 X100 Y0 E8 ;extrude 20mm of feed stock
G1 F1200 Y0.5
G1 F1200 X0 Y0.5 E16
G1 F15000 X0 Y10 ;wipe the print head
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
end.gcode =
M104 T0 S0 ;extruder heater off
;M104 T1 S0 ;extruder heater off
;M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G90
G00 X75 Y140 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
;G90 ;absolute positioning
;{profile_string}
start2.gcode =
M140 S{print_bed_temperature} ;set bed temperature, no wait
M104 T0 S{print_temperature} ;set EX0 temperature, no wait
M104 T1 S{print_temperature2} ;set EX1 temperature, no wait
;set temps again and wait
M190 S{print_bed_temperature} ;set bed temp and wait
M109 T0 S{print_temperature} ;set EX0 temp and wait
M109 T1 S{print_temperature2} ;set EX1 temp and wait
G17 ;set plane to XY (not really necessary...)
G21 ;set units to mm (or G20 for inches)
G90 ;set to absolute positioning (or G91 for incremental/relative)
M82 ;set extruder to absolute mode (or M83 for relative)
M107 ;fan off
M203 X10000 Y10000 Z600 E250 ;set max feedrates
G28 ;home all Axes
G1 Z15.0 F(travel_speed)
T1 ;Switch to the 2nd extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-{retraction_dual_amount}
T0 ;Switch to the first extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
end2.gcode =
M104 T0 S0 ;extruder heater off
M104 T1 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G90
G00 X75 Y140 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
;G90 ;absolute positioning
;{profile_string}
start3.gcode =
;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
;Print time: {print_time}
;Filament used: {filament_amount}m {filament_weight}g
;Filament cost: {filament_cost}
;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
;M104 S{print_temperature} ;Uncomment to add your own temperature line
;M109 T1 S{print_temperature2} ;Uncomment to add your own temperature line
;M109 T0 S{print_temperature} ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
T2 ;Switch to the 2nd extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-{retraction_dual_amount}
T1 ;Switch to the 2nd extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-{retraction_dual_amount}
T0 ;Switch to the first extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...
end3.gcode =
M104 T0 S0 ;extruder heater off
M104 T1 S0 ;extruder heater off
M104 T2 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;{profile_string}
start4.gcode =
;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
;Print time: {print_time}
;Filament used: {filament_amount}m {filament_weight}g
;Filament cost: {filament_cost}
;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
;M104 S{print_temperature} ;Uncomment to add your own temperature line
;M109 T2 S{print_temperature2} ;Uncomment to add your own temperature line
;M109 T1 S{print_temperature2} ;Uncomment to add your own temperature line
;M109 T0 S{print_temperature} ;Uncomment to add your own temperature line
G21 ;metric values
G90 ;absolute positioning
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
T3 ;Switch to the 4th extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-{retraction_dual_amount}
T2 ;Switch to the 3th extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-{retraction_dual_amount}
T1 ;Switch to the 2nd extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-{retraction_dual_amount}
T0 ;Switch to the first extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...
end4.gcode =
M104 T0 S0 ;extruder heater off
M104 T1 S0 ;extruder heater off
M104 T2 S0 ;extruder heater off
M104 T3 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;{profile_string}
support_start.gcode =
support_end.gcode =
cool_start.gcode =
cool_end.gcode =
replace.csv =
preswitchextruder.gcode =
;This code is added before the T(n)
postswitchextruder.gcode =
;This code is added after the T(n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment