Jump to content
UltiMaker Community of 3D Printing Experts

Cura slicer produses wrong dimentions

Recommended Posts

Posted · Cura slicer produses wrong dimentions

Bringing the gcode into AutoCad there are two holes that (if the printer could do it) are 1.00mm diameter.  They are 4.00mm apart.

With a 0.4mm nozzle the width of the part shows as 8.00mm and the length is 20.00mm.

This is your gcode dimensioned.  Remember that the gcode describes the PATH of the nozzle, not the outside edge of the extrusion or the inside diameter of a hole.  So with a .4 nozzle, you would add .4 to the width and length and subtract .4 from the diameter of the holes.



When the printer moves in a circle the liquid filament wants to stay straight and so it pulls into the center of the circle.  That phenomenon is technically known as the "Snot Factor".  The smaller the hole - the worse the effect.  Little holes tend to disappear.


If you use the "Hole Horizontal Expansion" setting at about .2 you will see a difference in the diameter of the printed holes.

Remember that a hole is any vertical feature that has no openings to the outside.  If you were to print a spoked wheel then the axle hole would get bigger, but so would the gaps between the spokes.

  • Link to post
    Share on other sites

    Posted · Cura slicer produses wrong dimentions

    "...why the printed hole spacing is 3 mm instead of 4 mm?"  I think it's between you and the printer.  Some mechanical problem like a loose belt or maybe the steps/mm of the X and Y are off...something.  The printer should be moving to where it is told to go and the gcode commands within the file are spot on for the overall size, the size of the holes, the hole spacing, as well as for the thickness of the piece.

    "if that was true than printed part would have 20.4 mm width"   No.  19.60 + .40 = 20.00 and 7.60 + .40 = 8.00 and for the holes 1.40 - .40 = 1.00.

    I wrote the script for reading a gcode into AutoCad in order to take Cura out of the picture.  It gives a completely independent view of the generated gcode.  That is your "AKP_test.gcode" that you see it that screenshot.  If your printer isn't printing it that way then the problem is in the printer and you would need to dig into that to see what is really going on.


  • Link to post
    Share on other sites

    Posted · Cura slicer produses wrong dimentions
    2 hours ago, GregValiant said:

    I've tested on three different printers with new test.stl and to get 2 mm hole spacing I had to space holes by 2.6 mm...


    But width is still exactly 22mm as designed in cad program...





  • Link to post
    Share on other sites

    Posted · Cura slicer produses wrong dimentions
    1 minute ago, MathewOrman said:

    That is huge error...

  • Link to post
    Share on other sites

    Posted (edited) · Cura slicer produses wrong dimentions

    The error is not in the gcode.  Consider - this is a very basic part of what slicers do.  If Cura couldn't get this right then no one would use it.  Are you printing from an SD card or though Octoprint or some other intermediary?


    I sliced and printed your test STL file.  The gcode indicates that the model is 22.00mm long.  It printed at 22.02.



    I used the 1/2 scale side of the scale because of the finer tic marks.  You can see that the top row holes are about 36.5 apart at 1/2 scale and so at full scale that's 18.25.  18.25/7 hole spaces = 2.607 between the holes.  You designed it to 2.6 and it is indeed 2.6.




    I've attached a 3mf file.  The holes are 1mm dia and the spacing is 2.54mm (0.10 inches) which is the typical spacing on the PCB's and breadboards I use.  Outside is 20.00 x 32.00.

    GV Hole Test.3mf

    Edited by GregValiant
  • Link to post
    Share on other sites

    Posted · Cura slicer produses wrong dimentions

    This is a 4017 chip stuck through the holes in my model and it dropped right in at 2.54 spacing.



  • Link to post
    Share on other sites

    Posted · Cura slicer produses wrong dimentions

    Yes, I apologize had bad caliper measurements...

    Thank you for your expert help...


    May the force be with you...

  • 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.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 30 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.

        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    • Create New...