Jump to content

Automatic orientation plugin


nallath

Recommended Posts

Posted · Automatic orientation plugin

I've finally found some time to make a quick wrapper for the excellent algorithm created by Christoph Schranz. It calculates the optimal orientation based on overhangs of the object.

Note that it's a quick & dirty implementation on my end, but it should do the trick.

You can find it on; https://github.com/nallath/CuraOrientationPlugin

It's supposed to work with Cura 2.3

  • Like 5
Link to post
Share on other sites

Posted · Automatic orientation plugin

Very cool. Seems to be working fine on my end at least. Well, in so far as it re-orients parts to what looks like a good print direction at least. I took a couple of models that I had made, rotated them into an awkward orientation and let the plugin try and fix it. It rotated them back into the direction they were designed to be printed at, so it seems to be working :)

And for those wondering how to install. Click the green "Download or clone" button towards the top right, download as zip and drag the "CuraOrienationPlugin-master" folder into: "C:\Users\YourNameHere\AppData\Local\cura\plugins"

  • Like 2
Link to post
Share on other sites

  • 6 months later...
Posted · Automatic orientation plugin

does this still work with 2.4 and 2.5 Beta?

 

Yep. Even works when running it from source. I use the plugin a lot myself, so it's almost guaranteed to work ;)

  • Link to post
    Share on other sites

    Posted · Automatic orientation plugin

    I asked, because with a lot of organic models I printed lately it doesn't do anything.

    If I load a cube and rotate it on its point, it reacts as expected, but if I have an organic model and rotate it in a position where a lot of red shows it does nothing...

  • Link to post
    Share on other sites

    Posted · Automatic orientation plugin

    The algorithm is not stable. Hitting calculate optimal angle will reposition the model in a different orientation.

    Also the starting angle will affect the resulting orientation.

    I'm not talking about angle around the Z axis; the model can actually get different orientations around the X and Y axis.

    http://www.thingiverse.com/thing:1906284/#files

  • Link to post
    Share on other sites

    Posted · Automatic orientation plugin

    Please make a shortcut in the rotation tool menu, so that you automatically bump into it when you are busy rotating the part yourself.

    Also: when is this going to be shipped with Cura?

    • Like 1
    Link to post
    Share on other sites

    Posted · Automatic orientation plugin

    I asked, because with a lot of organic models I printed lately it doesn't do anything.

    If I load a cube and rotate it on its point, it reacts as expected, but if I have an organic model and rotate it in a position where a lot of red shows it does nothing...

     

    Huh. Odd. Do you have an example of one of those models?

  • Link to post
    Share on other sites

    Posted · Automatic orientation plugin

    I had an older version installed, the most recent one fixed the problem...

    works great!

    • Like 2
    Link to post
    Share on other sites

    Posted (edited) · Automatic orientation plugin

    Hi @nallath, I am trying to use the auto-orient plugin in my CuraEngine source, executing from the command line. Not sure how could I integrate the plugin functionality in the engine.

    Edited by Devang
  • Link to post
    Share on other sites

    Posted · Automatic orientation plugin

    It's not intended to be used without the front end. You could try and see if you can get the meshTweaker (my plugin wraps that) to work in command line.

  • Link to post
    Share on other sites

    Posted · Automatic orientation plugin

    I would like to try this with a non-cura slicer, so I would love a standalone app that I could call...

  • 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
        • 18 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...