Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  

Can't load Netfabb .gcode with pronterface

Recommended Posts

Hi there

I want to test the slicing with Netfabb and try to load the generated .gcode (this) with pronterface but on the commandline I get this error:

0 mm of filament used in this print
the print goes from 5.01 mm to 12.24 mm in X
and is 7.23 mm wide
the print goes from 197.81 mm to 200.0 mm in Y
and is 2.19 mm wide
the print goes from 0.0 mm to 49.93 mm in Z
and is 49.93 mm high
Exception in thread Thread-1:
Traceback (most recent call last):
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 483, in run
   self.__target(*self.__args, **self.__kwargs)
 File "./Printrun/pronterface.py", line 1492, in loadviz
 File "/Applications/3D/cura/Printrun/pronsole.py", line 143, in estimate_duration
   moveduration = currenttravel / f
ZeroDivisionError: float division by zero

Any ideas what I did wrong? Thanks.


Share this post

Link to post
Share on other sites
looks like NetFabb generated a feedrate of zero somewhere. Could you check if there is an "F0" somewhere in your netfabb generated GCode?

He shouldnt check, you should make sure it will never turns to 0, because that will mean it will freeze the machine :p

I'm pretty sure I do not control the GCode generater in NetFabb ;-)

But it's a bug in PrintRun. It uses 0 as default feedrate when you haven't got a feedrate yet. And you have a "G1 E0" before any feedrate setting in your start code. Which causes a move time calculation with a zero feedrate. I've fixed it for the next version.

Share this post

Link to post
Share on other sites

A quick fix would be indeed to remove the G1 E0, or put an F300 behind it so it has a feed rate.

My next version is ready when it's ready :p I'll announce it on the forums. RC2 is only a week old right now. And has only 2 bugs that I know off (first run wizard problems, first layer of support has too little material). There are a bunch of new features in the work, the project planner being the biggest of them all.

Share this post

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
Sign in to follow this  


  • Our picks

    • Architect Design Contest | Vehicles.
      We're open for entries! - Design and submit your 3D designs of architectural entourage - vehicles - for a chance to win a large filament pack. Presenting an idea, an architectural design or something as big as an urban project isn't easy. A scaled model can really help to get your idea across.
        • Like
      • 14 replies
    • What The DfAM?
      I'm Steve Cox, an experienced engineer familiar with 3D printing. I wanted to share some DfAM guidelines with this community to help and make stronger parts.
      I'm also an Autodesk Certified Instructor for Fusion 360, so many of the images in ...
        • Thanks
        • Like
      • 18 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!