Jump to content

differences between preview and gcode


killrob

Recommended Posts

Posted · differences between preview and gcode

hi all,

i've noticed that in preview Cura starts from layer 1 but in gcode starts from 0, i use a lot the "changeatZ" script that still start from 0.

The issue is this one... i want to make a change from layer 4 according to what i see in preview, but the change will start from layer 5

 

preview----gcode

---1-------------0

---2-------------1

---3-------------2

---4-------------3   here is were i want do the change according to preview

---5-------------4   but here is where the change will be done

 

you got the point?

if i want to make the change at the exact layer i want, i have to remember to subtract 1 from layer's preview.

  • Link to post
    Share on other sites

    Posted · differences between preview and gcode

    "...i have to remember to subtract 1 from layer's preview"

    100% correct.

    This was my first request for a feature change over on GitHub and the team (or a contributor) took a look at it.  I won't rehash it here but it turned out that this is far from an easy change.  I have 17 slicers installed and as far as I can tell, most slicers start layer numbering in their gcode at 0 (the exceptions are Simplify3D which starts at 1, and PrusaSlicer which doesn't appear to number the layers and just notes the Z height(?)).  Subsequently, you can't open a PrusaSlicer or Symplify3D gcode file in Cura as it won't display correctly.

    I filed it under "Know thy software".

    • Like 1
    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 the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...