Jump to content

Autodesk Maya Gcode Exporter using Cura.


brictone

Recommended Posts

Posted · Autodesk Maya Gcode Exporter using Cura.

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.

 

  • Link to post
    Share on other sites

    • 10 months later...
    Posted · Autodesk Maya Gcode Exporter using Cura.

    Hi,

    I use maya every now and then and would like to try that script out if possible :O . I own the newer model but I think should work, too. Let me know if there is a way to get the script.

    Kind regards

     

  • Link to post
    Share on other sites

    Posted · Autodesk Maya Gcode Exporter using Cura.

    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 ;)

     

  • Link to post
    Share on other sites

    Posted · Autodesk Maya Gcode Exporter using Cura.

    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.

     

  • Link to post
    Share on other sites

    Posted · Autodesk Maya Gcode Exporter using Cura.

    Hi,

    I use maya every now and then and would like to try that script out if possible :O . I own the newer model but I think should work, too. Let me know if there is a way to get the script.

    Kind regards

    I updated the script on my site and you can find it here.

    http://www.bg3d.com/archives/1101

     

  • Link to post
    Share on other sites

    Posted · Autodesk Maya Gcode Exporter using Cura.

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

     

  • Link to post
    Share on other sites

    Posted · Autodesk Maya Gcode Exporter using Cura.

    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.

     

  • Link to post
    Share on other sites

    Posted · Autodesk Maya Gcode Exporter using Cura.

     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

  • 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 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 13 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...