summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile27
-rw-r--r--conf/basic.ini120
2 files changed, 147 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..940c53c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+
+BUILDDIR = build
+CONFDIR = conf
+SRCDIR = src
+
+SLIC3R = slic3r
+
+VPATH = $(SRCDIR):$(BUILDDIR)
+
+STL_TARGETS = $(patsubst $(SRCDIR)/%.scad,$(BUILDDIR)/%.stl,$(wildcard $(SRCDIR)/*.scad))
+GCODE_TARGETS = $(patsubst $(SRCDIR)/%.scad,$(BUILDDIR)/%.gcode,$(wildcard $(SRCDIR)/*.scad))
+
+.PHONY: all gcode clean
+all: $(STL_TARGETS)
+
+gcode: $(GCODE_TARGETS)
+
+$(BUILDDIR)/%.stl: %.scad
+ mkdir -p ${BUILDDIR}
+ openscad -o $@ $^
+
+$(BUILDDIR)/%.gcode: %.stl
+ ${SLIC3R} --load ${CONFDIR}/basic.ini $^
+
+clean:
+ rm -f ${BUILDDIR}/*.stl ${BUILDDIR}/*.gcode
+
diff --git a/conf/basic.ini b/conf/basic.ini
new file mode 100644
index 0000000..879b9a5
--- /dev/null
+++ b/conf/basic.ini
@@ -0,0 +1,120 @@
+# generated by Slic3r 1.1.7 on Mon Jul 20 16:03:26 2015
+avoid_crossing_perimeters = 1
+bed_size = 200,200
+bed_temperature = 0
+bottom_solid_layers = 3
+bridge_acceleration = 0
+bridge_fan_speed = 100
+bridge_flow_ratio = 1
+bridge_speed = 80
+brim_width = 0
+complete_objects = 0
+cooling = 1
+default_acceleration = 0
+disable_fan_first_layers = 1
+dont_support_bridges = 1
+duplicate_distance = 6
+end_gcode = M104 S0 ; turn off temperature\nG28 X0 ; home X axis\nM84 ; disable motors\n
+external_perimeter_speed = 70%
+external_perimeters_first = 0
+extra_perimeters = 1
+extruder_clearance_height = 20
+extruder_clearance_radius = 20
+extruder_offset = 0x0
+extrusion_axis = E
+extrusion_multiplier = 1
+extrusion_width = 0
+fan_always_on = 0
+fan_below_layer_time = 60
+filament_diameter = 3
+fill_angle = 45
+fill_density = 40%
+fill_pattern = honeycomb
+first_layer_acceleration = 0
+first_layer_bed_temperature = 0
+first_layer_extrusion_width = 200%
+first_layer_height = 0.25
+first_layer_speed = 40%
+first_layer_temperature = 200
+g0 = 0
+gap_fill_speed = 20
+gcode_arcs = 0
+gcode_comments = 0
+gcode_flavor = reprap
+infill_acceleration = 0
+infill_every_layers = 1
+infill_extruder = 1
+infill_extrusion_width = 0
+infill_first = 0
+infill_only_where_needed = 0
+infill_speed = 60
+interface_shells = 0
+layer_gcode =
+layer_height = 0.25
+max_fan_speed = 100
+min_fan_speed = 35
+min_print_speed = 4
+min_skirt_length = 5
+notes =
+nozzle_diameter = 0.5
+only_retract_when_crossing_perimeters = 1
+ooze_prevention = 0
+output_filename_format = [input_filename_base].gcode
+overhangs = 1
+perimeter_acceleration = 0
+perimeter_extruder = 1
+perimeter_extrusion_width = 0
+perimeter_speed = 40
+perimeters = 3
+post_process =
+print_center = 100,100
+raft_layers = 0
+resolution = 0
+retract_before_travel = 2
+retract_layer_change = 1
+retract_length = 2
+retract_length_toolchange = 10
+retract_lift = 0
+retract_restart_extra = 0
+retract_restart_extra_toolchange = 0
+retract_speed = 80
+seam_position = aligned
+skirt_distance = 6
+skirt_height = 1
+skirts = 2
+slowdown_below_layer_time = 30
+small_perimeter_speed = 30
+solid_fill_pattern = rectilinear
+solid_infill_below_area = 70
+solid_infill_every_layers = 0
+solid_infill_extrusion_width = 0
+solid_infill_speed = 40
+spiral_vase = 0
+standby_temperature_delta = -5
+start_gcode = G28 ; home all axes\nG1 Z5 F5000 ; lift nozzle\n
+support_material = 0
+support_material_angle = 0
+support_material_enforce_layers = 0
+support_material_extruder = 1
+support_material_extrusion_width = 0
+support_material_interface_extruder = 1
+support_material_interface_layers = 3
+support_material_interface_spacing = 0
+support_material_interface_speed = 100%
+support_material_pattern = pillars
+support_material_spacing = 2.5
+support_material_speed = 60
+support_material_threshold = 0
+temperature = 190
+thin_walls = 1
+threads = 2
+toolchange_gcode =
+top_infill_extrusion_width = 150%
+top_solid_infill_speed = 30
+top_solid_layers = 5
+travel_speed = 130
+use_firmware_retraction = 0
+use_relative_e_distances = 0
+vibration_limit = 0
+wipe = 0
+z_offset = 0