Jump to content
Ultimaker Community of 3D Printing Experts

differences between preview and gcode


killrob
 Share

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
     Share

    • Our picks

      • Ultimaker showcase | April 2022 | 4pm CEST | 10am EDT
        I'm excited because I've personally produced this showcase event, so if you are curious what else I'm up to nowadays, come check it out and say hi in the chat! It would mean a lot! 
        • 4 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
        • 12 replies
    ×
    ×
    • Create New...