Using Slic3r with t...
 
Notifications

Using Slic3r with the Retractable Purge Mechanism  

Page 5 / 5
  RSS

Daniel Martin
(@daniel-martin)
Active Member Customer
Joined: 8 months ago
Posts: 16
14/07/2020 3:53 pm  

@vintagepc64

Hi i have tried to get the script to work with out the semicolon but it still seams not to do anything but if i make it so there is an error with the bucket with the danger zone it will not work it ends up giving me an error but the script will not work if there is no error in the danger zone. Thanks

 

This post was modified 4 months ago by Daniel Martin

ReplyQuote
Daniel Martin
(@daniel-martin)
Active Member Customer
Joined: 8 months ago
Posts: 16
14/07/2020 4:03 pm  

@vintagepc64

the screen shot show the model which is in the danger zone and gives an output but when the model in not in the danger zone nothing is done. Please let me know when this could be fixed. Thanks.

 

 


ReplyQuote
vintagepc
(@vintagepc64)
Moderator Moderator
Joined: 1 year ago
Posts: 42
14/07/2020 4:03 pm  

This happens if your gcode has an X move that runs the risk of activating the mechanism (BUCKET_X - 10mm).  Ensure that none of your parts extend beyond that. 

Most commonly, this is the purge line for mechanisms that activate below 250mm. Just alter the G1 X240 line in your start g-code. Change the 240 to something like 235 or 230.


ReplyQuote
Daniel Martin
(@daniel-martin)
Active Member Customer
Joined: 8 months ago
Posts: 16
14/07/2020 4:06 pm  

@vintagepc64

hi, the purge line is not the issue I was just testing and put the model in the danger zone to see if the script will run and it work but runs into the error but when the object is not in the danger zone the script seems like it doesn't run in Prusa Slicer. Thanks

 

This post was modified 4 months ago by Daniel Martin

ReplyQuote
vintagepc
(@vintagepc64)
Moderator Moderator
Joined: 1 year ago
Posts: 42
14/07/2020 4:09 pm  

Please post a screenshot of the error when the model is NOT in the "danger zone".

Edit: Disregard. I misunderstood. 

 

Please attach a .3mf file with your model and print settings for me to look at.


ReplyQuote
Daniel Martin
(@daniel-martin)
Active Member Customer
Joined: 8 months ago
Posts: 16
14/07/2020 4:20 pm  

@vintagepc64

Hi i am not able to upload a .3mf fiel but i have put it on a link. Thanks

https://www.dropbox.com/sh/40ygohn8ygcfkih/AACTHjWalLa-nKLa5Nnb3BVfa?dl=0

 

 


ReplyQuote
vintagepc
(@vintagepc64)
Moderator Moderator
Joined: 1 year ago
Posts: 42
15/07/2020 1:13 am  

I don't know what to tell you. I loaded your 3MF and sliced, and it seems to be working fine for me.

 I opened the file and checked the gcode manually, it is indeed generating toolchanges as expected:

 

; BUCKET TOOL CHANGE START
; toolchange #2
M220 B
M220 S100
M107
G1 X242.500 Z40.0 F10000
G1 X252.500 F1000
M107
; Ramming RPM: 5.50 mm
G1 E34.5013482057 F374.2
G1 E0.2816 F68
G1 E0.3051 F73
G1 E0.3453 F83
G1 E0.3990 F96
G1 E0.4761 F114
G1 E0.5767 F138
G1 E0.6773 F163
G1 E0.7644 F183
G1 E0.8248 F198
G1 E0.8483 F204
M106
G4 S12
M107
G1 X242.5 F12000
G1 X252.5 F3000
G1 X242.5 F12000
G1 X252.5 F3000
G1 E-15.000 F6000.0
G1 E-24.5000 F1200.0
G1 E-7.0000 F600.0
G1 E-3.5000 F360.0
; Cooling: 3.0 to 2.0 mm/s in 1 moves
G1 E20.000 F180.0
G1 E-20.000 F120.0
G1 E-35.0000 F2000
G4 S0
T4; RPM FROM 0
G4 S0
G1 E12.0000 F1140
G1 E42.0000 F840
G1 E6.0000 F84
G4 S0; sync
; Purge generate for 58.21 mm (140.00mm^3) at F 374
; Purge cycle 1 of 2
G1 E40 F374.2
M106
G4 S12
M107
G1 X242.5 F12000
G1 X252.5 F3000
G1 X242.5 F10000
G1 X252.5 F3000
G4 S0; sync
; Purge cycle 2 of 2
G1 E40 F374.2
M106
G4 S12
G1 X242.5 F12000
G1 X252.5 F3000
G1 X242.5 F10000
G4 S0; sync
G1 E-3.0000 F2100.0000; TC retract
M220 R
G1 F6000
G4 S0
G92 E0
; BUCKET TOOL CHANGE END
; ----------------------

You are saying that when you slice the gcode yourself and look at the file contents, it is not generating these sections?

Pronterface's preview also shows that it's working for me - you can see the travel where it goes right to use the RPM.


ReplyQuote
Daniel Martin
(@daniel-martin)
Active Member Customer
Joined: 8 months ago
Posts: 16
15/07/2020 11:42 am  

@vintagepc64

hi yeah, I don't know what is happening as I have tried to make it work with Prusa slicer and super slicer and when I export the file it just does nothing and there is no purge script in the gcode file.

 


ReplyQuote
Daniel Martin
(@daniel-martin)
Active Member Customer
Joined: 8 months ago
Posts: 16
15/07/2020 11:57 am  

@vintagepc64

hi I have found a solution to the problem I have not just downloaded the script from git hub again and it has now worked thanks for all the help.

 


vintagepc liked
ReplyQuote
Daniel Martin
(@daniel-martin)
Active Member Customer
Joined: 8 months ago
Posts: 16
11/08/2020 8:20 pm  

@vintagepc64 hi please clould you let me know how to change the current for the extruder motor as it is not skipping on the bucket thanks Daniel.

 


ReplyQuote
vintagepc
(@vintagepc64)
Moderator Moderator
Joined: 1 year ago
Posts: 42
11/08/2020 9:01 pm  

@daniel-martin

 

That's not really part of my script's functionality. You can configure this in the 'printer start gcode' with an M907 command to make it a global thing, or set it before (and restore it after) the special toolchange gcode in the 'custom toolchange gcode' area. 

 


ReplyQuote
Page 5 / 5
Share: