Giter Site home page Giter Site logo

Comments (10)

gb0101010101 avatar gb0101010101 commented on August 19, 2024 1

Just pulled and tested v0.919. View/Edit numbering now matches Goto feature. Tested using a few long ~35K line files and it worked throughout as expected.

This issue is resolved for me. Leaving it open so that @thejobbitt can confirm the fix.

from webcontrol.

madgrizzle avatar madgrizzle commented on August 19, 2024

Ah, I bet because of the list index. Relatively easy to fix. Thanks for finding.

from webcontrol.

thejobbitt avatar thejobbitt commented on August 19, 2024

I have had this issue as well but it is off by -2.

I am also confused by the "Goto line number" function. I have tried running gcode from a line number where the machine left off, but it only runs the line number that is entered and maybe one or two more lines then stops. I'm assuming it is supposed to run through the rest of the file?

from webcontrol.

madgrizzle avatar madgrizzle commented on August 19, 2024

It's supposed to run through it all.. can you send the gcode to masgrizzlemaslow at gmail dot com?

from webcontrol.

gb0101010101 avatar gb0101010101 commented on August 19, 2024

but it only runs the line number that is entered and maybe one or two more lines then stops. I'm assuming it is supposed to run through the rest of the file?

Had the same problem and figured it out - don't know if it can be easily fixed. Basically you cannot just open a gcode file, goto a line number far down in the file, and start from there. That is because the first few lines of gcode setup the machine and need to be run. What I did was add tool change directly after the first setup lines before any movement takes place. I then open the file, Run it, it pauses on the tool change, goto a line line number, then resume.

Perhaps it would be possible for WebControl to detect the first few line of code, before a movement is made and ask if you want to run it before starting/resuming a file from a set number that is not the beginning of the file?

from webcontrol.

davidelang avatar davidelang commented on August 19, 2024

from webcontrol.

madgrizzle avatar madgrizzle commented on August 19, 2024

Send me the file.. what you are describing is exactly what I tried to accomplish.

from webcontrol.

gb0101010101 avatar gb0101010101 commented on August 19, 2024

I have created a new issue #56 for "Cannot 'Play' gcode file from specific line number when using 'Goto' input box" as mentioned by @thejobbitt and also experienced by myself. Hopefully we can keep these issues separate.

@madgrizzle I have sent email with gcode file that experienced both issues mentioned here.

from webcontrol.

madgrizzle avatar madgrizzle commented on August 19, 2024

Regarding index.. I've fixed the indexing so it corresponds with what you see in view/edit gcode screen. A "problem" still exists in that webcontrol, which uses routines from ground control, modifies the file to clean it up. It strips all blank lines, puts spaces between gcode commands, makes gcodes uppercase, etc. So there won't be a 1:1 relationship with the original file. Is it possible that the -2 issue could have been due to a blank line in the file being filtered out, @thejobbitt?

from webcontrol.

gb0101010101 avatar gb0101010101 commented on August 19, 2024

A "problem" still exists in that webcontrol, which uses routines from ground control, modifies the file to clean it up.... So there won't be a 1:1 relationship with the original file.

The View/Edit window is displaying the cleaned version, with blank lines stripped out, on version 0.918. If this is the same gcode that is used by the Goto feature then I don't think there is a problem. It does not need to correspond to the original file just as long as the cleaned version is used everywhere in WebControl. It makes sense that the user should see the cleaned version in View/Edit if that is the gcode that WebControl is using to drive the Maslow.

Thanks for the fix. I will test it out soon. Almost got my IDE setup.

from webcontrol.

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.