Jump to content
Ultimaker Community of 3D Printing Experts
brictone

Autodesk Maya Gcode Exporter using Cura.

Recommended Posts

I'm not sure if there are many around these parts that use Maya to model and create objects for printing but it's one of my favorite tools. Since it has very powerful scripting capabilities with Python and MEL, I decided to learn Python to call up Cura and slice up my object and save my gcode files ready for my Ultimaker printer. There's quite a bit more I can do with this but, I'm just not a seasoned programmer coming from the artist world. If anyone is interested in using something like this lemme know and I can try and package up the python script. Here's a screen shot of the window interface. And don't get me wrong Cura is great... it just doesn't have the capabilities that a 13+ year old leading special effects software package does.

cura-Export-Window.jpg

If you're interested, I went into a little more detail on my site. http://www.bg3d.com/archives/1101

So yeah, Lemme know what you think.

 

Share this post


Link to post
Share on other sites

And don't get me wrong Cura is great... it just doesn't have the capabilities that a 13+ year old leading special effects software package does.

 

And it never will. cura is not a modelling/CAD package, it's a slicer (or processor as daid likes to call it). It's sole purpose in life is to create Gcode, something that 13+ year old software of yours needs cura's help to do ;)

 

Share this post


Link to post
Share on other sites

I was using maya to position the model on the platform but I think Cura has made that easy as well by just sticking it on the platform at the origin. I was also using Maya to merge and mold multiple geometry together to make a water tight STL. Cura now makes it a easy and slices multiple objects together without creating cavities. There's some options with that too.

So, I've changed the script significantly in order to accommodate all the updates that Cura goes though. So what I've done is taken the selected geometry or group of polygons and export them as an STL with the name of the selection and simply use a system command to launch Cura with that model. So I'm no more trying to replicate all the options in Cura.

without the script it's - export selection -> Navigate to folder -> Open STL with Cura -> change slicing settings -> save to SD -> Save to HardDrive

Now it's - click a button on the shelf -> change settings -> save to SD -> Save to HardDrive

I'll clean it up next week and get a link to it for you.

 

Share this post


Link to post
Share on other sites

Thanks, I downloaded it and will give it a try soon. Have to update my maya first to latest release though.

 

It should work with just about any version of Maya although I haven't tested it on anything else. Updating is still worth it but it shouldn't hold you back from trying the script. and putting it in the scripts in the non-version scripts folder will make it available to all versions that are installed.

 

Share this post


Link to post
Share on other sites

 I recently had someone interested in this so I posted what I've been using to get Gcode from Maya on GitHub.  It's nothing fancy right now but it's just an obj export and launch Cura application with a Python script on the shelf.

 

I didn't get too far with my previous approach, and Cura seemed to be changing too rapidly to keep up.  Maybe now is a better time to get back into it with the new Cura 3.x

 

https://github.com/Brictone/MayaToGcode

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

    • Ultimaker Cura | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 19 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!