Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-20 Thread Dömötör Gulyás
A little OT, but it seems like there is healthy interest for doing CNC machining from OS X, with or without MacRuby, I am currently working on an AVR/Arduino based solution myself, so anybody know of a topical ML and/or Wiki, or is there interest in setting up a site, or project on github/launchpad

[MacRuby-devel] Phantom closed windows in document based apps

2012-01-20 Thread Milos & Slavica
Hi, Has anyone seen this problem: - Start a new Xcode project with the MacRuby document-based application template. - Open a number of windows. - Close a window (leaving others open). - Then do: NSApp.windows.map {|win| p win.windowController.document} - This produces something like: # # n

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-20 Thread Robert Rice
Hi, Thanks for all of the replies. I was looking for a Mac based CNC program long ago and was amazed that there still is little or none. I don't have a lot of time in this yet, but I was able to design a nice CNC UI and basic motion engine easily using MacRuby. There is certainly enough interes

[MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-20 Thread Rich Morin
Using a general-purpose OS (eg, Mac OS X) for real-time applications is a bit of a tarpit. So, I like the idea of using an Arduino (etc) for this sort of thing. That said, there are some things that will cause problems even in an Arduino. For example, taking raw input from a switch or button may

Re: [MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter

2012-01-20 Thread Robert Rice
Hi Rich, Switch de-bounce logic in the Arduino would be a nice feature. I'm thinking that probably I could offload most or all of the motion engine to the Atmel µP. That would be desirable to to keep motors synchronized within a half micro-step while doing linear and circular interpolation. Pro