pixelpusher / liveprinter

Livecoding for 3D printers
GNU Affero General Public License v3.0
40 stars 5 forks source link

add number units as types like mm #8

Open pixelpusher opened 6 years ago

pixelpusher commented 6 years ago

a pre-parser for numbers so people can type 3mm or 3in or % and it translates to actual mm units for final function usage

pixelpusher commented 4 years ago
  1. time durations in seconds or ms like # move x:1s y:500ms
  2. Time durations in beats (based on bpm) # move x:1b y:2b
  3. Speeds based on midi notes: # move x:2b speed:48n or # move x:2b speed:c5