Thingomatic Driver (revisiting)

54 views
Skip to first unread message

Kendall Lui

unread,
Jun 25, 2013, 4:19:31 AM6/25/13
to botq...@googlegroups.com
Hello again,
It has been awhile since I had to do my boring schoolwork but luckily for me its Summer break! Anyways I am looking more into coding a drive for a thing o matic for my summer project. Probably not the best way to learn a new language but will have a go at it! Just a few questions for me to brainstorm around. 
1. If I'm running sailfish firmware is it correct to say it uses s3g?
2. If the first is correct is it safe to say that it could use part of the makerbot_driver as released by Stratasys (Makerbot).
3. Why can't a driver be repurposed from replicatorG?

Thanks guys and I am probably biting too much for me to chew so it may never be made :(.

-Kendall

Zach 'Hoeken' Smith

unread,
Jun 25, 2013, 4:26:06 AM6/25/13
to botq...@googlegroups.com
1. yea, it appears to use s3g.  never used sailfish tho.
2. most likely yeah
3. you probably could and thats not a bad idea but requires porting from java.  there is also the s3g python driver which is basically a mess but at least its already in python.


----

Zach Hoeken Smith

Twitter: @hoeken  Skype: chilldude22
QQ: 1489598623  China: +86-186-8209-7069



-Kendall

--
You received this message because you are subscribed to the Google Groups "BotQueue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botqueue+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Marty McGuire

unread,
Jun 25, 2013, 3:35:04 PM6/25/13
to botq...@googlegroups.com
With some tweaking I was able to get this most of the way there for my Rep 1.  I think the steps should be similar for the ToM.

makerbot_driver needs a modified version of the pyserial library in order to query the USB vendor and device IDs.  This is used to detect Rep 1 vs 2 vs ToM.  You can get that from MakerBot's GitHub account, here:


The makerbot_driver's s3g.py driver is pretty tight about what kinds of G-code it will accept.  makerbot_driver includes some (incomplete) examples for G-code filters to remove or rewrite codes that s3g.py won't accept.  I've been hesitant to tackle writing the filter for this step, so s3g.py just chokes on the G-Code and the bot doesn't do much of anything when I print from BotQueue.

Most everything is is just about good to go.  bumblebee already has an "s3gdriver" in place for loading up a G-code file, running it through a GCodeProcessor, and sending the resulting filtered G-Code to s3g.py.  Unfortunately, the filter in there is not useful for output from slic3r.

You can find the bumblebee s3gdriver here:

BotQueue/bumblebee/drivers/s3gdriver.py

The GCodeProcessor it is using is here:

BotQueue/bumblebee/drivers/makerbot_driver/GcodeProcessors/SlicerProcessor.py

The G- and M-codes that s3g.py supports are here:


Tony Buser wrote a slic3r G-Code filter in Perl for another purpose, but it should be a good starting point on replacing the SlicerProcessor.  Here's my copy of that:


I hope that helps!

Thanks,
Marty


Robert Liston

unread,
Nov 14, 2013, 12:04:08 PM11/14/13
to botq...@googlegroups.com
How do you select the Makerbot driver using bumblebee 0.4? I'd like to see if I can get this running with my Replicator 2 and 2x but only the RepRap and Dummy drivers are being presented to me as selectable options.

-Rob

Zach 'Hoeken' Smith

unread,
Nov 14, 2013, 10:11:28 PM11/14/13
to botq...@googlegroups.com
It has never really worked well unfortunately.  I got it working one time at an event, but never again.  :(


----

Zach Hoeken Smith

Twitter: @hoeken  Skype: chilldude22
QQ: 1489598623  China: +86-186-8209-7069


On Fri, Nov 15, 2013 at 1:04 AM, Robert Liston <robert...@gmail.com> wrote:
How do you select the Makerbot driver using bumblebee 0.4? I'd like to see if I can get this running with my Replicator 2 and 2x but only the RepRap and Dummy drivers are being presented to me as selectable options.

-Rob

Robert Liston

unread,
Nov 15, 2013, 12:54:25 PM11/15/13
to botq...@googlegroups.com
I'm willing to put in some time on this, I just need to make the initial connection first.
I've replaced pyserial with the forked version from makerbot but haven't looked to much at the part of bumblebee that makes the connection via s3g. If I know where that is I'm sure I can work out a slicer profile for the gcode that is makerbot compatible. Then I guess I need to run it through the s3g driver to send it.

-Rob
Reply all
Reply to author
Forward
0 new messages