You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very clever method and I can't wait to try it out. I followed your isntructions and have the python script saved inside the scripts directory. I ran Cura 4.8, sliced a cyliner, clicked on Extensions > Post Processing > Modify Gcode and clicked on add script. GradientInfill was not there. Restarted Cura. Same result. Rebooted everything. Same thing or did I mess up somewhere?
The text was updated successfully, but these errors were encountered:
There is an error loading the script. If your script file is not called 'GradientInfill.py', it will fail to load.
Click 'Help' at the top and then 'Show Configuration Folder'. From there, open the cura.log file in notepad and do a search for text for 'GradientInfill' and it will jump you to the part explaining what the error is.
To get it to show up in the latest version of Cura, you have to add a small bit of code in the GradientInfill section:
Add the folowing:
def __init__(self):
super().__init__()
after: class GradientInfill(Script):
and before the section for: def getSettingDataString(self):
restart Cura, and it should show up in the scripts section now.
This is a very clever method and I can't wait to try it out. I followed your isntructions and have the python script saved inside the scripts directory. I ran Cura 4.8, sliced a cyliner, clicked on Extensions > Post Processing > Modify Gcode and clicked on add script. GradientInfill was not there. Restarted Cura. Same result. Rebooted everything. Same thing or did I mess up somewhere?
The text was updated successfully, but these errors were encountered: