Fancy pants post code

All things related to the Rostock MAX 3D Printer, the worlds FIRST Delta kit!
Post Reply
User avatar
daftscience
Printmaster!
Posts: 203
Joined: Sun Jan 13, 2013 12:37 pm

Fancy pants post code

Post by daftscience »

I'm wondering if anyone has added anything interesting to their end of print Gcode? Right now mine does the basic retract, home, and shuts the heaters off.

I thought it would be cool to spiral upwards as it homes, or do something to show off a bit when it's finishes. I don't know how to make spirally Gcode.

But, anything else? I thought I read it's possible to put a timer on the heated bed.
User avatar
626Pilot
ULTIMATE 3D JEDI
Posts: 1716
Joined: Tue May 14, 2013 12:52 pm

Re: Fancy pants post code

Post by 626Pilot »

You can make the axis stepper motors play musical notes, and you have three of them. :)

[youtube]http://www.youtube.com/watch?v=Kh2AWswAMvw[/youtube]

Edit: MIDI to CNC
User avatar
daftscience
Printmaster!
Posts: 203
Joined: Sun Jan 13, 2013 12:37 pm

Re: Fancy pants post code

Post by daftscience »

626Pilot wrote:You can make the axis stepper motors play musical notes, and you have three of them. :)

[youtube]http://www.youtube.com/watch?v=Kh2AWswAMvw[/youtube]

Edit: MIDI to CNC
Haha, that's awesome.
bubbasnow
ULTIMATE 3D JEDI
Posts: 1061
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: Fancy pants post code

Post by bubbasnow »

I was thinking it would be neat if somehow it sent a text message letting you know your stuff was finished... or an email
User avatar
Jimustanguitar
ULTIMATE 3D JEDI
Posts: 2608
Joined: Sun Mar 31, 2013 1:35 am
Location: Notre Dame area
Contact:

Re: Fancy pants post code

Post by Jimustanguitar »

Have the steppers play Mario to get them warmed up while you wait on your heated bed... I'm liking this.

People have been playing music with Hard Drives lately too. It looks like fun!

Off topic, but has anyone created a program to convert MIDI music into GCode? That would be awful neat.


[youtube]http://www.youtube.com/watch?feature=pl ... x_vWkv50uk[/youtube]

***edit*** how did you embed that YouTube video? I can't figure it out with html and the URL or with the embed/iframe code.
User avatar
barry99705
Printmaster!
Posts: 707
Joined: Sun Aug 11, 2013 6:10 pm
Location: west ohio

Re: Fancy pants post code

Post by barry99705 »

Jimustanguitar wrote:Have the steppers play Mario to get them warmed up while you wait on your heated bed... I'm liking this.

People have been playing music with Hard Drives lately too. It looks like fun!

Off topic, but has anyone created a program to convert MIDI music into GCode? That would be awful neat.


[youtube]http://www.youtube.com/watch?v=lx_vWkv50uk[/youtube]

***edit*** how did you embed that YouTube video? I can't figure it out with html and the URL or with the embed/iframe code.
Get rid of the feature part.
Never do anything you don't want to have to explain to the paramedics.
User avatar
daftscience
Printmaster!
Posts: 203
Joined: Sun Jan 13, 2013 12:37 pm

Re: Fancy pants post code

Post by daftscience »

bubbasnow wrote:I was thinking it would be neat if somehow it sent a text message letting you know your stuff was finished... or an email
I'm using Octoprint. They have a bunch of really cool event hooks that let you do things like this. So you would create one that will shoot an email when it's done printing. A while ago I made one that would create a timelapse and upload it to youtube when the print finished.
bubbasnow
ULTIMATE 3D JEDI
Posts: 1061
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: Fancy pants post code

Post by bubbasnow »

daftscience wrote:
bubbasnow wrote:I was thinking it would be neat if somehow it sent a text message letting you know your stuff was finished... or an email
I'm using Octoprint. They have a bunch of really cool event hooks that let you do things like this. So you would create one that will shoot an email when it's done printing. A while ago I made one that would create a timelapse and upload it to youtube when the print finished.
I have this solved for people using Repetier HOST with slic3r or KISS... or any other slicer that allows for custom end g-code.

download and extract the program from here and place it in the directory of your choice, but be sure to remember for the code we will enter below.
http://caspian.dotconf.net/menu/Software/SendEmail/

