deltacomb_base.def.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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": "D020",
  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)\nM420 S1; Bed Level Enable\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 In stampa...\nM140 S{print_bed_temperature} ;set the target bed temperature\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": 1.0 },
  55. "retraction_amount" : { "default_value": 3.5 },
  56. "retraction_speed" : { "default_value": 40 },
  57. "retraction_combing" : { "default_value": "noskin" },
  58. "travel_avoid_distance": { "value": "1" },
  59. "travel_avoid_supports": { "value": "True" },
  60. "retraction_hop_only_when_collides": { "value": "1" },
  61. "switch_extruder_retraction_amount": { "value": 10},
  62. "switch_extruder_retraction_speeds": { "default_value": 70 },
  63. "top_bottom_thickness": { "default_value": 0.8 },
  64. "roofing_layer_count": { "value": "1" },
  65. "roofing_line_width": { "value": "line_width * 0.75" },
  66. "z_seam_corner": { "value": "'z_seam_corner_weighted'" },
  67. "infill_sparse_density": { "default_value": 30 },
  68. "infill_pattern": { "value": "'cubic'" },
  69. "infill_before_walls": { "default_value": false },
  70. "support_z_distance": { "value": "layer_height" },
  71. "support_bottom_distance": { "value": "layer_height" },
  72. "support_use_towers": { "default_value": false },
  73. "support_bottom_enable": { "value": false },
  74. "support_wall_count": { "value": "1" },
  75. "skirt_brim_speed": { "value": "speed_layer_0" },
  76. "skirt_line_count": { "default_value": 3 },
  77. "skirt_brim_minimal_length": { "default_value": 150 },
  78. "brim_width": { "value": "3" },
  79. "prime_tower_size": { "value": "math.sqrt(extruders_enabled_count * prime_tower_min_volume / layer_height / math.pi) * 2"},
  80. "prime_tower_brim_enable": { "value": false },
  81. "prime_tower_position_x": { "value": "prime_tower_size / 2" },
  82. "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" }
  83. }
  84. }