deltacomb_base.def.json 6.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "version": 2,
  3. "name": "Deltacomb Base Printer",
  4. "inherits": "fdmprinter",
  5. "metadata": {
  6. "author": "Gabriele Rossetti",
  7. "visible": false,
  8. "manufacturer": "Deltacomb 3D Printers",
  9. "file_formats": "text/x-gcode",
  10. "has_machine_quality": true,
  11. "has_materials": true,
  12. "has_variants": true,
  13. "variants_name": "Head",
  14. "preferred_quality_type": "d",
  15. "preferred_material": "generic_pla",
  16. "machine_extruder_trains": {
  17. "0": "deltacomb_base_extruder_0",
  18. "1": "deltacomb_base_extruder_1",
  19. "2": "deltacomb_base_extruder_2",
  20. "3": "deltacomb_base_extruder_3"
  21. }
  22. },
  23. "overrides": {
  24. "machine_extruder_count": { "default_value": 1, "maximum_value": "4" },
  25. "machine_heated_bed": { "default_value": true },
  26. "machine_center_is_zero": { "default_value": true },
  27. "machine_gcode_flavor": { "default_value": "RepRap (Marlin/Sprinter)" },
  28. "machine_start_gcode": { "default_value": ";---------------------------------------\n;Deltacomb start script\n;---------------------------------------\nG21 ;metric values\nG90 ;absolute positioning\nM107 ;start with the fan off\nG28 ;Home all axes (max endstops)\nG92 E0 ;zero the extruded length\nG1 Z15.0 F9000 ;move to the platform down 15mm\nG1 F9000\n\n;Put printing message on LCD screen\nM117 Printing...\n;---------------------------------------"},
  29. "machine_end_gcode": { "default_value": ";---------------------------------------\n;Deltacomb end script\n;---------------------------------------\nG91 ;relative positioning\nG1 F15000 X8.0 E-4.5 ;Wipe filament+material retraction\nG1 F15000 E4.0 Z1 ;Retraction compensation\nG28 ;Home all axes (max endstops)\nM84 ;steppers off\n" },
  30. "machine_shape": { "default_value": "elliptic" },
  31. "machine_max_feedrate_z" : { "default_value": 300 },
  32. "speed_print" : { "default_value": 80 },
  33. "speed_topbottom": { "value": "speed_print * 0.90" },
  34. "speed_wall_0": { "value": "35 if speed_print > 35 else speed_print" },
  35. "speed_layer_0": { "value": "speed_print * 0.55" },
  36. "speed_travel": { "value": "170" },
  37. "speed_travel_layer_0": { "value": "speed_travel * 0.70" },
  38. "speed_z_hop": { "value": "speed_travel" },
  39. "acceleration_enabled": { "value": "True" },
  40. "acceleration_travel" : { "value": "9000" },
  41. "acceleration_print": { "value": "4000" },
  42. "acceleration_wall": { "value": "acceleration_print * 0.5" },
  43. "acceleration_wall_0": { "value": "acceleration_wall * 0.5" },
  44. "acceleration_topbottom": { "value": "acceleration_wall_0" },
  45. "acceleration_layer_0": { "value": "acceleration_wall_0" },
  46. "acceleration_prime_tower": { "value": "acceleration_wall" },
  47. "acceleration_support": { "value": "acceleration_wall" },
  48. "acceleration_support_interface": { "value": "acceleration_wall_0" },
  49. "jerk_enabled": { "value": "True" },
  50. "jerk_print": { "value": "25" },
  51. "jerk_infill": { "value": "10" },
  52. "jerk_travel": { "value": "10" },
  53. "retraction_hop_enabled": { "default_value": true },
  54. "retraction_hop": { "default_value": 0.5 },
  55. "retraction_amount" : { "default_value": 3.5 },
  56. "retraction_speed" : { "default_value": 70 },
  57. "retraction_combing" : { "default_value": "noskin" },
  58. "travel_avoid_distance": { "value": "1" },
  59. "top_bottom_thickness": { "default_value": 0.8 },
  60. "roofing_layer_count": { "value": "1" },
  61. "roofing_line_width": { "value": "line_width * 0.75" },
  62. "infill_sparse_density": { "default_value": 30 },
  63. "infill_pattern": { "value": "'cubic'" },
  64. "infill_before_walls": { "default_value": false },
  65. "support_z_distance": { "value": "layer_height * 2" },
  66. "support_bottom_distance": { "value": "layer_height" },
  67. "support_use_towers" : { "default_value": false },
  68. "support_bottom_enable" : { "value": "0" },
  69. "skirt_brim_speed": { "value": "speed_layer_0" },
  70. "skirt_line_count": { "default_value": 3 },
  71. "skirt_brim_minimal_length": { "default_value": 150 },
  72. "brim_width": { "value": "3" },
  73. "prime_tower_size": { "value": "math.sqrt(extruders_enabled_count * prime_tower_min_volume / layer_height / math.pi) * 2"},
  74. "prime_tower_position_x": { "value": "prime_tower_size - max(extruderValue(adhesion_extruder_nr, 'brim_width') * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 if adhesion_type == 'brim' or (prime_tower_brim_enable and adhesion_type != 'raft') else (extruderValue(adhesion_extruder_nr, 'raft_margin') if adhesion_type == 'raft' else (extruderValue(adhesion_extruder_nr, 'skirt_gap') if adhesion_type == 'skirt' else 0)), max(extruderValues('travel_avoid_distance'))) - max(extruderValues('support_offset')) - sum(extruderValues('skirt_brim_line_width')) * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 - (resolveOrValue('draft_shield_dist') if resolveOrValue('draft_shield_enabled') else 0)" },
  75. "prime_tower_position_y": { "value": "machine_depth / 2 - prime_tower_size - max(extruderValue(adhesion_extruder_nr, 'brim_width') * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 if adhesion_type == 'brim' or (prime_tower_brim_enable and adhesion_type != 'raft') else (extruderValue(adhesion_extruder_nr, 'raft_margin') if adhesion_type == 'raft' else (extruderValue(adhesion_extruder_nr, 'skirt_gap') if adhesion_type == 'skirt' else 0)), max(extruderValues('travel_avoid_distance'))) - max(extruderValues('support_offset')) - sum(extruderValues('skirt_brim_line_width')) * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 - (resolveOrValue('draft_shield_dist') if resolveOrValue('draft_shield_enabled') else 0) - 1" }
  76. }
  77. }