Jump to content
Sign in to follow this  
elid

Processing & ultimaker communication

Recommended Posts

Posted · Processing & ultimaker communication

Hi everybody.

I'm the really happy owner of an ultimaker since nov 2012.

I'm an artist and coder and would like to make a java processing program to control the ultimaker aka pushing gcode directly to the arduino mega.

I tried endlessly to find some examples of processing skecthes pushing gcode directly but wasn't really successful.

Does anyone there knows how and even if it's possible?

The process I'm working on is:

1. A camera take a picture

2. The pic is vectorize, whith some blur/ canny edge detection maybe some heightmap

3. The processing program would "translate" the 2d coordonates into a 3D with just one layer

4. processing would then push the gcode to ultimaker.

 

Share this post


Link to post
Share on other sites
Posted · Processing & ultimaker communication

Ok maybe a good option would be to go from openframeworks and not processing?

 

Share this post


Link to post
Share on other sites
Posted · Processing & ultimaker communication

Should be super simple... I've never done it but isn't it basically sending coordinates over serial? I would poke around the source code of printrun/printcore for a starting point.

Google also turned up this:

http://www.shapeoko.com/wiki/index.php/GCtrl

Which is super rudimentary, but again, I believe we are just sending coordinates over serial... so the meaty bit of that code is:

port.write(gcode + '\n');

Where gcode is swappable for any GCode command you're interested in sending.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!