does not parse perimeter_before_infill #1693

torch-senouen opened this Issue Jan 7, 2017 · 3 comments


None yet

2 participants

torch-senouen commented Jan 7, 2017 edited

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/ 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 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.

@foosel foosel added a commit that referenced this issue Jan 11, 2017
@foosel Adjusted Cura profile handling to match latest Cura Legacy version
  * Added/changed mappings of profile to engine settings to
    match Cura Legacy mapping:
    * perimeterBeforeInfill: taken from perimeter_before_infill (new,
      fixes #1693)
    * skinSpeed: taken from solidarea_speed (new)
    * raftAirGapLayer0: sum of raft_airgap and raft_airgap_all
    * raftAirGap: taken from raft_airgap_all (new)
    * raftFanSpeed: changed to 0
    * raftSurfaceThickness: taken from raft_surface_thickness (new)
    * raftSurfaceLinewidth & raftSurfaceLineSpacing: taken from
      raft_surface_linewidth (new)
  * Mach3 Gcode Flavor replaces S parameter with P parameter in
    temperature commands within generated GCODE, like in Cura
foosel commented Jan 11, 2017

Fixed on maintenance (and soon also devel), will be released with 1.3.1

@foosel foosel added this to the 1.3.1 milestone Jan 11, 2017

Great, thanks @foosel !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment