Jump to content

toreae

Member
  • Posts

    25
  • Joined

  • Last visited

Everything posted by toreae

  1. From gcode: 4 ;Layer height: 0.4 32 T1 33 M207 F75 S6.0 Z0.0 P40 34 M208 F60 S0 3582 ;MESH:PETG-TEST-Z-Seam002.stl 3583 G1 F900 Z5.6 3584 G11 3585 G1 F3600 X133.788 Y95.095 E1091.63095 3737 G1 X135.866 Y95.488 E1134.0468 3738 G1 X135.243 Y94.75 E1134.14316 3739 M204 S2000 3740 G10 ;G10 3741 G1 F900 Z6 ;Z up 0.4 3742 ;MESH:NONMESH 3743 G0 F15000 X134.392 Y95.603 Z6 ;Z no change 3744 ;TIME_ELAPSED:276.060882 3745 ;LAYER:14 3746 M204 S1000 3747 ;TYPE:WALL-INNER 3748 ;MESH:PETG-TEST-Z-Seam002.stl 3749 G1 F900 Z6 ;Z no change 3750 G11 ;G11 3751 G1 F3600 X133.788 Y95.095 E1134.22191 3752 G1 X133.187 Y94.703 E1134.29351 --------------- This is how I want it! 'Z Hop Height' must be the same as 'Layer Height'. And no one ticked 'Z Endstop in Positive Direction'. This only gives 1 Z movement at layer change. 3 if you tune 'Z-hop' (Firmware Retraction). As you can see, 'Extruder1' has 0.4mm 'Layer Height'. That's because I use a nozzle that is 0.6mm. Then I get under extrusion. 'Extruder(0)' has a 0.4mm nozzle. Then I usually use 0.25mm Layer Height. By mistake I used 0.25mm 'Layer Height' on 'Extruder1'. That led to over extrusion. It may be, when printing with PETG, that at the right 'Layer Height' you will get a nice Z-seam. Again, thanks for all the help.
  2. The code is written. And tested through terminal. I am currently printing with only 1 extruder. PETG. So I haven't tested with the extruder switch while I'm printing. And now it's overextrusion! So then I have to change the code in the menu, too. I had forgotten that. I still use the display that came with the Ender 5.
  3. Thanks. I knew a little, like Z{retraction_hop}. But nothing about Z{retraction_hop,0}, or {retraction_hop if machine_endstop_positive_direction_z else 0.0}. All of this has to be tested, which is boring, so it won't happen straight away. Thanks to both of you. There will probably be a continuation.
  4. Well, that gave me something to wonder about! I have now rewritten my macros, so that my printer now supports full control over G10-G11 for each extruder. (I think.) So that all tuning is saved between changing extruders. And with your help I added the following lines to the StartUp gcode: T0 M207 F{retraction_speed,0} S{retraction_amount,0} Z{retraction_hop if machine_endstop_positive_direction_z else 0.0,0} M208 F{retraction_prime_speed,0} S{retraction_extra_prime_amount,0} T1 M207 F{retraction_speed,1} S{retraction_amount,1} Z{retraction_hop if machine_endstop_positive_direction_z else 0.0,1} P40 M208 F{retraction_prime_speed,1} S{retraction_extra_prime_amount,1} T{initial_extruder_nr} The P40 in one of the M207 lines is because I am experimenting with a short break before G10, for PETG. I get underextrusion at the end of the line. I think this is because the nozzle drags filament with it when it goes to the next place. Where do you find all these codes? (Z{retraction_hop if machine_endstop_positive_direction_z else 0.0}) Is there a place where all these codes are described?
  5. Well, you gave me a challenge. First: This looks like it will remove the need to edit the gcode, afterwards. It is good. Then it's just a matter of remembering it, and hoping that the opportunity doesn't disappear with new editions of Cura. M208 F{retraction_prime_speed*60,initial_extruder_nr} Surely it should be like this? Being able to use both extruders is not yet important. What I'm trying to do is get PETG right. And then I hope that I won't have to use G10 - G11 (for tuning).
  6. I also think you have understood this. This is how I have it set up in Cura now. I think this is the best solution. It is very rare that I use both extruders. When I use both, usually one is for support. If I use both, it creates another problem. Any tuning disappears when you change the extruder. To the question of whether it should be in the Klipper plugin: Yes that would be nice. But Klipper does not have 'Z-hop'. I have made a dirty macro that adds 'Z-hop'. I was hoping maybe there was a hidden menu or something...
  7. A highly modified Ender 5. Among other things, it has 2 extruders on the same X-carriage. And it runs on Klipper firmware. By, among other things, tuning 'Firmware Retraction'. Especially 'Z-hop', 'Retract length' and 'Additional recover length'. And 'pressure_advance' with 'pressure_advance_smooth_time'. No. No. I would like Cura to also include the 5th feature in 'Firmware Retraction', 'Z-hop' (Z lift on retraction). (When I look, Marlin also has 'Retract swap length', which I think Cura has included. And 'Additional recover swap length' which I think Cura has not included. But these functions are not important (for this time).) But if you check 'Firmware Retraction', Cura still creates gcode with 'Z-hop': "3668 G10" "3669 G1 F900 Z6.2" Line 3669 should not have been here. As the G10 in Marlin already has 'Z-hop'. So what I want is for Cura to use 'Firmware Retraction' with 'Z-hop', in the way Marlin ment it should be used. Again, I apologize if the wording is unfriendly.
  8. I'm sorry. I have to use google translate. If my choice of words sounds unfriendly, I can assure you that they are not meant to be. It's more a frustration with the problem, and my lack of ability to explain things correctly.
  9. I have tried that plugin before. And it didn't help. Klipper does not have 'Firmware Retraction' with 'Z-hop'. So you have to arrange that yourself, with a macro. I'm trying to get nice Z-seams with PETG, TPU. Not easy. But I like the challenge.
  10. I don't know why you are writing this. Yes, Cura treats this completely differently. But Marlin has it included in the G10, G11, M207 and M208. Yes, if I want Z-Hop p 0.6mm as a starting point, then set it to 0mm in Cura. And then I have to manually edit the g-code afterwards. So as I already wrote, why only include 4 out of 5 features that 'Firmware Retraction' is? If I rebuilt the printer back to what it was, this would still be a problem. If I bought a new printer, it would be a problem. If I want to use 'Firmware retraction' including Z-Hop, I have to set Z-Hop to 0.0mm in Cura, and edit the gcode afterwards. Circumstantial.
  11. I use Klipper. And Klipper use mm/s: "#retract_speed: 20 # The speed of retraction, in mm/s. The default is 20 mm/s." Cura cannot be set to Klipper, so Marlin should be the right choice. Again: The problem is that Cura leaves 'retraction_speed', 'retraction_amount', 'retraction_prime_speed', and 'retraction_extra_prime_amount' to the printer's firmware so I can tune these while printing. (Which is correct.) But Cura does not do the same with 'retraction_hop'. This is not logical. Why only include 4 out of 5 features in 'Firmware Retraction'? Why omit 'retraction_hop'?
  12. I have these lines in 'Extruder Start Gcode'. M207 F{retraction_speed} S{retraction_amount} Z{retraction_hop} M208 F{retraction_prime_speed} S{retraction_extra_prime_amount} The problem is that Cura leaves 'retraction_speed', 'retraction_amount', 'retraction_prime_speed', and 'retraction_extra_prime_amount' to the printer's firmware so I can tune these while printing. Cura does not do the same with 'retraction_hop'. This is not logical. Marlin Firmware can tune retraction_hop while printing.
  13. Hello. I have set 'Gcode Flavor' to Marlin (1st image). And Marlin supports Z Hop (2nd image). When I test with 'Firmware Retraction' on, and 'Z hop Height' set to 0.6mm, Cura inserts 2 extra Z movements (3rd image). These extra Z movements lead to more oozing. Which is exactly what you want to prevent with 'Retraction'. When I set the 'Z hop Height' set to 0.0mm (4th image) there is no extra movement. But then I have to set this myself on the 3D printer, after starting to print. Is this something that will be fixed? There are also no settings from Cura that are transferred to Gcode. That's fine. I have included this in 'Extruder Start G-code'. Edit: The third and fourth image fit perfectly, unfortunately. But one can see the line numbers 3638, 3623 from Notepad++.
  14. Hello again. Never mind how my printer is set up. Try setting up any printer that has 2 extruders and 2 hotends. Slice 2 parts so that one part is printed with one extruder hotend, and the other part is printed with the other extruder hotend. Check the Gcode. Is there extra M109 that comes after priming? I'm pretty sure the problem will be the same.
  15. I can only repeat myself: "I have tested with Prime Power. This is the 1st time changing the extruder, to extruder no. 2. The first time it is switched to extruder 2, and the first time it is switched back to extruder 1, it is an M109 command. Firstly, it is unnecessary, it is the same temperature. Secondly, an M109 command entails a 10 second wait. If there is to be a new temperature after changing the extruder, it should come immediately after the Tx command. As it is now, there are 10 seconds of oozing." I can't see that you reply to what I have written. Extra M109 command, introduces extra 10 second wait. Completely unnecessary. M109 is to check if the correct temperature has been reached, and if it is stable. This leads to 10 seconds of oozing.
  16. I have tested with Prime Power. This is the 1st time changing the extruder, to extruder no. 2. The first time it is switched to extruder 2, and the first time it is switched back to extruder 1, it is an M109 command. Firstly, it is unnecessary, it is the same temperature. Secondly, an M109 command entails a 10 second wait. If there is to be a new temperature after changing the extruder, it should come immediately after the Tx command. As it is now, there are 10 seconds of oozing. Gcode snippet: T1 *******BUT HERE************ G92 E0 ; Start Extruder 2 ; Cura has just reset the extruder M106 S255 ; Fan at full blast G1 E10 F1500 ; Extrude 10mm G1 X236 Y22 F1500.0 E30 ; Go to X236 Y-28 @ 25mm/s, extrude 30mm G92 E0 ; Reset Extruder G1 X240 Y24.5 F1500 ; Get ready for WIPE G3 X243 Y27 I2.5 J-0.8 E-8.5 F720 ; WIPE and retract G1 X115 Y112 F12000 ; Go to X236 Y100 at 200mm/s ; End of start Extruder 2 M105 M109 S250 *******NOT HERE************ G1 F2700 E-8.5 M205 X8 Y8 ;MESH:2-sirklerB.stl G0 F7200 X126.104 Y97.337 Z0.32 G0 X127.477 Y96.028 G0 X129.055 Y97.352 G0 X130.494 Y98.826 G0 X131.779 Y100.437 G0 X132.897 Y102.169 G0 X133.836 Y104.001 G0 X134.589 Y105.919 G0 X135.147 Y107.903 G0 X135.504 Y109.931 G0 X138.443 Y164.101 M205 X12 Y12 ;TYPE:SKIRT G1 F2100 E-8.49547
  17. I don't understand why you talk about Retracting Distance and Speed, and you have talked about Accel and Jerk. I can assure you that is not the problem. The problem is, as I have written before, extra G92 E0, and errors with Retraction. The filament must be in the Nozzle when the printer starts printing. Not 6.5mm or 8.5mm retraced. Or vice versa, when the printer starts printing, 6.5mm or 8.5mm should not come out at one point. The reason for the different speed etc. is, among other things, that I have PLA in extruder 1, and PETG in extruder 2. But as I wrote above, I have found a kind of solution. But maybe others may have a better solution than mine.
  18. My conclusion: If you have 2 hotends, then Cura is really only made for use with Prime Tower. My way of solving this: Using extruder start stop gcode. In 'Dual Extrusion', I need to have the 'Nozzle Switch Retraction Distance' to the same as the 'Retraction Distance'. I also need to set 'Nozzle Switch Extra Prime Amount' to negative which corresponds to retraction. So 6.5mm retraction gives -15.626mm^3. In 'Post Processing' I have to have a 'Search and Replace' that takes away 'G92 E0' the first time the first extruder is put into use (besides my priming in 'Extruder Start Gcode).
  19. See attached picture. If you switch between extruders (1), you can set different retraction (2).
  20. There is absolute retraction for each extruder. There is also a separate retraction for switching between extruders. Try creating a new profile, e.g. Geeetech A10M.
  21. A picture will not show this in a good way. I have made a mirrored copy of the carrige (only the disc). This plate is mounted on the back of the first, with wheels and X-gantry in between. And there is the second hotend mounted. Firmware is Marlin 2.1.1.
  22. The project file prints perfectly on my printer. In the gcode you can see 2 places I have entered 'removed with Search and Replace'. I have to, so as not to have filament retracted for Extruder 1. For Extruder 2 I don't really need it. #define HOTEND_OFFSET_X { 0.0, 0.00 } // (mm) relative X-offset for each nozzle #define HOTEND_OFFSET_Y { 0.0, 48.20 } // (mm) relative Y-offset for each nozzle #define HOTEND_OFFSET_Z { 0.0, 0.00 } // (mm) relative Z-offset for each nozzle #define X_BED_SIZE 230 #define Y_BED_SIZE 225 #define X_MIN_POS 0 #define Y_MIN_POS -20 #define Z_MIN_POS 0 #define X_MAX_POS 245 #define Y_MAX_POS Y_BED_SIZE I have not done any XYZ movements, I have only corrected Extruder movements to get things right with retraction and forward retraction.
  23. This is the beginning of the gcode for Ender 3 Pro (Single extruder, single hotend): M82 ;absolute extrusion mode ; Ender 3 Custom Start G-code G92 E0 ; Reset Extruder G28 ; Home all axes M104 S175 ; Start heating up the nozzle most of the way M190 S50.0 ; Start heating the bed, wait until target temperature reached M109 S200 ; Finish heating the nozzle G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line G92 E0 ; Reset Extruder G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish G92 E0 G92 E0 G1 F1500 E-6 ;LAYER_COUNT:4 ;LAYER:0 M107 M204 S500 M205 X5 Y5 G0 F7500 X87.745 Y88.147 Z0.28 G0 X80.779 Y99.097 M205 X8 Y8 ;TYPE:SKIRT G1 F1500 E0 This is how I would have the gcode for Ender 3 Pro. M82 ;absolute extrusion mode ; Ender 3 Custom Start G-code G92 E0 ; Reset Extruder G28 ; Home all axes M104 S175 ; Start heating up the nozzle most of the way M190 S50.0 ; Start heating the bed, wait until target temperature reached M109 S200 ; Finish heating the nozzle G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line G1 F1500 E24 ;****** Retract in the correct place ****** G92 E0 ; Reset Extruder G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish G92 E0 G92 E-6 ****** This line in Extruder Start gcode ******* ; G92 E0 ****** Remove this line ****** ; G1 F1500 E-6 ****** Remove this line ****** ;LAYER_COUNT:4 ;LAYER:0 M107 M204 S500 M205 X5 Y5 G0 F7500 X87.745 Y88.147 Z0.28 G0 X80.779 Y99.097 M205 X8 Y8 ;TYPE:SKIRT G1 F1500 E0
  24. Thanks for reply. Since I don't use Prime Tower, I have to have another way to prime. I can't see that there is any other way than using Start and End gcodes. Accel and Jerk are not a problem here. Now I use Search and Replace to get this right. I see that there are many people who prefer not to use Prime Tower. Start and End gcodes are perfect for this. But then this must not be destroyed by Reset Extruder and Retract before the first use. In case of later use of the Extruder, this is correct. 2-circle.3mf
  25. Hello. I have rebuilt Ender 5. It has been rebuilt so that it has 2 hotends on 1 carriage, and 2 extruders. When it needs to change the hot end, I drive to a corner and prime the new hot end in a purge bucket there. My problem is that I can't get the retract and priming right. Below is the gcode snippet. The first time it uses extruder 1, it get extra Reset Extruder (G92 E0) and Retrackt (G1 F2700 E-6.5). The first time it uses extruder 2, I get extra Retrackt (G1 F2100 E-8.5). Maybe these shouldn't be here. This is something I have in Machine Settings, Extruder x. These extra lines are not included later, when I change the hot end. I know my explanation is not easy to understand.... Extruder 1, 1. time: G92 E0 ; ***RESET EXTRUDER***? G1 F2700 E-6.5 ; ******RETRACT*******? ;LAYER_COUNT:16 ;LAYER:0 M117 Layer 1 of 16 M107 ; M107: Fan Off M104 T1 S250 ; Set Hotend Temperature M204 S1250 ; Set Starting Acceleration M205 X12 Y12 ; Set Advanced Settings, Jerk Extruder 2, 1. time: M105 ; Report Temperatures M109 S250 ; Wait for Hotend Temperature G1 F2100 E-8.5 ; ******RETRACT*******? M204 S1000 ; Set Starting Acceleration M205 X8 Y8 ; Set Advanced Settings, Jerk Extruder 1, 2. time: M105 ; Report Temperatures M109 S220 ; Wait for Hotend Temperature M106 S255 ; Set Fan Speed M204 S1250 ; Set Starting Acceleration M205 X12 Y12 ; Set Advanced Settings, Jerk Extruder 2, 2. time and further: M107 ; M107: Fan Off M204 S1000 ; Set Starting Acceleration M205 X8 Y8 ; Set Advanced Settings, Jerk Extruder 1, 3. time and further: M106 S255 M204 S1250 M205 X12 Y12
×
×
  • Create New...