Haskell-Things / HSlice

HSlice - A Haskell based slicer for 3D printing.
https://implicitcad.org/
GNU Affero General Public License v3.0
74 stars 5 forks source link

Notes, as per your request #62

Open xxxajk opened 2 years ago

xxxajk commented 2 years ago
  1. Speeds in marlin are in mm/minute, not mm/sec. The values must be multiplied by 60 if mm/sec is expected.
  2. Both machine_start_gcode and machine_end_gcode do not work. Perhaps these should be plain text files, as discussed.
  3. wall_line_count should be able to be adjusted for with (wall_thickness / machine_nozzle_size), if given, instead of count.
  4. missing retraction_distance normally 1.75mm
  5. missing retraction_retract_speed normally 10mm/s
  6. missing retraction_prime_speed normally 10mm/s
  7. missing retraction_extra_prime_amount normally 0
  8. missing retraction_minimum_travel normally 1mm
  9. missing maximum_retraction_count normally 90

That said, here are the parameters with consideration as to the above bugs.

./extcuraengine slice -l ~/Torus.ast \
-o ~/out.gcode \
-s machine_width=160 \
-s machine_depth=160 \
-s machine_height=100 \
-s machine_nozzle_size=0.5 \
-s material_diameter=2.85 \
-s outer_inset_first=False \
-s infill_sparse_density=100 \
-s layer_height=0.25 \
-s wall_line_count=2 \
-s support_enable=False \
-s top_bottom_thickness=1.0 \
-s infill_line_width=0.5051 \
-s speed_infill=3600 \
-s speed_layer_0=900 \
-s speed_travel=10500 \
-s speed_wall_0=900 \
-s speed_wall_x=1800 \
-s machine_start_gcode=";\n" \
-s machine_end_gcode=";\n" 

You have the .AST to test on that I gave you. --Cheers!

julialongtin commented 2 years ago

added a flavor, so that marlin gets it's mm/min, instead of mm/sec.