Simplify3D send gcode directly to Duet 2 Maestro?



  • This would be neat, for obvious reasons. I use curl to send gcode from S3D to Octoprint, is there a network transport for Duet boards that can be scripted in S3D? Obviously you can send gcode over the network, since that is what the RepRap web GUI does. Can the API be supported on S3D? Has anyone done this?

    DLC



  • I bought S3D 3 days ago, tried to make it work and gave up when I saw there's no print to network. My printers are 20ft or more from my computer desk and no way i'm using stupid cards to transfer files.


  • Moderator

    You can also use curl with S3D and the Maestro.

    https://forum.duet3d.com/post/148892



  • I would refrence https://forum.duet3d.com/topic/867/duet-wifi-s3d/31?_=1592758035929 instead - the other thread was abit of a detour for the Duet3 with ssh instead of curl.



  • @Thalios It isn't THAT big of a deal. I save my gcode on my computer, then shift over to the Duet web GUI and use that to send it to the printer. Just one more step.

    DLC



  • @dlc60 said in Simplify3D send gcode directly to Duet 2 Maestro?:

    Just one more step

    ref link above, it can be made to upload with curl straight from S3D



  • @dlc60 To me it is. Paying premium price for a software that's supposed to be a cut above the rest and it doesn't even do the basic that the other slicers do (Network Printing).

    It is a deal breaker for me. I know you can do a script and upload from Web UI but to me I would see myself going back to Cura or Slicer just for the ease of transfer.



  • @Thalios Can't argue with that. I bought the software 3 years ago when CURA was a bit of a joke and I still think slic3r requires you to be an expert before you can be a beginner. And nothing but may PrusaSlicer does supports better than S3D. (IMO)

    DLC



  • s3d with curl upload file without a problem (as long as you keep space and utf8 characters away from the file name 😄 )

    yes, s3d is a joke these days

    no, not all slicers support printing to network (if by "network" we consider RRF and Octoprint)... for e.g. I moved to IdeaMaker from Simplify3D as IM IMHO works better than PS/Slic3r/Cura attm (especially part with supports), IM still does not support printing to RRF/Octoprint 😞 (it does support printing to network but only to raise3d printers).. but is not a dealbreaker for me...



  • @arhi So far as I can see, the IdeaMaker slicer looks like a repackaged and jazzed up Simplify3D. All of the same knobs, just in different places. Except IM actually tells you what gcode programmable parameters are where instead of us having to do string scans to figure them out as with S3D.

    It does somethings I don't understand yet, but with time I can figure out how to optimize.

    Thanks for the tip. I use CURA to do complex supports with the "Tree support" feature, otherwise I use S3D. IM gives me another tool in the toolbox to experiment with since S3D engineers have apparently gone into hiding and are no longer updating the software. Don't get me wrong, S3D is uber powerful and very capable. It is just a bit stale with no updates in well over a year. I am still glad that I have it, and use it all the time.

    DLC



  • @bearer Yeah, but it makes the Duet RepRap firmware throw errors left and right. Still prints, but I like a cleaner interface...

    DLC


  • Moderator

    what errors does it throw?



  • @dlc60 errors while uploading?

    for e.g. in s3d put postprocessing:

    path\to\rrf3.bat "[output_filepath]" 
    

    and rrf3.bat

    @echo off
    
    for %%a in (%1) do (
        set filepath=%%~dpa
        set filename=%%~na
        set extension=%%~xa
    )   
    set if=%filepath%%filename%%extension%
    
    G:\bin\curl-7.50.3-win64-mingw\bin\curl.exe                        "http://ender5.local.lan/rr_delete?name=gcodes/%filename%%extension%"
    G:\bin\curl-7.50.3-win64-mingw\bin\curl.exe  --data-binary "@%if%" "http://ender5.local.lan/rr_upload?name=gcodes/%filename%%extension%"
    
    

    and no errors, everything works as expected



  • @dlc60 said in Simplify3D send gcode directly to Duet 2 Maestro?:

    @arhi So far as I can see, the IdeaMaker slicer looks like a repackaged and jazzed up Simplify3D.

    Yes, very similar. I was told by someone that they started by copying how s3d and then diverged slowly through time .. I like it, the releases do not come out as often as cura/slic3r/ps but it's actively developed. The only thing I don't like is that "preview" don't know about offsets so if your origin is in center of the screen and not left front corner preview does not properly show where your print will be on the bed

    All of the same knobs, just in different places.

    Actually a lot more knobs; IMO organized a little bit better. but yes 😄

    S3D engineers have ...

    you mean s3d engineer. according to glasdoor "review" by ppl that used to be working for s3d there's only one working on the code - the owner.

    S3D is uber powerful and very capable. It is just a bit stale with no updates in well over a year. I am still glad that I have it, and use it all the time.

    I used it a lot 'cause I knew it best, but these days I can't remember last time I started it to do something with it.



  • prety smooth, but i would add the hostname as the second parameter maybe?
    @arhi said in Simplify3D send gcode directly to Duet 2 Maestro?:

    for e.g. in s3d put postprocessing:

    path\to\rrf3.bat "[output_filepath]" ender5.local.lan
    

    and rrf3.bat

    @echo off
    set printerhost=%2
    for %%a in (%1) do (
       set filepath=%%~dpa
       set filename=%%~na
       set extension=%%~xa
    )   
    set if=%filepath%%filename%%extension%
    
    G:\bin\curl-7.50.3-win64-mingw\bin\curl.exe                        "http://%printerhost%/rr_delete?name=gcodes/%filename%%extension%"
    G:\bin\curl-7.50.3-win64-mingw\bin\curl.exe  --data-binary "@%if%" "http://%printerhost%/rr_upload?name=gcodes/%filename%%extension%"
    

    and no errors, everything works as expected



  • yes, that makes sense with more than one rrf3 printer in da house 🙂



  • @arhi said in Simplify3D send gcode directly to Duet 2 Maestro?:

    yes, that makes sense with more than one rrf3 printer in da house 🙂

    are there other printers?! ... you should count yourself lucky there has been a sharp decline in burning people at the stake in recent years 😉



  • @Phaedrux When started I get a message that says "Response too long, seen console", in the console I get:
    File Octopus_full_FastPLA.gcode selected for printing
    Error: Bad command: --------------------------2242fc1e338db141
    Error: Bad command: Content-Disposition: form-data
    Error: Bad command: Content-Type: application/octet-stream

    and when complete, instead of "Print Complete" I get:
    Error: Bad command: --------------------------c6128f590dee1f59--
    Finished printing file 0:/gcodes/Octopus_full_v5.5.gcode, print time was 3h 0m

    DLC



  • show us the script you used? think that was resolved by --data-binary



  • Hi,

    Just out of curiosity why is it desired to send gcode directly from a slicer rather than select the gcode file in DWC?

    My prints take a hour or more to complete. Having to save the file from the slicer and select it in DWC adds maybe 30 seconds. To my mind that is not worth worrying about.

    Like I said, just curious.

    Thanks.

    Frederick



  • given multiple iterations of a part its easy to mess up naming or something; exporting from Fusion/CAD to slicer and straight to printer not only makes the workflow faster it also reduces the possibility to make mistakes?



  • @bearer said in Simplify3D send gcode directly to Duet 2 Maestro?:

    show us the script you used? think that was resolved by --data-binary

    curl -F "file=@[output_filepath]" "maestro/rr_upload?name=gcodes/[output_filename].gcode"
    curl "http://maestro/rr_gcode?gcode=M32[output_filename].gcode"
    curl "http://maestro/rr_disconnect"

    I tried -data-binary, it gave me an error and didn't print. How best to use that option?

    DLC


  • Moderator

    @bearer said in Simplify3D send gcode directly to Duet 2 Maestro?:

    given multiple iterations of a part its easy to mess up naming or something; exporting from Fusion/CAD to slicer and straight to printer not only makes the workflow faster it also reduces the possibility to make mistakes?

    @fcwilt I rarely open DWC at all anymore honestly. Upload from the slicer and then adjust from paneldue if needed. DWC if I need to make config changes or something more complicated. The PC or laptop I'm slicing on is rarely near the printer itself.



  • @Phaedrux said in Simplify3D send gcode directly to Duet 2 Maestro?:

    @fcwilt I rarely open DWC at all anymore honestly. Upload from the slicer and then adjust from paneldue if needed.

    Ah... I did not think about that.

    None of my printers (current or past) had local panels - much preferred using the computer dedicated to printing - a central place to monitor all printers. Not to mention being able to check from any computer, tablet or mobile phone in the house.

    Thanks for the feedback.

    Frederick



  • @dlc60 said in Simplify3D send gcode directly to Duet 2 Maestro?:

    How best to use that option?

    like shown in the linked thread and the batch file arhi posted. posting the exact error you get may help identify whats causing it to not work for you.


Log in to reply