Git Product home page Git Product logo

gcodeview's People

Contributors

ceterumnet avatar t-paul avatar traumflug avatar triffid 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gcodeview's Issues

Read extrusion width from gcode header

Read the extrusion width from the gcode header instead of having it hard-coded.
For slic3r the relevant parts of the header are these:
; generated by Slic3r 0.6.1-dev on 2012-02-14 at 21:20:52 [...] ; single wall width = 0.37mm

Dies if no layer can be detected

I've thrown one of my PCB milling files onto it and it dies without a window appearing:

$ ./gcodeview Gen7Board-production-back-030.cnc
Indexing lines... 0 layers OK
Scan: realloc layer failed: Success

While I'm not aware of a working G-code viewer for Linux and having one would be really useful for me, I'm not so keen on working on yet another RepRap related project, so no patch by me for now. I can email you the G-code, though.

Clarifying build dependencies for Linux

On Ubuntu 10.10 I installed the following packages through apt-get to get the build running:
libsdl1.2-dev
ftgl-dev

Presumably I was in good shape for already having install build-essential a while back. libsdl pulled a few things in with it, so I'm not sure if I grabbed too much. On first make attempt I didn't have the OpenGL dependency, but after installing the two packages listed above I apparently had it.

Can't Compile

I cant get this to compile on any of my systems, maybe an image of it running in the readme would be nice.
I tried it on latest OSX and Linux and it cant find SDL.h

sparse moves on layer boundary

I generate gcode in python and print it. gcodeview seems to have a bug dealing with sparse moves (moves with not all axes specified) across the layer boundary.

For example:

G1 X70.000 E64.86318 F3000.0 ; 10.00mm
G1 X60.000 F13500.0
G1 X50.000 E64.99540 F3000.0 ; 10.00mm
G1 Z0.60000 F6000.0 ; layer 3  
G1 F13500.0
G1 Y150.000 E66.31762 F3000.0 ; 100.00mm
G1 X60.000 E66.44985 ; 10.00mm  
G1 Y50.000 E67.77206 ; 100.00mm
G1 X70.000 E67.90429 ; 10.00mm  

The first move of layer 3 is to "X50 Y150", but the X50 isn't specified because the print head is already there. With the latest gcodeview this is rendered incorrectly: http://i.imgur.com/zqB0P.png

FYI, the gcode file is me testing out intersecting infill patterns.

SDL 1.3 problems

Compiled okay a few days ago, but today I needed to add:

+#ifndef SDL_NOEVENT
+#define SDL_NOEVENT SDL_FIRSTEVENT
+#endif

to compile with SDL 1.3.0 on Linux.

There is also a segfault on hitting 'r' caused by:

http://forums.libsdl.org/viewtopic.php?t=6953&sid=4ad9b6fa92abc4d5979f8bce00bc0367

which can be hacked around by commenting out the SDL_FreeSurface call in resize(...).

(There may be a good reason for it but while looking at resize(...), it looks a little odd that the #if OPENGL code has a SDL_FreeSurface call but the #else doesn't.)

Regards,
Mark.

Still the Best. Thanks. (Not really an issue.)

I went looking for a standalone gcode viewer just recently, having used gcodeview since you wrote it, but not for a few years.

Nobody's made anything that's not web-based or useless from the keyboard. gcodeview still gets the job done, fast and easy. Thanks.

Issues with "make" on debian jessie

Just upgraded to Jessie, was using Debian Wheezy, where gcodeview was working well.
I used git clone, and then once in the directory the command "make" had this output:

cc main.o pkg-config --libs sdl ftgl fontconfig gl -o gcodeview
/usr/bin/ld: main.o: undefined reference to symbol 'hypotf@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [gcodeview] Error 1

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.