put this code in the end g-code box:
@execute C:\Users\yourname\sendEmail.exe -f [email protected] -t ##########@vtext.com -s smtp.gmail.com:587 -xu [email protected] -xp password -u "3D Printer" -m "YO!! Your Print Is Finished"
edward
Printmaster!
Posts: 207
Joined: Mon Jun 03, 2013 8:55 am
Location: Fort Wayne, IN
Contact:

Re: Fancy pants post code

Post by edward »

Host commands are pretty nice. You can find a full listing of them here: https://github.com/repetier/Repetier-Ho ... t-Commands

It should be mentioned that these will only work for "streaming" your prints over serial. They will NOT work if printing from SDCARD.
My Thingiverse profile: http://www.thingiverse.com/edwardh
bubbasnow
ULTIMATE 3D JEDI
Posts: 1061
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: Fancy pants post code

Post by bubbasnow »

edward wrote:Host commands are pretty nice. You can find a full listing of them here: https://github.com/repetier/Repetier-Ho ... t-Commands

It should be mentioned that these will only work for "streaming" your prints over serial. They will NOT work if printing from SDCARD.
It seems like that list is incomplete :?
edward
Printmaster!
Posts: 207
Joined: Mon Jun 03, 2013 8:55 am
Location: Fort Wayne, IN
Contact:

Re: Fancy pants post code

Post by edward »

It could be. I've only played with a few of them, but they are of no use to me since I mostly print from SD.

What do you find missing?
My Thingiverse profile: http://www.thingiverse.com/edwardh
bubbasnow
ULTIMATE 3D JEDI
Posts: 1061
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: Fancy pants post code

Post by bubbasnow »

edward wrote:It could be. I've only played with a few of them, but they are of no use to me since I mostly print from SD.

What do you find missing?

@execute specifically no biggy..

@execute cmd.exe_with full path param_1 param_2
User avatar
Nylocke
ULTIMATE 3D JEDI
Posts: 1418
Joined: Sun Jun 23, 2013 1:43 pm
Location: Iowa

Re: Fancy pants post code

Post by Nylocke »

That idea to have it spiral up after the print would be pretty cool to show off at shows, if it could also spiral down, that would be cool for pre code.
cope413
Printmaster!
Posts: 446
Joined: Sun Jun 30, 2013 5:52 pm
Location: Orange County, CA
Contact:

Re: Fancy pants post code

Post by cope413 »

For those using OctoPrint, are you on windows or are you using Linux? I'd like to try it out and experiment, but I'm always hesitant with software that wasn't meant for Windows...
Fellow Philosophy majors unite!

"The proverbial achilles heel of property monistic epiphenomenalism is the apparent impossibility of ex-nihilo materialization of non-structural and qualitatively new causal powers."
doctorgonzo
Printmaster!
Posts: 107
Joined: Thu May 16, 2013 7:46 am
Location: Atlanta GA

Re: Fancy pants post code

Post by doctorgonzo »

Nylocke wrote:That idea to have it spiral up after the print would be pretty cool to show off at shows, if it could also spiral down, that would be cool for pre code.
Can't you just draw a spiral (or whatever desired tool path) in your 3D modeling software, run a post processor and copy/paste the G-code? Seems pretty straight forward. I'd like my Rostock to do a little "happy dance" when it's done printing.

I'm waiting on a heater cartridge to arrive in the mail - I might play around with this stuff while I wait. I'll post if I come up with anything good.

Chris
User avatar
Nylocke
ULTIMATE 3D JEDI
Posts: 1418
Joined: Sun Jun 23, 2013 1:43 pm
Location: Iowa

Re: Fancy pants post code

Post by Nylocke »

Someone could write a G2 or 3(?) command to make it spiral upwards, I'd have to review some g-code to do so.
User avatar
daftscience
Printmaster!
Posts: 203
Joined: Sun Jan 13, 2013 12:37 pm

Re: Fancy pants post code

Post by daftscience »

cope413 wrote:For those using OctoPrint, are you on windows or are you using Linux? I'd like to try it out and experiment, but I'm always hesitant with software that wasn't meant for Windows...
I'm using a beaglebone black running Ubuntu. The main reason I'm using it is to separate it from my PC, but still keep the features of the host software. The fact that I can check up on it while I'm at work is just an added bonus.
Post Reply

Return to “Rostock MAX”