Jump to content
Ultimaker Community of 3D Printing Experts
eivind

Controlling the Ultimaker / SDK

Recommended Posts

Hi,

We are wondering if its possible to use the ultimaker for something else than 3D printing. We would like to use it to do some accurate measurements. Basically we need to be able to program the nozzle to go to specific positions in an orchestrated way, just movement without any 3D printing at all.

Is there some software available that lets us set the position of the nozzle in 3D space or to play back a series of movements? Like a print dryrun with the only difference is that the nozzle should move slower.

I'm new to this so any information pointing me in the right direction is appreciated.

E.

Share this post


Link to post
Share on other sites

Read about gcodes.  Those are what control the printer.  You can convert a set of coordinates to gcodes trivially.  For example:

G28 X0 Y0

G28 Z0

The above you do first to home the x,y,z axes.

Then

G1 X10 Y10 Z110  <-- moves all 3 axis to position 10mm.

G1 F600  <-- sets feedrate quite slow (movement speed for all axes combined) in mm/minute

So 600 is 10mm/sec.  You can go up to 300mm/sec and down to i-don't-know-what.  Probably around 1mm/sec?  Maybe slower.

These gcodes work for (almost) any 3d printer out there.

more here:

http://reprap.org/wiki/G-code

Share this post


Link to post
Share on other sites

Thank for replies guys.

Two quick follow up questions:

1. With the G-codes, does it need to print at all to move or can it just be told to move and it will do so?

2. Does the printing nozzle even need to be present for it to move or can i remove it and replace it with our own non printing nozzle that is made for measurements?

If the UM2+ is super easy to control via serial port that seems to be the right choice for us. How do you do the same on the UM3+?

E.

Share this post


Link to post
Share on other sites

1. It can move, or move while extruding.

2. The UM3 (or UM3 extended, there is no UM3+ yet) detects inserted printcores (which include the nozzle) and will not print without them. I think you can still push gcode to it by logging in to the UM3 via SSH. The UM2+ is blissfully unaware of its nozzles.

Share this post


Link to post
Share on other sites

Our first machine the UMO is quite bare bones. It doesn't have a whole lot of things preventing you from doing weird stuf. The further you go to the future (UM2, UM3) the more checks & protections you will find. UM being UM, we do provide ways to avoid them, but doing this on the UM3 is more tricky than on the UMO.

Share this post


Link to post
Share on other sites

@nallath do you know if it’s possible to use the usb of the um3 board? I mean, it’s there but blocked by the metal of the printer. Maybe they could do a simple drill and connect a usb to take command of the um3 board directly so they can test all faster?

Other possible thing is to connect by SSH to the printer root@printerip password ultimaker and then do sendGcode

Afaik that’s the fastest way to control the um3

Explained here

https://ultimaker.com/en/community/49906-manual-control-for-ultimaker-3-over-the-lan-or-wifi#featured

Edited by Guest

Share this post


Link to post
Share on other sites

So basically: Log in with SSH and then we can create a Bash script that moves the printer in all the pre-defined positions we need it to go to? This seems very easy, i had a look at some examples of this, seems straight forward. Are there any hurdles that we need think about?

What about accuracy and calibration? Does the machine calibrate itself on startup so you can rely on the positions during the entire sequence?

  • Like 1

Share this post


Link to post
Share on other sites

What about accuracy and calibration? Does the machine calibrate itself on startup so you can rely on the positions during the entire sequence?

 

The system is open looped; We don't actually check if the machine actually reached the position where you want it to go. If it's blocked for some reason, you will miss steps, so the position is no longer correct.

If you home the head, you do know what the position is. But a switch also has a tolerance, so first moving to (10,10,10), then a home and then moving to (10,10,10) again won't exactly be the same position (but pretty darn close). One of the hardware guys should be able to tell you what the tolerance is.

  • Like 1

Share this post


Link to post
Share on other sites

Oh wait. You are in Norway. Are you in Oslo? If you want someone local I would start with Elias Bakken who created the "thing" printer and redeem and replicape. He knows a few people who could help you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Our picks

    • Introducing Ultimaker Cura 3.6 | Beta
      Ultimaker Cura 3.6 | Beta is available. It comes with new features, bug fixes, and UX improvements. We would really like to have your feedback on it to make our stable release as good as it can be. As always, you can download the beta for free from our website, for Windows, MacOS, and Linux.
        • Like
      • 95 replies
    • Print Core CC | Red for Ruby
      Q: For some users, abrasive materials may be a new subject matter. Can you explain what it is that makes a material abrasive when you are not sure which print core to use?
      A: Materials which are hard in a solid piece (like metals, ceramics and carbon fibers) will generally also wear down the nozzle. In general one should assume...
        • Like
      • 30 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

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!