Jump to content

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

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • 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
          • Heart
          • Thanks
          • Like
        • 7 replies
    ×
    ×
    • Create New...