S3D/Octoprint Layer Count Differs For Filament Change

Have questions or comments about Simplify3D, Slic3r, Cura, Reptier, etc? Or wondering about which CAD software to use...discuss it here...
Post Reply
CCRN
Posts: 181
Joined: Wed Jun 01, 2016 6:15 pm

S3D/Octoprint Layer Count Differs For Filament Change

Post by CCRN » Wed Oct 19, 2016 7:22 pm

I am making some two color tags to use for reordering some supplies for the ICU. I followed the HOWTO and used that code, with the only change being M25 to M0 for Octoprint/USB. Fantastic How To and solved the readability issue with this project.

Here is the gcode.
NTICU_Cranial_Access_Kit_Medium.gcode
(870.73 KiB) Downloaded 411 times
My problem is finding the correct layer to apply the code to. I initially used S3D and identified Layer 15 where only embossed letters are printing, then added the appropriate code snipped. The first print attempt paused earlier than I wanted and printed part of the shell in the new color.
Screenshot 2016-10-19 11.59.36.png
I looked at the layers in Octoprint and the same layer reads Layer 17, which is the correct layer to change filament at.
Screenshot 2016-10-19 12.01.34.png
So my workflow requires me to pull the gcode into Octoprint, find the layer, delete the file, edit file, pull back into Octoprint.

CCRN
Posts: 181
Joined: Wed Jun 01, 2016 6:15 pm

Re: S3D/Octoprint Layer Count Differs For Filament Change

Post by CCRN » Wed Oct 19, 2016 7:25 pm

I think I may have figured this out. Looks like S3D starts the count at 0, where Octoprint starts at 1. I looked at it again in S3D and isolated the start/end of my desired layer. Looks like the actual layer in Octoprint is the S3D second number plus 1
Screenshot 2016-10-19 12.24.16.png

Post Reply