1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved Multi color

Discussion in 'General Questions' started by spankurmonkey, Jan 10, 2017.

  1. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Depends on your slicer, if you are using S3D add the following code to the Additional terminal commands for post processing
    Code:
    {REPLACE "; layer" "M117 Layer"}

    Anything after the M117 is displayed on the status line of the LCD.
     
    mark tomlinson and Geof like this.
  2. spankurmonkey

    spankurmonkey Member

    Joined:
    Dec 26, 2016
    Messages:
    102
    Likes Received:
    3
    I do have S3D... so this replace will do a M117 command for each and every layer?
     
  3. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Yep
     
    Geof likes this.
  4. spankurmonkey

    spankurmonkey Member

    Joined:
    Dec 26, 2016
    Messages:
    102
    Likes Received:
    3
    So I am on my second multi-color print and I noticed there are drag lines on the print because I don't think the Z hop is correct in S3D.

    can someone tell me what a standard Z Hop mm value would be to avoid the print drag marks?
     
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,668
    Likes Received:
    7,316
    I have not moved mine from the default. If you think you need to try bumping it a bit. I can't imagine you need more than an extra couple of tenths of a millimeter.
     
  6. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    I typically use .8 just because, no reason.
     
  7. spankurmonkey

    spankurmonkey Member

    Joined:
    Dec 26, 2016
    Messages:
    102
    Likes Received:
    3
    Ok.. I will do that.. on the Replace thing... I tried this...

    {REPLACE "; layer" "M117 Layer"}|{REPLACE "\n; layer 54, Z = " "; layer 54\n M600\n; layer 54 "}

    The screen showed the layer but it never did the M600 at Layer 54 ----- I had to manually change filament through the LCD Controller....

    Did I do something wrong or use the wrong syntax?
     
  8. mcsams

    mcsams New Member

    Joined:
    Feb 17, 2016
    Messages:
    11
    Likes Received:
    2
    I just did a print where I wanted to change the lettering to black from the white base. My steps using S3D:
    1. From the Machine Control Panel, I hit the "Pause" button at the layer where the lettering started to outline.
    2. I immediately hit the "Marco 1" button to initiate a 5 cm lift.
    3. I then hit the "Disable Motors" button. The X-carriage was now free to move along the X-axis
    4. I placed a piece of paper over my print to protect from oozing and priming.
    5. I removed the white filament and inserted the black filament.
    6. I primed the black by manually turning the feed gear.
    7. Removed paper and hit the "Resume Button"
    The extruder positioned itself exactly where it left off and started to print again.

    The default g-code for Macro 1, at least for me, issues the following:
    • G91 ; Relative positioning
    • G1 Z50 ; Lift 5cm
    • G90 ; Absolute positioning
    I added a retract (G1 E-2 F3600) after G91 to eliminate a blob prior to lifting. When you pause, there is still pressure in the extruder and the filament will continue to ooz (hence the need to hit the Macro 1 button immediately.)

    The above worked perfectly. It allows you to move the X-carriage to facilitate the changing of the filament and not have to worry about manually re-positioning it or re-home.

    The downside is you have to watch your print for this manual intervention. But hey, changing filament mid-print is manual intervention, right?

    There is also the possibility of the pause not occurring right-a-way when you hit the button (depends how much g-code is buffered in memory.)
     
    mark tomlinson likes this.
  9. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    I think you need to rearrange the logic, because if the first condition is true and it always is you never get to the second condition. I have never tried branching logic in S3D so I can't say for sure, but I do know programmatically you have it backwards.
     
  10. mcsams

    mcsams New Member

    Joined:
    Feb 17, 2016
    Messages:
    11
    Likes Received:
    2
    Hmmmm? Are you suggesting I rearranged the "Default" S3D logic for Macro 1?

    Capture.JPG
     
  11. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Sorry my comment was directed at @spankurmonkey and we are not even in the same section of code. He is trying to do an M600 insert at a specific layer height using search and replace. He is trying to automate what you did manually.

    @spankurmonkey try something like this in the post processing section:
    Code:
    {REPLACE "; layer 54," "M600\n; layer 54,"}
    {REPLACE "; layer" "M117 Layer"}

    or maybe something in the layer change script (my example below assumes 0.2 mm layer height x 54 layers)
    Code:
    {IF current_Z_position =10.8}M600

    The code above may not work as scripting is very limited in S3D.

    Useful link follows,
    https://forum.simplify3d.com/viewtopic.php?f=8&t=1959
     
    #31 WheresWaldo, Jan 13, 2017
    Last edited: Jan 13, 2017
  12. mcsams

    mcsams New Member

    Joined:
    Feb 17, 2016
    Messages:
    11
    Likes Received:
    2

Share This Page