Retraction seeker
thingiverse
# Retraction Seeker This script is a work in progress implementation of a G-code generator that directly produces test print G-code containing pillars with retraction segments between them using ranges of retraction distance, retraction speed, and temperature. The aim of this script is to iterate many different retraction settings in one print, and by observing the output, one can find the optimal retraction setting in a few prints. This script is currently targeted at my custom Prusa I3 Mk2.5 clone and will need changes to settings to allow usage with other printers. For people wanting to use this on their printer, I'd advise creating a machine.json file containing settings for their particular printer. Possible keys can be found in the generated G-code as well as the Python script itself. Example: ``` { "bed_size_x": 120, "bed_size_y": 120, "feed_print_outer": 2400 } ``` Fine-tuning the settings can be done in a settings.json file, which is loaded after machine.json. Example: ``` { "steps_x": 4, "steps_y": 7, "steps_z": 1, "margin_x": 50, "margin_y": 50, "max_tile_span": 10, "ret_d_step": 0.5, "ret_spd_step": 5, "ret_z_hop": 0.1 } ``` This script is also usable as a very crude temperature tower generator (with steps_x = steps_y = 1, and steps_z set accordingly). The key to find the setting for particular transition is stored in the generated G-code: ``` ; ==== retraction map ==== ; ; Y (retr. speed) ; ^ ; 0,0 > X (retr. distance) ; ; [7] 40.00 mm/s : [1] .. 1.0 mm .. [2] .. 1.5 mm .. [3] .. 2.0 mm .. [4] ; [6] 35.00 mm/s : [1] .. 1.0 mm .. [2] .. 1.5 mm .. [3] .. 2.0 mm .. [4] ; [5] 30.00 mm/s : [1] .. 1.0 mm .. [2] .. 1.5 mm .. [3] .. 2.0 mm .. [4] ; [4] 25.00 mm/s : [1] .. 1.0 mm .. [2] .. 1.5 mm .. [3] .. 2.0 mm .. [4] ; [3] 20.00 mm/s : [1] .. 1.0 mm .. [2] .. 1.5 mm .. [3] .. 2.0 mm .. [4] ; [2] 15.00 mm/s : [1] .. 1.0 mm .. [2] .. 1.5 mm .. [3] .. 2.0 mm .. [4] ; [1] 10.00 mm/s : [1] .. 1.0 mm .. [2] .. 1.5 mm .. [3] .. 2.0 mm .. [4] ; ; Z: (print temp.) ; [1] - 0.00 mm - 210.00 C ; ======================== ``` For up-to-date source code, please see the GitHub repository for this project: https://github.com/volca02/retraction-seeker
With this file you will be able to print Retraction seeker with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Retraction seeker.