Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
profile.py does not parse perimeter_before_infill #1693
What were you doing?
While trouble shooting print quality issues I wanted to experiment with printing the perimeter before infill (Cura option variable perimeterBeforeInfill). I went to check this option in my slicing profile and noticed the option was missing completely from my profile. [EDIT]( I added the option "perimeter_before_infill" to my slicing profile which had no effect on changing the option "perimeterBeforeInfill".) Upon further investigation I noticed that OctoPrint/src/octoprint/plugins/cura/profile.py does not have a rule to parse "perimeterBeforeInfill" from "perimeter_before_infill" in the function convert_to_engine, or anywhere else in the program.
I found Issue #1141 that was closed because the ticket was incomplete.
As a temporary fix I have modified my own profile.py with a line in convert_to_engine to set "perimeterBeforeInfill": 1 which has fixed the problem.
What did you expect to happen?
I expected when setting the variable perimeter_before_infill: true in my Cura slicing profile that the CuraEngine option perimeterBeforeInfill would be set to 1.
What happened instead?
The option is not parsed and the default value 0 is used.
Branch & Commit or Version of OctoPrint
Version: 1.3.0.post0.dev0+g7f5d03d (master branch)
Printer model & used firmware incl. version
Browser and Version of Browser, Operating System running Browser
Link to octoprint.log
Link to contents of terminal tab or serial.log
Link to Cura slicing profile
Screenshot(s) showing the problem:
I have read the FAQ.
Looks like that one was added to Cura 15.04.5 which came out after initial implementation of OctoPrint's Cura plugin. I'll look into it.