Reduce machine limits and emit them to G-code

This commit is contained in:
Jannik Beyerstedt 2023-05-01 20:02:43 +02:00
parent c523697bf2
commit 2fb358dcaf
4 changed files with 177 additions and 19 deletions

View file

@ -0,0 +1,158 @@
# generated by PrusaSlicer 2.5.2+MacOS-x64 on 2023-05-01 at 10:52:17 UTC
avoid_crossing_perimeters = 0
avoid_crossing_perimeters_max_detour = 0
bottom_fill_pattern = monotonic
bottom_solid_layers = 2
bottom_solid_min_thickness = 0
bridge_acceleration = 0
bridge_angle = 0
bridge_flow_ratio = 1
bridge_speed = 60
brim_separation = 0
brim_type = outer_only
brim_width = 0
clip_multipart_objects = 1
compatible_printers =
compatible_printers_condition =
complete_objects = 0
default_acceleration = 0
dont_support_bridges = 1
draft_shield = disabled
elefant_foot_compensation = 0
ensure_vertical_shell_thickness = 0
external_perimeter_acceleration = 0
external_perimeter_extrusion_width = 0
external_perimeter_speed = 82%
external_perimeters_first = 0
extra_perimeters = 1
extruder_clearance_height = 20
extruder_clearance_radius = 20
extrusion_width = 0
fill_angle = 45
fill_density = 30%
fill_pattern = cubic
first_layer_acceleration = 0
first_layer_acceleration_over_raft = 0
first_layer_extrusion_width = 150%
first_layer_height = 0.3
first_layer_speed = 50%
first_layer_speed_over_raft = 30
fuzzy_skin = none
fuzzy_skin_point_dist = 0.8
fuzzy_skin_thickness = 0.3
gap_fill_enabled = 1
gap_fill_speed = 20
gcode_comments = 0
gcode_label_objects = 0
gcode_resolution = 0.0125
gcode_substitutions =
infill_acceleration = 0
infill_anchor = 600%
infill_anchor_max = 50
infill_every_layers = 1
infill_extruder = 1
infill_extrusion_width = 0
infill_first = 0
infill_only_where_needed = 0
infill_overlap = 25%
infill_speed = 80
inherits =
interface_shells = 0
ironing = 0
ironing_flowrate = 15%
ironing_spacing = 0.1
ironing_speed = 15
ironing_type = top
layer_height = 0.3
max_print_speed = 130
max_volumetric_extrusion_rate_slope_negative = 0
max_volumetric_extrusion_rate_slope_positive = 0
max_volumetric_speed = 16
min_bead_width = 85%
min_feature_size = 25%
min_skirt_length = 3
mmu_segmented_region_max_width = 0
notes = 16 mm3/s and 70 mm/s is fine!
only_retract_when_crossing_perimeters = 0
ooze_prevention = 0
output_filename_format = [input_filename_base]-h[layer_height]-[fill_pattern]_[fill_density]-s[max_print_speed].gcode
overhangs = 1
perimeter_acceleration = 0
perimeter_extruder = 1
perimeter_extrusion_width = 0
perimeter_generator = arachne
perimeter_speed = 0
perimeters = 4
post_process =
print_settings_id =
raft_contact_distance = 0.1
raft_expansion = 1.5
raft_first_layer_density = 90%
raft_first_layer_expansion = 3
raft_layers = 0
resolution = 0
seam_position = aligned
single_extruder_multi_material_priming = 1
skirt_distance = 6
skirt_height = 1
skirts = 1
slice_closing_radius = 0.049
slicing_mode = regular
small_perimeter_speed = 20
solid_infill_acceleration = 0
solid_infill_below_area = 50
solid_infill_every_layers = 0
solid_infill_extruder = 1
solid_infill_extrusion_width = 0
solid_infill_speed = 0
spiral_vase = 0
standby_temperature_delta = -5
support_material = 0
support_material_angle = 0
support_material_auto = 1
support_material_bottom_contact_distance = 0
support_material_bottom_interface_layers = -1
support_material_buildplate_only = 0
support_material_closing_radius = 2
support_material_contact_distance = 0.2
support_material_enforce_layers = 0
support_material_extruder = 1
support_material_extrusion_width = 0
support_material_interface_contact_loops = 0
support_material_interface_extruder = 1
support_material_interface_layers = 3
support_material_interface_pattern = rectilinear
support_material_interface_spacing = 0
support_material_interface_speed = 100%
support_material_pattern = rectilinear
support_material_spacing = 2.5
support_material_speed = 60
support_material_style = grid
support_material_synchronize_layers = 0
support_material_threshold = 0
support_material_with_sheath = 1
support_material_xy_spacing = 50%
thick_bridges = 1
thin_walls = 1
threads = 8
top_fill_pattern = monotonic
top_infill_extrusion_width = 0
top_solid_infill_acceleration = 0
top_solid_infill_speed = 75%
top_solid_layers = 3
top_solid_min_thickness = 0
travel_speed = 130
travel_speed_z = 0
wall_distribution_count = 1
wall_transition_angle = 10
wall_transition_filter_deviation = 25%
wall_transition_length = 100%
wipe_tower = 0
wipe_tower_bridging = 10
wipe_tower_brim_width = 2
wipe_tower_no_sparse_layers = 0
wipe_tower_rotation_angle = 0
wipe_tower_width = 60
wipe_tower_x = 180
wipe_tower_y = 140
xy_size_compensation = 0

