Closed jaymesdec closed 11 years ago
The secret is to configure the limits before loading an image. if the paper size is zero is stalls forever. This is something I am working on. i also recommend you use the github experimental branch as it has some improvements over the master branch.
On Wed, Oct 24, 2012 at 10:06 AM, jaymesdec notifications@github.comwrote:
I saw your project at FabLearn last week. I love it! I am trying to test the interface it to see if I can use it in my classroom. I'd appreciate if you could help me get this working...
I downloaded all the code, put the arduino code on the arduino, and started the DrawBotGUI. But when I try to open any images, it just stalls at:
TELEPORT XO YO;
Opening file ...
I've left it for as long as an hour. Even with small images nothing happens. I've tried with several file types. I'm on java version "1.6.0_33" and OSX 10.7.4
Here is what I am getting in the Terminal:
WARNING: RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2 min_intensity=0.0 max_intensity=255.0 Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999) at java.awt.image.BufferedImage.(BufferedImage.java:315) at Filter_Resize.scaleImage(Filter_Resize.java:36) at Filter_Resize.Process(Filter_Resize.java:75) at DrawbotGUI.LoadImage(DrawbotGUI.java:149) at DrawbotGUI.OpenFileOnDemand(DrawbotGUI.java:615) at DrawbotGUI.OpenFileDialog(DrawbotGUI.java:636) at DrawbotGUI.actionPerformed(DrawbotGUI.java:867) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:389) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809) at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:137) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850) at java.awt.Component.processMouseEvent(Component.java:6375) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6140) at java.awt.Container.processEvent(Container.java:2083) at java.awt.Component.dispatchEventImpl(Component.java:4737) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Component.dispatchEvent(Component.java:4565) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210) at java.awt.Container.dispatchEventImpl(Container.java:2127) at java.awt.Window.dispatchEventImpl(Window.java:2482) at java.awt.Component.dispatchEvent(Component.java:4565) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:643) at java.awt.EventQueue$1.run(EventQueue.java:641) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:657) at java.awt.EventQueue$2.run(EventQueue.java:655) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:654) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29.
Dan Royer, Marginally Clever Software http://www.marginallyclever.com/ - Robots, websites, kits, and more. +1.604.916.2281
Awesome! It seems to be generating GCode now. I'll have 6th graders building these in no time!
Ah! I had the same problem. Going to switch to experimental and see what's up.
Is this issue solved?
I may be having same issue. I have successfully uploaded the arduino sketch and have the java applet loaded (with the correct messages to suggest its working.) But, in the console, I get the RXTX version mismatch. I have placed the RXTXcomm.jar in the appropriate directory, as directed. YET, when I go to set the configuration limits, I get error messages to the console and nothing happens in the java applet.
I have tried lots of searching and researching and restarting (I'm on OSX 10.8.2), but I still get the same error as posted by: jaymesdec.
I'm on a push to get this done for tomorrow as its a family christmas present. Any assistance would be greatly appreciated.
Ok. So, progress is good :) I have downloaded the DrawbotGUI.app and have successfully been able to control the stepper motors after setting the config limits. I have loaded up an image and was able to get it to render to the screen, but when I go to print it, I don't get any love. I get "Please change to Pen 0 and click OK." After which nothing seems to happen.
Are you able to drive manually? The drive manual window has buttons for top right, bottom left, etc. it will tell you if the robot's idea of your paper is the same as the real world.
(adventuring)
On 2012-12-23, at 12:19, David Olsson notifications@github.com wrote:
Ok. So, progress is good :) I have downloaded the DrawbotGUI.app and have successfully been able to control the stepper motors after setting the config limits. I have loaded up an image and was able to get it to render to the screen, but when I go to print it, I don't get any love. I get "Please change to Pen 0 and click OK." After which nothing seems to happen.
— Reply to this email directly or view it on GitHub.
I am able to drive manually--those controls are working. I am not able to start drawing a rendered image.
I am wondering if it has anything to do with:
WARNING: RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2
On 23 December 2012 13:06, Dan Royer notifications@github.com wrote:
Are you able to drive manually? The drive manual window has buttons for top right, bottom left, etc. it will tell you if the robot's idea of your paper is the same as the real world.
(adventuring)
On 2012-12-23, at 12:19, David Olsson notifications@github.com wrote:
Ok. So, progress is good :) I have downloaded the DrawbotGUI.app and have successfully been able to control the stepper motors after setting the config limits. I have loaded up an image and was able to get it to render to the screen, but when I go to print it, I don't get any love. I get "Please change to Pen 0 and click OK." After which nothing seems to happen.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29#issuecomment-11650571.
Did it stop at "G17;" ?
On Sun, Dec 23, 2012 at 12:19 PM, David Olsson notifications@github.comwrote:
Ok. So, progress is good :) I have downloaded the DrawbotGUI.app and have successfully been able to control the stepper motors after setting the config limits. I have loaded up an image and was able to get it to render to the screen, but when I go to print it, I don't get any love. I get "Please change to Pen 0 and click OK." After which nothing seems to happen.
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29#issuecomment-11650137.
Dan Royer, Marginally Clever Software http://www.marginallyclever.com/ - Robots, websites, kits, and more. +1.604.916.2281
I've been getting the version mismatch warning since I started developing the drawbot. Doesn't seem to mean a thing. I'm also running OSX.
On Sun, Dec 23, 2012 at 1:12 PM, Dan Royer dan@marginallyclever.com wrote:
Did it stop at "G17;" ?
On Sun, Dec 23, 2012 at 12:19 PM, David Olsson notifications@github.comwrote:
Ok. So, progress is good :) I have downloaded the DrawbotGUI.app and have successfully been able to control the stepper motors after setting the config limits. I have loaded up an image and was able to get it to render to the screen, but when I go to print it, I don't get any love. I get "Please change to Pen 0 and click OK." After which nothing seems to happen.
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29#issuecomment-11650137.
Dan Royer, Marginally Clever Software http://www.marginallyclever.com/- Robots, websites, kits, and more. +1.604.916.2281
Dan Royer, Marginally Clever Software http://www.marginallyclever.com/ - Robots, websites, kits, and more. +1.604.916.2281
Ok, cool, cuz its a bitch to overcome, according to the reading. I'd rather not be messing around with that.
Here's what gets pushed to the logging pane:
Opening file /Users/do/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. G00 F1000 Z90; d
Status bar
Can I seethe entire log? There should have been more before that.
(adventuring)
On 2012-12-23, at 13:21, David Olsson notifications@github.com wrote:
Ok, cool, cuz its a bitch to overcome, according to the reading. I'd rather not be messing around with that.
Here's what gets pushed to the logging pane:
Opening file /Users/do/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. G00 F1000 Z90; d
Status bar
— Reply to this email directly or view it on GitHub.
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. Connecting to /dev/tty.usbmodem241411... Opened. HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18, M114
CONFIG T50.0 B-50.0 L-50.0 R50.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
M114; d CONFIG T50.0 B-50.0 L-50.0 R50.0 I-1 J-1; TELEPORT X0 Y0 Z0; HELLO WORLD! I AM DRA WBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - displ ay this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move t he virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. G00 F1000 Z90; d
Hmm... Well... The estimate is definitely off. At 1000mm/minute it isn't going to draw 5.2km of line is 3 minutes.
(adventuring)
On 2012-12-23, at 14:36, David Olsson notifications@github.com wrote:
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. Connecting to /dev/tty.usbmodem241411... Opened. HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18, M114
CONFIG T50.0 B-50.0 L-50.0 R50.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
M114; d CONFIG T50.0 B-50.0 L-50.0 R50.0 I-1 J-1; TELEPORT X0 Y0 Z0; HELLO WORLD! I AM DRA WBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - displ ay this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move t he virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. G00 F1000 Z90; d
— Reply to this email directly or view it on GitHub.
its only 52m of lines, but I don't know if that means anything more.
On 23 December 2012 15:47, Dan Royer notifications@github.com wrote:
Hmm... Well... The estimate is definitely off. At 1000mm/minute it isn't going to draw 5.2km of line is 3 minutes.
(adventuring)
On 2012-12-23, at 14:36, David Olsson notifications@github.com wrote:
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. Connecting to /dev/tty.usbmodem241411... Opened. HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/== All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18, M114
CONFIG T50.0 B-50.0 L-50.0 R50.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
M114; d CONFIG T50.0 B-50.0 L-50.0 R50.0 I-1 J-1; TELEPORT X0 Y0 Z0; HELLO WORLD! I AM DRA WBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - displ ay this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move t he virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. G00 F1000 Z90; d
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29#issuecomment-11652092.
I'm looking into it now, trying to load the latest master branch to see what happens.
(adventuring)
On 2012-12-23, at 16:02, David Olsson notifications@github.com wrote:
its only 52m of lines, but I don't know if that means anything more.
On 23 December 2012 15:47, Dan Royer notifications@github.com wrote:
Hmm... Well... The estimate is definitely off. At 1000mm/minute it isn't going to draw 5.2km of line is 3 minutes.
(adventuring)
On 2012-12-23, at 14:36, David Olsson notifications@github.com wrote:
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. Connecting to /dev/tty.usbmodem241411... Opened. HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/== All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18, M114
CONFIG T50.0 B-50.0 L-50.0 R50.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
M114; d CONFIG T50.0 B-50.0 L-50.0 R50.0 I-1 J-1; TELEPORT X0 Y0 Z0; HELLO WORLD! I AM DRA WBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - displ ay this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move t he virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. G00 F1000 Z90; d
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29#issuecomment-11652092.
— Reply to this email directly or view it on GitHub.
Does your version of "configure limits" include a picture?
No, its just numbers
[image: Inline images 1]
On 23 December 2012 17:47, Dan Royer notifications@github.com wrote:
Does your version of "configure limits" include a picture?
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29#issuecomment-11653043.
Ah, so that's not the latest! Hrm.
I just checked in 0.8.4a bugfix. Get the latest arduino firmware and try the new start.command (should be double-clickable to run). Also I've added you on skype to speed things up.
I still get the following error pushed to the console. Tried a few times. Not sure what to do, but its on hold till boxing day. Will try using my XP windows netbook, see if it'll do the trick
CONSOLE DUMP:
WARNING: RXTX Version mismatch
Jar version = RXTX-2.2pre1
native lib Version = RXTX-2.2pre2
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.ImageIcon.
JAVA APPLET Log Window DUMP:
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... feed rate=1000.0 1670 line segments. 5253.433cm of line. Estimated 2m59s s to draw. Connecting to /dev/tty.usbmodem241411... Opened. HELLO WORLD! I AM DRA WBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - displa y this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move t he virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
CONFIG T5.0 B-5.0 L-5.0 R5.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (h ttp://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114 done Invalid comman d 'PO0;' >
Aha! That's one I didn't know about. I just checked in 0.8.4b, seems to work in OSX. Please confirm.
0.8.4b No errors to the console
Was able to set the config limits (got the graphic in the interface.) But no luck getting it to draw.
Java Applet Log:
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw. Connecting to /dev/tty.usbmodem241411... Opened. HELLO WOR LD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HE LP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.x x]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
CONFIG T5.0 B-5.0 L-5.0 R5.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114 done Invalid co mmand 'PO0¡;' > M114; HELLO WORLD! I AM DR AWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - displ ay this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 H ELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-col on. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.x x] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114 done Invalid com mand 'PO0¡;' > Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw. G00 F1000 Z90;
If you are on skype, I am trying to add you. Let's figure this out together.
On Mon, Dec 24, 2012 at 4:07 PM, David Olsson notifications@github.comwrote:
0.8.4b No errors to the console
Was able to set the config limits (got the graphic in the interface.) But no luck getting it to draw.
Java Applet Log:
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw.
Connecting to /dev/tty.usbmodem241411... Opened. HELLO WOR LD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/https://github.com/i-make-robots/Drawbot/== All commands end with a semi-colon. HE LP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.x x]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code):G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
CONFIG T5.0 B-5.0 L-5.0 R5.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/https://github.com/i-make-robots/Drawbot/== All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code):G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114 done Invalid co mmand 'PO0¡;' > M114;
HELLO WORLD! I AM DR AWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/https://github.com/i-make-robots/Drawbot/== All commands end with a semi-colon. HELP; - displ
ay this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code):G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1;
TELEPORT X0 Y0 Z0; L=0 H ELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/https://github.com/i-make-robots/Drawbot/== All commands end with a semi-col on. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.x x] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code):G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114 done Invalid com mand 'PO0¡;' > Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw. G00 F1000 Z90;
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29#issuecomment-11667330.
Dan Royer, Marginally Clever Software http://www.marginallyclever.com/ - Robots, websites, kits, and more. +1.604.916.2281
The original issue in this thread (cannot open an image) is now fixed. I have created a new issue, "Drawing stops on first command".
http://www.marginallyclever.com/forum/viewtopic.php?f=2&t=2242&p=2488#p2488 This may help a bit.
On Mon, Dec 24, 2012 at 4:13 PM, Dan Royer dan@marginallyclever.com wrote:
If you are on skype, I am trying to add you. Let's figure this out together.
On Mon, Dec 24, 2012 at 4:07 PM, David Olsson notifications@github.comwrote:
0.8.4b No errors to the console
Was able to set the config limits (got the graphic in the interface.) But no luck getting it to draw.
Java Applet Log:
Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw.
Connecting to /dev/tty.usbmodem241411... Opened. HELLO WOR LD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/https://github.com/i-make-robots/Drawbot/== All commands end with a semi-colon. HE LP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.x x]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code):G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
CONFIG T5.0 B-5.0 L-5.0 R5.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=0 HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/https://github.com/i-make-robots/Drawbot/== All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code):G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114 done Invalid co mmand 'PO0¡;' > M114;
HELLO WORLD! I AM DR AWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/https://github.com/i-make-robots/Drawbot/== All commands end with a semi-colon. HELP; - displ
ay this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code):G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1;
TELEPORT X0 Y0 Z0; L=0 H ELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/https://github.com/i-make-robots/Drawbot/== All commands end with a semi-col on. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx];
display/update this robot's configuration. TELEPORT [Xx.x x] [Yx.xx]; - move the virtual plotter. As well as the following G-codes ( http://en.wikipedia.org/wiki/G-code):G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114 done Invalid com mand 'PO0¡;' > Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw. G00 F1000 Z90;
— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/29#issuecomment-11667330.
Dan Royer, Marginally Clever Software http://www.marginallyclever.com/- Robots, websites, kits, and more. +1.604.916.2281
Dan Royer, Marginally Clever Software http://www.marginallyclever.com/ - Robots, websites, kits, and more. +1.604.916.2281
I saw your project at FabLearn last week. I love it! I am trying to test the interface it to see if I can use it in my classroom. I'd appreciate if you could help me get this working...
I downloaded all the code, put the arduino code on the arduino, and started the DrawBotGUI. But when I try to open any images, it just stalls at:
TELEPORT XO YO;
I've left it for as long as an hour. Even with small images nothing happens. I've tried with several file types. I'm on java version "1.6.0_33" and OSX 10.7.4
Here is what I am getting in the Terminal:
WARNING: RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2 min_intensity=0.0 max_intensity=255.0 Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999) at java.awt.image.BufferedImage.(BufferedImage.java:315)
at Filter_Resize.scaleImage(Filter_Resize.java:36)
at Filter_Resize.Process(Filter_Resize.java:75)
at DrawbotGUI.LoadImage(DrawbotGUI.java:149)
at DrawbotGUI.OpenFileOnDemand(DrawbotGUI.java:615)
at DrawbotGUI.OpenFileDialog(DrawbotGUI.java:636)
at DrawbotGUI.actionPerformed(DrawbotGUI.java:867)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:137)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6375)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6140)
at java.awt.Container.processEvent(Container.java:2083)
at java.awt.Component.dispatchEventImpl(Component.java:4737)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:643)
at java.awt.EventQueue$1.run(EventQueue.java:641)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:657)
at java.awt.EventQueue$2.run(EventQueue.java:655)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)