Giter VIP home page Giter VIP logo

Comments (6)

fieldOfView avatar fieldOfView commented on August 16, 2024

it made a real hash of things

Could you elaborate? What went wrong?

from cura-sidebarguiplugin.

GregValiant avatar GregValiant commented on August 16, 2024

That was my technical explanation of what I saw in my quicky initial comparison of the two gcode files (contained in the zip file). I just took another look.
I use the plugin "Show Progress" and it was active when the PreSave file was created. In the PostSave file, a new set of M117 lines was added and they are all in Layer:0.
The PreSave file contains 219930 lines. The PostSave file contains 220349 lines. The difference of 419 is right there with the number of layers (417). Those two items lead me to believe it was the Show Progress plugin that caused the problem.
When reading the files into AutoCad, the wireframes look identical so it appears that the Gcode itself remains unchanged.
It's likely that my initial response was over-blown. Please delete the term "made a real hash of" and replace it with "changed".
It does appear that the plug-in was the issue.
I do think that if a Gcode file is opened in Cura that it should be read-only.

from cura-sidebarguiplugin.

fieldOfView avatar fieldOfView commented on August 16, 2024

Thanks for elaborating.

I use the plugin "Show Progress"

Is this a plugin or a post processing script? Do you have a link for me?

Normally for postprocessing scripts, there is comment added in the gcode that is checked before the postprocessing is applied again, for this exact reason. Once a postprocessing script is run on the gcode, it will not be run again on the same gcode.

I do think that if a Gcode file is opened in Cura that it should be read-only.

I agree that the sidebar should not let the user edit the settings, because Cura cannot reslice from the gcode alone. However it should be possible to print the gcode, and in Cura printing and saving are "the same thing" so I can't really disallow saving and not disallow printing.

from cura-sidebarguiplugin.

GregValiant avatar GregValiant commented on August 16, 2024

https://github.com/louiswouters/3D-Printing/search?q=show+progress&unscoped_q=show+progress

Originally I had requested an option that Cura start numbering a gcode file from layer 1. I do a lot of "pause at height" to make color changes and it is always a bit clumsy trying to remember if I should add a number or subtract a number when going from Gcode to Cura (or vice versa). That postprocessor had issues when loading a Gcode file that started at 1 and so it was abandoned.
A second request was that the LCD display the layer number. It's easy enough to figure out from the Z height, unless the layer height is an odd number like .17. Louis wrote a second postprocessing script that shows the Cura layer numbers on the LCD as well as the time remaining for the print. He called that one "Show Progress". I don't know if it's an official script. I use it because now when I get out of my chair, my calculator doesn't fall out of my lap.

from cura-sidebarguiplugin.

fieldOfView avatar fieldOfView commented on August 16, 2024

Ok, it is a postprocessing script. It should not be able to run twice on the same gcode; I'll see what is going on.

from cura-sidebarguiplugin.

fieldOfView avatar fieldOfView commented on August 16, 2024

The part of this report that can be fixed with this plugin is fixed and the fix is available from the Marketplace. So this issue can be closed.

from cura-sidebarguiplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.