joseamirandavelez wrote:
The only problem is that Simplify3D writes the whole line to the gcode file. This includes my username, password, api key and octopi server address... all sensitive information. Is there any way to prevent Simplify3D from echoing this to the gcode file?

G-Code files are not usually ones you "share" so that's why I assume they by default push
everything in, and I personally like that. Now since they were sensible enough to assume you might not want everything in, there is option to strip data from G-Code. You can find most
here
Below are the post-processing tools that also work in the post-processing box:
{REPLACE "E" "A"} - search and replace for the text within quotes, in this example every "E" character would be replaced with an "A" character
{PREPEND "G92 E0\n"} - prepends the specified text at the very beginning of the gcode file, note that the \n is converted into a true newline character, not two separate "\" and "n" characters
{APPEND "G28 X0 Y0\n"} - appends the specified text to the very end of the gcode file
{DELETE "M82\n"} - deletes every occurrence of the specified text from the gcode file, note that it will not automatically delete a line if it is suddenly empty after the deletion, so that is why you might want to include the \n at the end (so that the empty line is also removed)
{STRIP ";"} - completely deletes every line in the gcode file that begins with the specified text
{TOOL0REPLACE "E" "A"} and {TOOL1REPLACE "E" "B"} - these special TOOL#REPLACE commands will do a search and replace, very similar to the {REPLACE} command, however, the replace only occurs if the specified tool is active. For example, when using TOOL1REPLACE, the replacement will only occur if tool 1 was currently active at that line of the gcode file
To remove the data you want (postprocessing info) use this: