Skip to main content

Inkcut Development Update

Update: This version has been ditched. I didn't like it.  A new one is (actually) coming! See Inkcut live plotting

Here's an update on my recent Inkcut development and plans.

  • Everything has been switched to Gtk3 
  • I've decided to ditch the stand-alone design and instead make it just an extension for Inkscape.
    • It will be installed as a separate .deb package created using quickly that just hooks into inkscape.
    • Note: This limits it to linux for the time being until an easy windows version of GTK3 is released
  • A few UI elements have been made (I don't have access to my home computer right now so I can't show some of them)

Now a quick run through the new plan.
  • Inkcut will be stand-alone as in a separate program, but everything will be accessible directly from Inkscape like below:

  • "Material Setup..." will be a simple dialog that sets the SVG canvas width & height and can edit different media. This is just as a convenience so you can see how it will look before plotting. Different media types will be defined in a separate materials.xml file
  • Material Setup Dialog
Selecting a material will layout set the width and height to the material to be used.  Then you can make a plot based of of the canvas and just plot what is there.  The plot will be positioned exactly how it is displayed on the canvas.
  • "Device Setup..." will be a dialog that has all of the device settings (connection, rotation, calibration, blade offset, etc...). It will launch in a separate process and not hold Inkscape up. The device settings will be stored in an devices.xml configuration file.
Settings will be saved per device so multiple plotters can be used with the same program without having to change properties.
If a serial connection is used all the settings can be configured.  Note: A device that connects via printer setup just uses the device name .

Contour cutting will be added eventually... Size calibration for the device will be set here.
    • "Create Plot..." will be a dialog much like the previous versions of Inkcut.  This will have options for creating multiple copies of a design, adding weedlines, adjusting spacing, etc... The preview will update in real time (in the dialog's preview window) and upon closing it will either update the Inkscape canvas with the created plot, launch a new inkscape window with the created plot, or close and spawn a send plot dialog.  It will be assigned a shortcut key for quick access.
    • "Plot Preview" will simulate plotting the file and add a new layer to the drawing containing an SVG representation of the HPGL data generated by Inkcut (like the preview of previous versions of Inkcut).
    • "Quick Cut" will send the current plot to the device without a preview.  It will be assigned a shortcut key for quick access.

    Most of the coding still needs to be done due to changes to the UI and the recent switch from Gtk2 to Gtk3.  With the exception of the blade offset algorithm, the core api for creating plots is finished and all that needs done is the UI code has to be written.


    1. This comment has been removed by the author.

      1. This comment has been removed by the author.

    2. Hi Jairus,
      I got your plugin running on Inkscape v0.48.2 on Windows (XP) and succesfully plottet on my Roland CAMM1 with it!

      I had to install GTK+ and I used "" instead of "" for Linux.

      Keep up the good work!
      -Ingo from Germany

      Argument! :-)

      1. hey ingo,
        may you please explain it more detailed, how you got inkcut1 runnig under winxp?

        ijust get:

        Traceback (most recent call last):
        File "", line 71, in
        File "E:\Programme\Inkscape\share\extensions\", line 215, in affect
        File "", line 47, in effect
        from app.main import InkscapePlugin
        File "E:\Programme\Inkscape\share\extensions\inkcut\app\", line 25, in
        import pygtk,sys,os,logging
        ImportError: No module named pygtk

        i istalled something like gtk+
        i´m not that good on computers..


    3. Fantastic bit of programming, I have been looking for something like this for a long time. I am going to try and load this on to a raspberry pi so that inscape works as a portable app when plugged into a USB port. So that I can use my cutter on any computer without constantly faffing around with settings keep up the good work thank you Shane

    4. Hi Ingo,

      i have the same Problem like Tom and I don`t understand how I can fix this problem.

      Do you have any solution for me?

      With kind regards


    5. So it's now June 2013 and I was wondering when this update is due to be released?


    6. Yes, exporting to a DXF, importing that to a vintage program on an outdated computer is a pain.Ontop the only win printer driver that wxist contain the same foult as the only standalone ; suddenly the pen go down and cut transverse from corner to corner, it's as if plotters are forgotten, even how difficult can it be with just a handfull of instructions --- in short there will be thousands who would be happy if they could use their cheap xy cutter plotters under Windows. And yes, no doubt there are better systems than Windows but I just want to cut my designs and find it silli to become also a specialist in yet another system. I mean I allready are a pro. AutoCAD, A Lisp fanatic --- now just to use my plotter I must become a Linux neard ; I say NO, Linux proberly are nice but I just want to cut my designs why must I spend years to be able to do that ????


    Post a Comment

    Popular posts from this blog

    Kivy vs React-Native for building cross platform mobile apps

    I've built three apps now using Kivy and one with React-Native, just wanted to share my thoughts on both. Just a warning, I am strongly biased towards python and this is all based on opinion and experience and is thus worth what you pay for it. I don't claim to be an expert in either of these, just have worked with each for several months.  If something is incorrect I'd love to hear advice. Kivy Demo of one of the apps Pros: Nice to be able to run natively on the desktop WITHOUT a simulator Python is easy to work with Use (almost) any python library Very easy to create custom widgets Kivy properties and data binding just work. Way nicer than React's "state" / flux / redux whatever you want to call it (stupid?).  Native interfaces (pyjnius) and (pyobjc) Runs and feels pretty smooth Cons: Default widget toolkit looks like Android 4.4. Requiring you use your own widgets or a theming kit like KivyMD  if styling bothers you Creating dy

    Control Systems in Python - Part 2 - Routh Hurwitz

    In my last post Control Systems in Python Part 1 , i described how to setup and use Python for doing some basic plotting of transfer functions. One of the biggest benefits of using sympy vs numeric packages like matlab/numpy/scipy is the fact that you can use symbolic variables. This post includes a function for computing the Routh Hurwitz table (Note: It does not work for row's of zeros). Lets do my control systems design homework problem together :) (Warning: I have not verified if this answer is right so please correct me if it’s not!) The Problem The problem is DP 9.11 from Dorf & Bishop’s Modern Control Systems. ISBN 0136024580. Basically we have to design a controller to compensate for a system with a time delay. The controller is: And the system is: First we approximate the exponential term with a 2nd order polynomial using pade(0.4,2) such that: Thus the approximated system is: Using frequency response methods, design the controller so that th

    Control Systems in Python - Part 1 - Bode and Step Response

    I hate matlab with passion, yet sadly, nearly everyone uses it.  I'm a fan of Python and open source stuff so here's a simple article on how to do some common control systems stuff in Python. First we need to make sure the environment is setup. Install IPython (or you can use any other python shell, but a unicode supported shell is preferred) Install python-control (numpy, scipy) Install sympy These should do if your on Ubuntu/debian: sudo apt - get install python - sympy python-numpy python-scipy python-matplotlib ipython Then you need to install python control, see How to download and install python-control Intro to using Sympy Open ipython and run the following: import sympy from sympy import * sympy.init_printing() s = Symbol('s') Now we can do things like define transfer functions using the symbolic variable s. We can expand the bottom using the .simplify() method and we can do something more complex like... which is really nice because it