Giter Site home page Giter Site logo

jgphilpott / polyslice Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 464 KB

An FDM slicer designed specifically for three.js

Home Page: https://jgphilpott.github.io/polyslice/serial/browser/sender.html

License: MIT License

CoffeeScript 26.71% HTML 9.80% JavaScript 54.54% Python 0.26% CSS 8.69%
gcode gcode-generation slice slicer slicing fdm fdm-3d-printing

polyslice's Introduction

polyslice's People

Contributors

jgphilpott avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

polyslice's Issues

Add G-code streaming feature upon file upload

Is your feature request related to a problem? Please describe:

Yes. For some firmware types, such as Marlin, file uploads don't work as expected. I observed that when I send an entire G-code file at once only the first 8 commands actually get executed. After some research I discovered that this is because the Marlin firmware will only queue 8 commands at a time, the rest of the commands get discarded because they arrive before the printer has had time to run the commands it has already received. I believe the queue limit can be increased but doing so has a negative impact on the printers overall performance because it uses up memory so I don't want that to be the solution. For more detail read this comment on issue #2.

Describe the solution you'd like to see:

It would be great to develop a streaming function that will send the commands one at a time, only sending the next one after the previous one has been executed.

Describe alternatives you've considered:

N/A

Additional Information:

This can be done by proceeding the file with a M111 S1 command.

Response data comes in small/short chunks making it hard to read

Description:

With some machines, the response data comes in small/short chunks making it hard to read in the output log. See this comment by @moof-moof for more detail.

Reproduction:

The ability to reproduce this issue will depend on what machine you are using but in general, follow these steps:

  • Connect to the device.
  • Send some sample G-code commands.
  • Observe the output log.

Expected Behavior:

The output contains longer more readable text.

Screenshots:

See here.

Environment:

Please include the following information:

  • Device: Custom 2D CNC machine with an Arduino Uno
  • Firmware: GRBL
  • OS: Linux Ubuntu 20.04
  • Browser: Chrome
  • Version: 124.0.6367.60

Extra:

Add any other information about the problem here.

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.