Jump to content

Is there any direct way or single step of slicing to 3D print object with different layer heights at different object height?


Recommended Posts

Posted · Is there any direct way or single step of slicing to 3D print object with different layer heights at different object height?

 

I would like to slice a pyramid such that I want a layer height of 0.2 mm for first half of the total height (base) and 0.1 mm for the remaining half (Top) of pyramid for smooth layers.

 

Note: I have tried Adaptive layers technique but that’s not what I want.  I have seen that I am only able to change some parameter like infill, line width etc. with the help of Support Blockers option.

 

It would be very helpful if you let us know if this option is available here in Cura. If yes, also please inform me how to use it.

  • Link to post
    Share on other sites

    Posted · Is there any direct way or single step of slicing to 3D print object with different layer heights at different object height?
    1 hour ago, technicalworld said:

    It would be very helpful if you let us know if this option is available here in Cura.

    No, what you ask for is not available in Cura.

  • Link to post
    Share on other sites

    Posted (edited) · Is there any direct way or single step of slicing to 3D print object with different layer heights at different object height?

    It can be done outside of Cura by combining two gcode files.  In the image below, the bottom (on the right) was at 0.2, the mid portion at 0.1, and the top portion at 0.3 layer heights.  For that print I got fancy and combined 3 gcode files.

    My little system for doing this involves using "Pause At Height".  It requires a bit of practice but it's tedious and nervous rather than difficult.

    There are a couple of rules to keep this from being overly confusing when you are starting out:

    Don't use Adaptive Layers in either file.

    Don't use Z-Hops in either file.

    Supports can make this either very difficult or impossible.

    DSCN2954.thumb.JPG.29bcbe651525991e49fadb7b5fa03bfd.JPG

    If your pyramid is 100mm tall then:

    Sliced at 0.2 that would be 500 layers.  Put in a Pause at Height at Layer 250.  Save the Gcode.

    Slice it again at 0.1 layer height (now it is 1000 layers) and change the Pause to Layer 500.  Save the Gcode.

    One of the things that Pause at Height does is to generate some Transition code so the print starts smoothly after a pause.

    Copy everything in the base 0.2 file up to the pause line in the gcode.  Paste all of that into a new text file.

    Copy everything in the top 0.1 file from the pause line down to the end of the file.  Paste all of that to the end of the new text file.

    Here are the last few lines of the Base file, followed by the Transition code, then the top file starts.  This is what you want the transition area of code to look like (but with your numbers):

    G0 F600 X111.553 Y126.1 Z50.2 ;Base file last Z move.  The last layer went down at 50.0 and there was no retraction.
    G0 F9000 X111.628 Y126.3
    ;TIME_ELAPSED:3002.611472
    ;TYPE:CUSTOM
    ;added code by post processing
    ;script: PauseAtHeight.py
    ;Transition Code
    G0 Z51.2      ;Move up 1mm above the print
    G0 X111.642 Y126.3      ;Move to the X Y resume position for the Top print (this line is actually added by PauseAtHeight.)
    G0 Z50.1      ;Drop to the print height of the Top Print
    M82      ;Absolute Extrusion.  For some files this might be M83.
    G92 Z50.1      ;Sometimes the Z must be adjusted like when the base is at .1 and the top is .2.
    G92 E3389.47137      ;Sync the E to the Top print
    G1 F1800 E3389.47137      ;If the base print ended with a retraction and the top print starts without a prime then it might need to be primed here.
    ;End of Transition Code
    ;LAYER:500
    ;TYPE:WALL-INNER
    ;MESH:X-Y Ref Block.stl
    G1 F2668.8 X111.701 Y126.05 E3389.47564      ;First extrusion of the top file

     

    Save the new text file as your third gcode file.

     

    The two files can be combined with some copy and pasting and just 7 lines of gcode.

    The base file ends, move the nozzle up, move the nozzle to the start of the first extrusion of the top file, drop down to one layer thickness above the print, adjust the Z if necessary using G92 and adjust the E using G92.

     

     

     

    Edited by GregValiant
    • 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.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
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...