Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Jackal
    • Profile
    • Following 0
    • Followers 1
    • Topics 11
    • Posts 216
    • Best 3
    • Controversial 0
    • Groups 0

    Jackal

    @Jackal

    4
    Reputation
    10
    Profile views
    216
    Posts
    1
    Followers
    0
    Following
    Joined Last Online
    Location Hong Kong

    Jackal Unfollow Follow

    Best posts made by Jackal

    • RE: M98 not working "macro file not found"

      Try [c]M98 P/macros/test[/c]

      posted in General Discussion
      Jackalundefined
      Jackal
    • RE: Overhangs

      @theruleslawyer Some slicer allow you to set a minimum layer time so that it will slow down the print, there may also be an option to set a percentage of minimum printing speed on top of that since a very slow print may lead to the hotend staying too long at a spot.

      posted in Tuning and tweaking
      Jackalundefined
      Jackal
    • RE: Panic stop

      http://reprap.org/wiki/G-code#M581:_Configure_external_trigger
      You can try using this to set up triggers and corresponding g-code to achieve what you need.

      posted in General Discussion
      Jackalundefined
      Jackal

    Latest posts made by Jackal

    • RE: Read total layers from gcode

      @siam I believe what it means is that the current layer number is read from the file, but it does not say the 'total number of layers' is read from the file.

      If I haven't read from the wrong branch of code, here is what's in RFF for reading number of layers

      unsigned int GCodeFileInfo::GetNumLayers() const noexcept
      {
      	if (layerHeight <= 0.0) { return 0; }
      	const float nl = (firstLayerHeight > 0.0)
      						? (objectHeight - firstLayerHeight)/layerHeight + 1
      							: objectHeight/layerHeight;
      	return (unsigned int)lrintf(max<float>(nl, 0.0));
      }
      
      posted in Firmware wishlist
      Jackalundefined
      Jackal
    • RE: Read total layers from gcode

      @siam Are you sure? I am printing a file with 295 layers but DWC is showing total of 140 layers. I am using RRF 3.3RC2.

      First layer height 0.2 and total height is 27.980, which sounds like it calculated total layers from that.

      posted in Firmware wishlist
      Jackalundefined
      Jackal
    • Read total layers from gcode

      I believe RRF currently uses object height, first layer height and layer height to calculate total number of layers. However it is not incorrect for variable layer height prints.

      Some slicers (at least in PrusaSlicer and Cura but not Kisslicer) can output total number of layers in the gcode file, will it be possible for RRF to parse that similar to reading other info from file?

      posted in Firmware wishlist
      Jackalundefined
      Jackal
    • RE: Not getting layer information during print

      I can now get the current layer, but it is reporting the wrong total layers since I am using variable layer height.
      Found [total_layer_count] in prusaslicer placeholder but don't know what keyword RRF use to read total layers.

      update: Looked through the source code and it seems that it is currently calculated instead of directly reading from the file.

      posted in General Discussion
      Jackalundefined
      Jackal
    • RE: Not getting layer information during print

      @jay_s_uk
      Thanks, will try that when I get home.

      posted in General Discussion
      Jackalundefined
      Jackal
    • RE: Not getting layer information during print

      @phaedrux test.gcode

      I haven't tried the E after ; thing yet, but everything used to work fine with the same start and end gcode.

      posted in General Discussion
      Jackalundefined
      Jackal
    • RE: Not getting layer information during print

      @phaedrux The layer change portion looks like this

      ;LAYER_CHANGE
      ;Z:0.6
      ;HEIGHT:0.2
      G1 Z0.600 F12000.000
      G1 X-0.799 Y92.614
      ;TYPE:Perimeter
      ;WIDTH:0.45
      G1 F1800.000
      
      posted in General Discussion
      Jackalundefined
      Jackal
    • Not getting layer information during print

      I am using RRF and DWC 3.3RC2 on my Duet 2 Wifi, but I think my problem is more related to slicer rather than the firmware.

      I haven't been able to see the layer time or current printing layer for some time though the prints are fine (sliced with Prusaslicer). Have tried searching for related topic but all I found is putting E after ; in the gcode to exclude it from layer count.

      I remember seeing posts on what RRF actually reads in the gcode to determine layer info but couldn't find it anymore (keyword probably too generic). Can someone tell me again what syntax is required so I can put it in the custom layer change g-code

      posted in General Discussion
      Jackalundefined
      Jackal
    • RE: [3.3-rc1] Sensor issue with M308

      @dc42 It's now working with 3.3RC1+1. Thank you.

      posted in Beta Firmware
      Jackalundefined
      Jackal
    • RE: [3.3-rc1] Sensor issue with M308

      @dc42 Thanks for the quick follow up.

      posted in Beta Firmware
      Jackalundefined
      Jackal