Permalink
Commits on Jan 24, 2015
  1. @rsaxvc

    Merge pull request #10 from sjjf/gcode-cleanup-2

    Gcode cleanup 2
    rsaxvc committed Jan 24, 2015
Commits on Jan 23, 2015
  1. @sjjf

    Comment cleanup.

    sjjf committed Jan 23, 2015
  2. @sjjf

    Greatly improved implementation of g-code processing.

    This code includes a much more complete implementation of g-code processing,
    capable of handling a much broader range of g-code commands, properly handling
    the g20/g21 metric/imperial specification, proper handling of comments, proper
    handling of multiple commands on a single line (most often the meta-commands)
    and most importantly proper handling of the g2 and g3 circular arc commands.
    
    Circular arcs are implemented using up to four successive bezier segments to
    give a close approximation of circular arcs up to a full circle. Clockwise and
    anticlockwise arcs are properly handled.
    
    Not properly implemented at this point is support for alternative methods of
    specifying the arc center (the current code supports an ij vector from the
    current point to the arc center), relative versus absolute positioning, and
    the more obscure commands that g-code can include.
    
    In addition, I have added a number of additional g-code test files that have
    been used for testing during the development process.
    sjjf committed Jan 23, 2015
Commits on Jan 2, 2015
  1. @rsaxvc

    Merge pull request #8 from sjjf/timing-fixes

    Timing fixes (v2)
    
    Adds some 170mS delays between commands. Seems to be required on newer firmwares.
    rsaxvc committed Jan 2, 2015
  2. @sjjf

    Modified delay() to support win32.

    Also moved other users of usleep() to use delay(), to hide the platform
    dependent code.
    sjjf committed Jan 2, 2015
Commits on Jan 1, 2015
  1. @sjjf

    Fix for timing issues in initial setup.

    When initialising the USB connection we send a stop/start sequence very
    quickly. This papears to confuse the device, leading it to stop responding to
    commands sent via USB. This patch introduces a fix for this problem, by
    inserting a delay before writing the stop and start commands. At the moment
    some trial and error has suggested a delay of 170ms, but this  may need to be
    changed with more testing.
    sjjf committed Jan 1, 2015
Commits on Dec 30, 2014
  1. @rsaxvc

    Document the !RNG

    rsaxvc committed Dec 30, 2014
Commits on Dec 1, 2014
  1. @rsaxvc

    Correct packing attribute

    This was suggested by steinigen and calimero2312
    
    __packed__ was working on debian8's GCC, but not
    on ubuntu 13.10.
    
    Type: Bug Fix
    rsaxvc committed Dec 1, 2014
  2. @rsaxvc

    Correct packing attribute parentheses

    How did this work before? Or, when did the syntax change?
    
    Type: Bug Fix
    rsaxvc committed Dec 1, 2014
Commits on Feb 26, 2013
  1. @rsaxvc

    Remove unused variables

    rsaxvc committed Feb 26, 2013
  2. @rsaxvc

    Add more needed headers

    rsaxvc committed Feb 26, 2013
  3. @rsaxvc
  4. @rsaxvc

    Add some includes

    rsaxvc committed Feb 26, 2013
Commits on Feb 14, 2011
  1. @rsaxvc
Commits on Feb 13, 2011
  1. Brought in support for GCODE, as adapted from http://sites.google.com…

    …/site/drbobbobswebsite/cricut-gcode-interpreter
    
    who was the first to do GCODE on Cricut, and in python. If I knew python, I would port his code to the python interface
    for libcutter. Maybe later.
    rsaxvc committed Feb 13, 2011
Commits on Oct 8, 2010
  1. Made draw_svg interface with hardware.

    Moved draw_svg to draw_svg_cv, a simulator
    rsaxvc committed Oct 8, 2010
Commits on Oct 2, 2010
  1. Added missing include

    rsaxvc committed Oct 2, 2010
Commits on Sep 19, 2010
  1. @rsaxvc

    Removed OpenCV References

    rsaxvc committed Sep 19, 2010
  2. @rsaxvc

    Moved to SDL

    rsaxvc committed Sep 19, 2010
  3. @rsaxvc

    removed print messages

    rsaxvc committed Sep 19, 2010
  4. @rsaxvc

    Added example curve keys.

    Made keys incremental.
    rsaxvc committed Sep 19, 2010
  5. @rsaxvc
Commits on Sep 7, 2010
  1. Added support for BIG_ENDIAN and PDP_ENDIAN.

    rsaxvc committed Sep 7, 2010
Commits on Sep 6, 2010
  1. Added SVG Tests

    rsaxvc committed Sep 6, 2010
  2. Fixed code formatting.

    rsaxvc committed Sep 6, 2010
  3. Brought in some code from libsvg-cairo to do arc rendering

    through bezier approximation.
    rsaxvc committed Sep 6, 2010
  4. Added bezier curve

    rsaxvc committed Sep 6, 2010
Commits on Sep 5, 2010
  1. Added ellipse support.

    rsaxvc committed Sep 5, 2010
  2. SVG drawer. Supports lines right now.

    rsaxvc committed Sep 5, 2010
  3. Set DPI back to something reasonable

    rsaxvc committed Sep 5, 2010
  4. Added draw_svg

    rsaxvc committed Sep 5, 2010