diff options
author | N.N. <matju@users.sourceforge.net> | 2010-01-05 17:50:51 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2010-01-05 17:50:51 +0000 |
commit | 39ba8a640bd178fd732d945760df7eef3e2c1e1a (patch) | |
tree | b59fa5bc00fcbb6389ea3ebf2c7ee8b9ced1daa8 /externals/gridflow/bin/hpgl_move | |
parent | 8cabe6dabadf2422240ff4e9d5f5f8c95622b682 (diff) |
no gridflow snapshots in pure-data svn
svn path=/trunk/; revision=12888
Diffstat (limited to 'externals/gridflow/bin/hpgl_move')
-rwxr-xr-x | externals/gridflow/bin/hpgl_move | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/externals/gridflow/bin/hpgl_move b/externals/gridflow/bin/hpgl_move deleted file mode 100755 index f4bf0534..00000000 --- a/externals/gridflow/bin/hpgl_move +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env ruby -# Copyright (c) 2009 by Mathieu Bouchard - -x = Float ARGV[0] -y = Float ARGV[1] - -puts STDIN.read.split(/\s*;\s*/).map {|m| - h = m.slice!(0,2) - d = m.split(",") - case h - when "PA","PD","PU" - (0...d.length).each {|i| - off = if i%2==0 then x else y end - v = Float(d[i])+off - d[i] = if v==v.to_i then v.to_i else v.to_f end - } - end - h+d.join(",") -}.join(";") |