Code Monkey home page Code Monkey logo

robopaint-mode-remote's Introduction

Remote Print mode

Automatic Painting mode for use by external applications.

Remote Mode

This module is a mode for RoboPaint, the software for drawing robots, and your friendly painting robot kit, the WaterColorBot!

This mode provides an API extension that allows for remote clients to hand RoboPaint an SVG and print it! See API.MD for more details

More documentation to come.


All code MIT licensed. Created by TechNinja, with support and collaboration from Evil Mad Scientist.

robopaint-mode-remote's People

Contributors

docprofsky avatar oskay avatar techninja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

robopaint-mode-remote's Issues

Status stuck on "Printing" but AxiDraw doesn't start

Sample POST to /robopaint/v1/print

{
    "options": {                           
        "name": "Test a line"
    },
    "svg": "<svg viewBox=\"0 0 297 210\" fill=\"none\" stroke=\"black\" stroke-width=\"0.4\" width=\"297\" height=\"210\" xmlns=\"http://www.w3.org/2000/svg\"><g transform=\"translate(40 50)\"><path d=\"M 9.8487654685622, 0.016351604465477076 L 12.15386180881268, -0.08297438623452894 L 13.912046718576933, -0.2313074112477031 L 15.906828880288366, -0.12348446848883397 L 18.033130645759666, -0.29564123160569955 L 19.86607265469294, -0.2599649906763725 L 22.01425657272671, -0.2370134354189535 L 24.161560535468524, -0.032483911521845474 L 25.87558860775912, -0.027399587637605048 L 27.817657852130395, -0.03629150391469977 L 29.880606746645785, 0.21233539586242647 L 32.081382274646636, 0.21693921094223373 L 33.96445360182888, 0.12403035166767201 L 36.161842632331386, 0.11744871142260932 L 38.00618152618552, 0.04743804932745128 L 39.86336412426628, -0.11255965235469854 L 41.861097621885385, 0.2263917446663584 L 43.94054794310139, 0.28234477049725704 L 46.044943809519744, -0.025721597677497564 L 48.14068880084452, -0.18222842220734534 L 49.913608551005275, -0.0015250682834361373 L 52.16855793003192, 0.1698875427641644 L 53.83827676769306, 0.14533925059841463 L 55.94669160841654, 0.20330157284701744 L 57.855023002590755, -0.0971443176495713 L 60.151355361973714, -0.22502832417959073 L 62.09576444628084, 0.25712141996648197 L 63.97340555190421, -0.18831524853322543 L 66.04083805085179, 0.13874258998286504 L 68.02789392471963, -0.1265111446675172 L 70.09020500185206, -0.1842453003358667 L 72.05652971269016, -0.13034276965315053 L 74.1163571357998, -0.29907317168523395 L 75.9147474288742, 0.24977030759904773 L 77.94255733488653, 0.128603696853063 L 79.99023561477433, -0.2840217590993321 L 82.04135055542955, 0.20066442494296105 L 83.82722368236334, -0.15648722652264108 L 85.86041421887009, 0.002247190475987082 L 87.9913264274577, 0.24956574445813096 L 89.98738279342358, 0.14534554484890436 L 91.8318650245275, -0.10374226572544833 L 94.17962522510896, 0.2772037983586089 L 95.93871412275794, 0.2648026943823329 L 97.9858118057218, -0.023628187185066794 L 100.01325082779239, -0.05103907586332389 L 101.96451759337553, -0.13447794917376663 L 104.00095663070701, 0.05324177743244026 L 105.96998138427035, -0.27986426359970684 L 108.00409946441746, 0.12760720255961808 L 109.81086740489371, 0.2929827690806665 L 111.92630033491326, 0.12373867037793124 L 114.12854614260806, -0.227855014854077 L 115.86696510311845, -0.23089828496586956 L 117.9610576629548, 0.016817951206308312 L 120.10768985750798, -0.2100997925293864 L 122.04981107712952, 0.29648265845526073 L 124.00833120346263, -0.2790455818825973 L 125.91487083433077, 0.16998081211233065 L 128.11971464159893, -0.11049413683602916 L 129.8609955787335, 0.1798333168448492 L 132.06464729310588, 0.12316389086729937 L 134.1682509422694, -0.15372962955239453 L 136.17524099354057, -0.29387454993414563 L 137.98909292220816, -0.23391094213209834 L 139.96526279448653, -0.11747817995899314 L 142.17602005008982, 0.23299684529961012 L 144.0056263923658, -0.13195681575032808 L 146.0779720306578, 0.021417760853985734 L 148.0711375236677, -0.059753751768673244 L 149.92075986860337, 0.17821512226439432 L 151.98388309478383, 0.1687615871822372 L 153.89307823178663, 0.08300385477091275 L 156.0769964218319, 0.1324484825442658 L 158.16362857822412, -0.020971441273803692 L 160.18260993961772, -0.15441284183282702 L 162.01978073120577, 0.053466367734006225 L 163.94567680357622, -0.1576499462494743 L 165.82404193874078, -0.052821922314544655 L 167.87614984509446, -0.010251331331732528 L 170.0206750869799, -0.29327459342155476 L 171.85120964046828, 0.2382961750585344 L 173.85167522426966, 0.12221317294105262 L 176.04672136307852, 0.25216856008678873 L 178.0943047523718, -0.1590867519749065 L 180.0146977424656, 0.014070940020976341 L 182.133251285584, -0.13538002970986535 L 183.93174018858275, -0.19856472020004054 L 185.92537994383028, -0.27705631262554237 L 187.8219797133985, -0.2089141846189541 L 190.14933071139953, 0.002530860901468168 L 191.93809795378198, 0.26816368109271016 L 194.13840065005664, -0.28367915160108337 L 195.9860681533781, -0.0638580322414306 L 198.1846887588931, -0.1349834919290113 L 199.97408294677132, 0.27352695471456434 L 202.1518980026599, -0.19254469876004027 L 203.81987771983722, 0.28049626356933643 L 206.027785968787, -0.2291821003493811 L 207.91189012525413, -0.16534194950138728 L 210.00140008926425, -0.15789327625136199\"></g></svg>"
}

I can see the item in the queue. I then ready the machine via RoboPaint, but nothing happens.

Tested with Inkscape and it works well.

Mac OS 10.12.6, latest RoboPaint stable release

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.