Giter VIP home page Giter VIP logo

pgcode's People

Contributors

balthisar avatar kragrathea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pgcode's Issues

Feature request: support drag&drop of files from Fluidd when running as embedded iFrame

I've configured pgcode as a "webcam" within my Fluidd instance. It shows nice, but when I drag&drop the file from File Browser window to PrettyGCode frame, nothing happens.
It would be nice to be able to open files by URL using drag&drop, not just local files.
This can be done by changing drop event handler to not only rely on dataTransfer.files object but also call dataTransfer.getData('text') and check if the result looks like a URL (starts with either http:// or https://).

Support for drag&drop from Fluidd would also require a change on the Fluidd side โ€” for now it does not add file URL to the drag&drop event; I've posted it at fluidd-core/fluidd#1202
But the change I've described will let you to drag&drop any hyperlink to Gcode file (provided that the server gives permissive CSRF headers).

Customize Bed Shape

I have a FLSun Super Racer Delta printer. It would be nice to mimic the bed type I have now.

Error connecting wsock:[object Event]

Hey, I am trying to connect to moonraker/fluidd.

When I add my url and apikey I get this response in the connection log.

Detecting connection on:http://192.168.0.38:7125
Detected Moonraker on:http://192.168.0.38:7125 version:OctoPrint (Moonraker v0.8.0-121-gaebcd00)
getOneShotToken from:http://192.168.0.38:7125
getOneShotToken success
SocketURL:ws://192.168.0.38:7125/websocket?token=apikey
Error connecting wsock:[object Event]
Disconnected from printer

What is going wrong?

out of the bed

i changed my ender 3 v2 size print to get maximum out of the print bed with a probe but now pgcode shows wrong
prettygcode

Feature request: Add Favicon

I created a home screen shortcut for Pretty GCode for my Klipper install and discovered there was no icon. So it would be nice if there was a Favicon added to the site for easy discovery of the tab in chrome, and on an android home screen.

Support for https

Hi,

Great project, thanks :)

I'm running all my moonraker instances behind a central https reverse proxy including pgcode itself (traeffik).
If pgcode is accessed through https, the ws connection to moonraker has to be over wss:// but currently it's hardcoded as ws:// thus failing with:
image

Feature. Zoom to fill on 2d window

When GCode is loaded set the zoom level in the 2d window so the GCode fills the window.

Hey @PrimusNZ. It looks like this feature is going to be somewhat dependent on the slicer. What slicer are you using?

Unable to authenticate to Moonraker

I get the following error the JS console when attempting to connecting to Moonraker in the UI.

Access to fetch at 'http://fluiddpi.local:7125/access/oneshot_token' from origin 'http://fluiddpi.local:7136' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

This is the relevant section from my moonraker.conf file

[authorization]
force_logins: True
cors_domains:
  *.local
  *.lan
  *://app.fluidd.xyz

trusted_clients:
  10.0.0.0/8
  127.0.0.0/8
  169.254.0.0/16
  172.16.0.0/12
  192.168.0.0/16
  FE80::/10
  ::1/128

It looks like it has all the bits based on what is in the README file (fluiddpi.local is 10.10.10.181). Moonraker has force_logins instead of enabled, this was the default moonraker config that was written. I presume this still allows login with an API key, but maybe that's not enabled by default? I plan to try that but printer is currently printing right now, so will need to wait until that's done. Anything else that might be causing this issue I should be aware of?

Flsun Super Racer not printing

I have an FlSun Super Racer that has been functioning normally for the past month. All of a sudden the printer will no longer print or level. Please help.

Support G2/G3 Arcs

Files that contain Arcs are not rendered properly by pgcode. It looks like the renderer attempts to draw a straight line from the start of the arc to the end of the arc, instead of following the path of the curve/arc. This leaves a mess that doesn't particularly resemble the printed part:

image

It's not urgent, but if it's not a lot of effort to properly support, it would be helpful to be able to view printed files with arcs in them as they print. (could make arc resolution settings a configuration option somewhere if needed).

I know that ideally we should not use something like ArcWelder for Klipper prints outside of Octoprint, but I have a few already sliced gcode files run through ArcWelder. that I'd like to use without recreating

moonraker update manager incompatible?

Hi, I tried to setup the moonraker update manager to support pgcode.
I had no sucess...
so asked around some discords and someone told me that moonraker wants a version scheme like v0.0.0

Did you tried it yourself?

Greetings

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.