View file

@ -1,4 +1,4 @@
# generated by PrusaSlicer 2.5.2+MacOS-x64 on 2023-04-24 at 20:02:44 UTC # generated by PrusaSlicer 2.5.2+MacOS-x64 on 2023-05-01 at 12:52:26 UTC
avoid_crossing_perimeters = 0 avoid_crossing_perimeters = 0
avoid_crossing_perimeters_max_detour = 0 avoid_crossing_perimeters_max_detour = 0
bottom_fill_pattern = monotonic bottom_fill_pattern = monotonic
@ -14,7 +14,7 @@ brim_width = 0
clip_multipart_objects = 1 clip_multipart_objects = 1
compatible_printers = compatible_printers =
compatible_printers_condition = compatible_printers_condition =
complete_objects = 1 complete_objects = 0
default_acceleration = 0 default_acceleration = 0
dont_support_bridges = 1 dont_support_bridges = 1
draft_shield = disabled draft_shield = disabled
@ -29,7 +29,7 @@ extruder_clearance_height = 20
extruder_clearance_radius = 20 extruder_clearance_radius = 20
extrusion_width = 0 extrusion_width = 0
fill_angle = 45 fill_angle = 45
fill_density = 30% fill_density = 20%
fill_pattern = cubic fill_pattern = cubic
first_layer_acceleration = 0 first_layer_acceleration = 0
first_layer_acceleration_over_raft = 0 first_layer_acceleration_over_raft = 0
@ -55,7 +55,7 @@ infill_extrusion_width = 0
infill_first = 0 infill_first = 0
infill_only_where_needed = 0 infill_only_where_needed = 0
infill_overlap = 25% infill_overlap = 25%
infill_speed = 0 infill_speed = 80
inherits = inherits =
interface_shells = 0 interface_shells = 0
ironing = 0 ironing = 0
@ -141,7 +141,7 @@ top_solid_infill_acceleration = 0
top_solid_infill_speed = 75% top_solid_infill_speed = 75%
top_solid_layers = 3 top_solid_layers = 3
top_solid_min_thickness = 0 top_solid_min_thickness = 0
travel_speed = 100 travel_speed = 130
travel_speed_z = 0 travel_speed_z = 0
wall_distribution_count = 1 wall_distribution_count = 1
wall_transition_angle = 10 wall_transition_angle = 10

View file

