Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not showing up in post processing drop down list #19

Open
nameauser opened this issue Mar 14, 2021 · 2 comments
Open

Not showing up in post processing drop down list #19

nameauser opened this issue Mar 14, 2021 · 2 comments

Comments

@nameauser
Copy link

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?

@ausernottaken
Copy link

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.

@DasWookie
Copy link

DasWookie commented Feb 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants