Jump to content
Ultimaker Community of 3D Printing Experts
discostu

Plugin ShowLayer

Recommended Posts

Hello,

I've created a plugin today which displays the current Printlayer on the Ulticontroller. It works with the UM1 and the Ulticontroller so far. I don't know if it also works with the UM2, since i don't know how the display on the UM2 works.

Can someone test this?

I have created also a small wiki page where you can find the plugin.

http://wiki.ultimaker.com/CuraPlugin:_Showlayer#Showlayer

If you have problems or questions just ask. It is my first python program.

Share this post


Link to post
Share on other sites

Just, noticed that it does not work with multiple objects.

I am working on a fix for this problem.

Edit: Okay, multiple objects work with the first version too. But there will be a display error.

I think it works also with the UM2. For this, however, the GCode Flavor must be switched to REPRAP. Because with the UltiCode there is no command to print a message on the display.

Share this post


Link to post
Share on other sites

Can someone test this?

 

 

Works ok on my UM1 with a single object. What's the meaning of the dot at the end? Seems unnecessary to me.

edit: Renewing the display leads to significant flackering on my Ulticontroller (once per layer). Do other UM1 users have the same effect or is it due to the fact my UM1 might be a bit more busy due to additional step calculation caused by different stepper drivers?

 

Share this post


Link to post
Share on other sites

Do you have the dot by the first object?

It is strange at my printer. At the first object the dot is missing and comes only at the second. If I remove the dot, a number is missing from the first object. Everything looks good in the gcode.

The display flickers for me too.

Share this post


Link to post
Share on other sites

Yes, the print I referred consisted only of one object. Don't worry too much, it's just a detail.

The flickering comes from total refresh of the display for M117 commands (Marlin internals). I may have a test what would happen if the display is only partially refreshed for a M117.

 

Share this post


Link to post
Share on other sites

Hmm okay could you test this version?

https://raw.githubusercontent.com/DiscoStuLikesDiscoMusic/3D_Printing/master/Cura_Plugins/ShowLayer.py

If I use this version, a number is missing at the end.

I probably need to reflash the firmware of the Ulticontroller.

 

This one displays the text as it should. All numbers are present (tested only with 3 digits) and no dot at the end... :)

 

Share this post


Link to post
Share on other sites

@DiscoStu:There is something you may improve... if a cutoff is used, the layer number is not adjusted...

 

Do you mean the total number which is no longer correct?

The problem is that this number already is wrong in the gcode. If you are using a cutoff, look to the end of the code. There are a few empty layers.

 

Share this post


Link to post
Share on other sites

Do you mean the total number which is no longer correct?

The problem is that this number already is wrong in the gcode. If you are using a cutoff, look to the end of the code. There are a few empty layers.

 

I know... just meant that your plugin might be more clever than even Cura itself... ;)

 

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

×

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!