Jump to content

hpek

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by hpek

  1. I made a perl script to visualize the seam. I am posting it here, just if someone else can find it useful. The script takes gcode as input and output new gcode. Load the new gcode in Cura - do not send this new gcode to your printer.

    Old feature request:

    https://github.com/Ultimaker/Cura/issues/2287

    Example output:

    488007942_Screenshot2020-05-03at19_49_49.thumb.png.8edd65c48d922f521d4cd59b6807b4f9.png1870688545_Screenshot2020-05-03at19_48_13.thumb.png.98d4ef63f0d89f261d93db60dbdad148.png

    Terminal usage example:

    cat Vise_Handle.gcode|./visualizeSeam.pl>Vise_Handle_Seam.gcode

     

    Script:

     

    #!/usr/bin/perl

    $inOuterWall = 0;
    $isTraveling = 0;
    $isFirstLine = 1;
    while(<STDIN>)
    {

      if(/^;TYPE:WALL-OUTER/){$inOuterWall = 1; $isFirstLine = 1; $_ = scalar <STDIN>;}     #Enter outer wall
      if(/^;TYPE:/ && !/^;TYPE:WALL-OUTER/){$inOuterWall = 0;}                              #Exit outer wall
      if(/^G0/){$isTraveling = 1;}                                                          #Traveling
      if(/^G1.*X/ && $inOuterWall && $isTraveling){$isTraveling = 0; $isFirstLine = 1;}     #New part of outer wall

      if($inOuterWall && $isFirstLine){
        print ";TYPE:SKIRT\n";
        print "G91\n";
        print "G0 X0.1 Y0.1\n";
        print "G1 X-0.2 Y0.0 E1\n";
        print "G1 X0.0 Y-0.2 E1\n";
        print "G1 X0.2 Y0.0 E1\n";
        print "G1 X0.0 Y0.2 E1\n";
        print "G90\n";
        print ";TYPE:WALL-OUTER\n";
        print $prevPrevLine;
        print $prevLine;
        print;
        $isFirstLine = 0;
      }
      else{print;}

      $prevPrevLine = $prevLine;
      $prevLine = $_;
    }

     

  2. Ok thanks - it makes sense now.

    Only thing that is strange and unintuitive is that you can search for them in the print settings list, only to find the category they belong under. I guess that it is also strange that they can be set to visible in the settings, without any explanation why they will not be visible.

  3. 948240793_Screenshot2020-04-05at20_45_16.thumb.png.6e731f01c60ac8b70d5ccc65a536d039.pngI have all settings shown, but I can still not see the "Drop Down Support Mesh" setting:

     

    image.png.01805f8c7d2cf409cc053b35c868fce7.png

    I can see that the search "support mesh" exist under "Support" and "Special Modes" (they are not just collapsed).

     

    In preferences, I can find

    "Drop Down Support Mesh" under "Support" and

    "Support Mesh" under "Special Modes". They should both be visible, but they are not.

    39313570_Screenshot2020-04-05at20_54_50.thumb.png.ca52f8ef10e8785c941e921d71429eb1.png

     

    I do not understand this message:

    883119317_Screenshot2020-04-05at20_56_54.png.ab79669d895a7f1231e08211dfe2105a.png

    I can not change the value of "Support Mesh", as this setting is also hidden - without possibility of making it visible. Any idea of what is happening?

     

    Screenshot 2020-04-05 at 20.45.16.png

×
×
  • Create New...