I don't know internals, but there is a checkbox for wiping. I suppose you could remove it's effect for every layer above 50. Is that an easier ask?
I just took a moment to download the gcode file to my workstation ... it looks like that idea is possible:
;LAYER:50
;WIPE_SCRIPT_BEGIN
G0 X250 Y35.322
G0 X270 Y35.322
G0 X250 Y35.322
G0 X270 Y35.322
G0 X250 Y35.322
G0 X270 Y35.322
G0 X72.326 Y35.322
G1 F1500 E2.54158
;WIPE_SCRIPT_END
... so yes... looks possible.
Ah, so you have Experimental > Wipe Nozzle Between Layers turned on? Looks like something it wouldn't be too hard (always famous last words) to whip up a post-processor to remove above a certain layer. Just.. not at 12:30 at night. Later today though I'll look it.
Thanks! I'll look forward to trying this out!
I was thinking about this and it could also be managed by a layer-by-layer take to regular expressions or whatnot. Having had a look at the G-code, I can definitely envision a python script to do it, even reading the layer numbers --- but having a plugin preserves the print-button feature.
- Solution
So, I'm sorry it's not a plugin, just a post-processing script... but on the bright side that means it's just a single Python file so you can mess with it if you want. Although if you need regexes to control your wiping you may want to see a doctor about that.
Just put the Python file inside the zip file (can't upload .py files) into Scripts subfolder of your Cura configuration folder, restart Cura and then add it in the post-processing settings.
It's close ... I can work with that, but to be completely pedantic about it, setting the layer to 250 makes it stop wiping on 249. 🤔
6 hours ago, zBeeble said:It's close ... I can work with that, but to be completely pedantic about it, setting the layer to 250 makes it stop wiping on 249. 🤔
In theory, it's going by layer number in the Cura preview, which starts at 1, but in the gcode the layers start at 0, so I subtract one from the value you put in the settings (because what the Cura preview says is layer 250 is labelled layer 249 in the gcode, but it is in actuality the 250th layer).
I can change it if you want. Whenever I do a script for someone I always want to have a happy customer.
No... it's obviously fine. heh.
Recommended Posts
Slashee_the_Cow 438
How much of a change needs to be made? Do you just need to insert a gcode command at layer 50, or do you need to remove a wiping command from every layer above 50, or... what?
Link to post
Share on other sites