Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. thehair
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    thehair

    @thehair

    0
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    thehair Unfollow Follow

    Latest posts made by thehair

    • RE: Slic3r PE 'Send to printer'?

      We'll see if we get a response to the most recently opened issue on Github https://github.com/prusa3d/Slic3r/issues/935. I'm not too hopeful that the Prusa version will ever add in support for the Duet. I ended up making a post processing script that uploads the gcode file. The script is basically just the perl code that slic3r usually uses to upload files.

      #!/usr/bin/perl -i
      
      use strict;
      use warnings;
      use LWP::UserAgent;
      use File::Slurp;
      use File::Basename;
      
      # Set up filepath and filename
      my $filepath = $ARGV[0];
      $filepath =~ tr|\\|/|;
      my $filename = basename($filepath);
      
      my $ua = LWP::UserAgent->new;
      my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
      my $t = sprintf("%4d-%02d-%02dT%02d:%02d:%02d",$year+1900,$mon+1,$mday,$hour,$min,$sec);
      
      my $server_endpoint = "http://192.168.X.XX/rr_upload?name=gcodes/$filename&time=$t";
      my $req = HTTP::Request->new(POST => $server_endpoint);
      my $data_file = read_file( $filepath, { binmode => ':raw' } );
      $req->content($data_file);
       
      my $resp = $ua->request($req);
      
      if ($resp->is_success) { 
          my $message = $resp->decoded_content;
          print "Received reply: $message\n";
      }else {  
          print "HTTP POST error code: ", $resp->code, "\n";
          print "HTTP POST error message: ", $resp->message, "\n";   
      }
      

      You'll have to put the address of your Duet where the "XXX" are in the $server_endpoint var. I run all my post processing scripts from a windows bat file which looks sort of like this at the end:

      pause
      perl "C:\Program Files\Slic3r\uploadgcodefile.pl" %1
      del /f %1 
      pause
      

      The bat file uploads the gcode file and then deletes it. The first pause allows me to close the command window to cancel the upload/delete command. The last pause allows me to verify the upload worked.

      This process definitely isn't perfect, but is easier than manually uploading files.

      Xphomegra created this issue in prusa3d/Slic3r

      closed [Request] Add duet/reprapfirmware upload (From slic3r 1.3.0-dev) #935

      posted in Tuning and tweaking
      thehairundefined
      thehair
    • RE: Duet Wifi GCode corruption when downloading over wifi

      I had a similar issue with my GCode files getting corrupted which I ended up attributing to the SD card. The second half of my GCode files would "disappear" after 30-60 minutes of printing. The printer thought that it had finished printing since it reached the end of the file. However this meant that it never got to any of the end GCode, so the print head was just sitting next to the half finished part with all the heaters still on. For me, the file corruption did not happen immediately after upload. I would upload a file and then while it was printing I would periodically download it to verify it was complete. I reformatted the SD card and the issue disappeared.

      posted in General Discussion
      thehairundefined
      thehair
    • RE: Different jerk settings for travel and print moves

      Wouldn't this be more of a slicer thing instead of the duet? The duet has no way of knowing what is a travel move and what is a printing move, other that the fact that one has extrusion and one doesn't. I think all you would need to do is have your slicer insert a M566 command before (and after) a travel move in order to change the jerk setting for that specific move.

      posted in Firmware wishlist
      thehairundefined
      thehair
    • RE: Failed Prints Due to Partially Uploaded GCode

      Are you checking the file size right after uploading? or checking after the print fails? I had an issue a while back where my SD card was corrupting the gcode files while printing. I would upload a file and size would be right. Then part way through printing, the end of the file would get deleted. I reformatted my SD card and haven't had the problem since.

      posted in Firmware installation
      thehairundefined
      thehair
    • RE: Remap heater channel / pin.

      I'm interested in remapping my bed output as well so that I can utilize the bed output for a large fan. I'm pretty new to the Duet and just had a couple clarification questions.

      I have an AC bed running off an SSR. Since the expansion pins are active low, then can i just wire the SSR(-) to the heater pin in the expansion header, and the SSR(+) to the 3.3v in the expansion header? And then remap the bed output to a different channel using the M140 command. Is that all i need to do for the bed? or do i also need to remap the bed thermistor to match the new heater channel?

      posted in Duet Hardware and wiring
      thehairundefined
      thehair