@ -1,4 +1,4 @@
# generated by PrusaSlicer 2.5.2+MacOS-x64 on 2023-04-24 at 20:37:04 UTC # generated by PrusaSlicer 2.5.2+MacOS-x64 on 2023-05-01 at 11:59:18 UTC
avoid_crossing_perimeters = 0 avoid_crossing_perimeters = 0
avoid_crossing_perimeters_max_detour = 0 avoid_crossing_perimeters_max_detour = 0
bottom_fill_pattern = monotonic bottom_fill_pattern = monotonic
@ -29,7 +29,7 @@ extruder_clearance_height = 20
extruder_clearance_radius = 20 extruder_clearance_radius = 20
extrusion_width = 0 extrusion_width = 0
fill_angle = 45 fill_angle = 45
fill_density = 30% fill_density = 20%
fill_pattern = cubic fill_pattern = cubic
first_layer_acceleration = 0 first_layer_acceleration = 0
first_layer_acceleration_over_raft = 0 first_layer_acceleration_over_raft = 0
@ -55,7 +55,7 @@ infill_extrusion_width = 0
infill_first = 0 infill_first = 0
infill_only_where_needed = 0 infill_only_where_needed = 0
infill_overlap = 25% infill_overlap = 25%
infill_speed = 0 infill_speed = 80
inherits = inherits =
interface_shells = 0 interface_shells = 0
ironing = 0 ironing = 0
@ -141,7 +141,7 @@ top_solid_infill_acceleration = 0
top_solid_infill_speed = 75% top_solid_infill_speed = 75%
top_solid_layers = 3 top_solid_layers = 3
top_solid_min_thickness = 0 top_solid_min_thickness = 0
travel_speed = 100 travel_speed = 130
travel_speed_z = 0 travel_speed_z = 0
wall_distribution_count = 1 wall_distribution_count = 1
wall_transition_angle = 10 wall_transition_angle = 10

View file

@ -1,4 +1,4 @@
# generated by PrusaSlicer 2.5.2+MacOS-x64 on 2023-04-23 at 10:24:25 UTC # generated by PrusaSlicer 2.5.2+MacOS-x64 on 2023-05-01 at 10:02:55 UTC
bed_custom_model = bed_custom_model =
bed_custom_texture = bed_custom_texture =
bed_shape = 5x0,195x0,195x190,5x190 bed_shape = 5x0,195x0,195x190,5x190
@ -14,22 +14,22 @@ end_gcode = G91 ;rel Pos\nG0 Z20\nG90 ;abs Pos\nG1 F3000 X190 Y190\n\nM104 S145
extra_loading_move = -2 extra_loading_move = -2
extruder_colour = "" extruder_colour = ""
extruder_offset = 0x0 extruder_offset = 0x0
gcode_flavor = marlin gcode_flavor = marlin2
high_current_on_filament_swap = 0 high_current_on_filament_swap = 0
host_type = octoprint host_type = octoprint
inherits = inherits =
layer_gcode = G4 P500; wait 500ms, trigger octolapse layer_gcode = G4 P500; wait 500ms, trigger octolapse
machine_limits_usage = emit_to_gcode machine_limits_usage = emit_to_gcode
machine_max_acceleration_e = 10000,5000 machine_max_acceleration_e = 1000,5000
machine_max_acceleration_extruding = 1500,1250 machine_max_acceleration_extruding = 750,1250
machine_max_acceleration_retracting = 1500,1250 machine_max_acceleration_retracting = 1500,1250
machine_max_acceleration_travel = 1500,1250 machine_max_acceleration_travel = 1000,1250
machine_max_acceleration_x = 9000,1000 machine_max_acceleration_x = 1000,1000
machine_max_acceleration_y = 9000,1000 machine_max_acceleration_y = 1000,1000
machine_max_acceleration_z = 500,200 machine_max_acceleration_z = 100,200
machine_max_feedrate_e = 7,2.5 machine_max_feedrate_e = 7,2.5
machine_max_feedrate_x = 100,50 machine_max_feedrate_x = 170,50
machine_max_feedrate_y = 100,50 machine_max_feedrate_y = 170,50
machine_max_feedrate_z = 3,3 machine_max_feedrate_z = 3,3
machine_max_jerk_e = 2.5,2.5 machine_max_jerk_e = 2.5,2.5
machine_max_jerk_x = 10,10 machine_max_jerk_x = 10,10