Jump to content

Simplify 3d Gcode edit - scripting


bob-hepple

Recommended Posts

Posted · Simplify 3d Gcode edit - scripting

Hi All

I have another thread on going on at moment

http://umforum.ultimaker.com/index.php?/topic/9557-incorporating-your-own-supports-in-your-design/

place a nut in the middle of a print and print on top of it.

which I think sound cool BUT I spoke to Sim3D today, I asked how I would go about stopping the code inserting the nut at a given point then continuing.

The procedure was slice the model and at the point where I wanted to edit it take note of the line save the code and edit it and put M0 in that line. Sounds ok but im confused, they also said dont move the head but I need to move the head to get to the print.

The g code is not numbered as in my "MIL Software Codes G Code" so finding line 652 is not a problem bt finding line 652 without numbers is. (any thoughts)

Also instead of putting an arbutry M0 on a line at a given point wouldnt the use of the script, in the software make more sense. I already Have start code. End code. There is Tool change and layer change could these not be used to controll the pause of the machine while I place the nut in place.

Any help Appreciated as always

 

  • Link to post
    Share on other sites

    Posted · Simplify 3d Gcode edit - scripting

    ...

    The procedure was slice the model and at the point where I wanted to edit it take note of the line save the code and edit it and put M0 in that line. Sounds ok but im confused, they also said dont move the head but I need to move the head to get to the print.

    ...

    The g code is not numbered as in my "MIL Software Codes G Code" so finding line 652 is not a problem bt finding line 652 without numbers is. (any thoughts)

    ...

     

    I don't know Simplify3D, but i think you will need a few more lines around the "M0" command.

    Just a suggestion: you could slice the model with Cura and use the "PauseAtZ" plugin. Then take a look at the generated gcode to get an idea...

    AFAIK it makes a retract, moves the head out of the way and then pauses the print with M0. After resuming it moves the head back to the former position, reverts the retract and continues the print (it's not rocket science...).

    Of course the print head can be moved - you just have to avoid to do this "by hand"... ... but this would be pretty unlikely, because the steppers keep enabled during the pause - so don't worry!

    To find the correct position in the gcode file just search for the appropriate z-coordinate. Why do you need line numbers...?

     

  • Link to post
    Share on other sites

    • 1 month later...
    Posted · Simplify 3d Gcode edit - scripting

    Heartman No problem,

    I used simplify 3d, created the drawing, sliced it in Smp3D found the layer that was at the top of the nut where it is going to be printed over noted the layer, created the Gcode, went into Noted Pad and did a find for the layer directly below the line number I placed this code

    G1 Z60 F900; move to Z60 at F900 speed

    M0; pause

     

    ran the code on my UM2 at this point the machine paused allowing the time to insert the just press button and print continues

     

    hope this helped

     

    Bob

     

  • Link to post
    Share on other sites

    Posted · Simplify 3d Gcode edit - scripting

    Hi,

    Thanks bob for your answer.

    It's what I do actually,

    except I use the "@pause" command

    I'm under Repetier firmware, and it seems doesn't recognize the M0 gcode command.

    I expected a way, to add under S3D a part of code,

    in the scripts>tool change G-code just to avoid the external editing,

    but I don't know how to indicate which line it make the move and pause.

    Anyway, thanks again for your time.

    Regards,

     

  • Link to post
    Share on other sites

    Posted · Simplify 3d Gcode edit - scripting

    Could someone please send me the Process setting file you are using on Simplify3D. I have tried the Ultimaker 2 with no luck. For some reason it just doesn't extrude enough material.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
          • Like
        • 10 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...