Jump to content
Ultimaker Community of 3D Printing Experts
ChrisSalzburg

STL-Tweaker: The Open-Source auto-rotate module.

Recommended Posts

Hi makers & designers!

I'm working on a project to fully integrate 3D-Printing into the manufacturing process. However, this tasks requires a reliable auto-rotate module which positions the object files on the build plate in their optimal orientation.

So I wrote the STL-Tweaker, available as open-source from Github.

This 3D object positioning tool, written in python, is also intended as module for Cura. So feel free to integrate the STL-Tweaker into Cura, your own Software or invoke it from the command line.

model7.png

A prototype with its tweaked clone, tweak your objects

Check out the STL-Tweakers Blogpost for detailed informations and the direct comparison between the STL-Tweaker and the StrataSys' CatalystEX auto-rotate function. You will be amazed!

I'm glad to hear about your applications!

Chris

  • Like 1

Share this post


Link to post
Share on other sites

It could use a bit more documentation in the functions. I'm willing to give it a go to make this into a plugin, but I will need to do a bunch of re-factoring to get it to work (eg; I don't want the plugin to load a file, I want it to use an already loaded file (so it can work for all Cura supported file types)

  • Like 2

Share this post


Link to post
Share on other sites

It could use a bit more documentation in the functions. I'm willing to give it a go to make this into a plugin, but I will need to do a bunch of re-factoring to get it to work (eg; I don't want the plugin to load a file, I want it to use an already loaded file (so it can work for all Cura supported file types)

 

I'm glad you like the STL-Tweaker. I will publish a extended version of the Tweaker in the next days, which supports also the 3mf format. In this version, the internal work process is clearer.

If you wish, I'll send you a preliminary STL+3mf Tweaker-version (it works just in Linux right now)

Share this post


Link to post
Share on other sites

To put it in a nutshell, the STL-Tweaker uses the mesh format for the calculations.

The function >tweak< manages the internal workflow, while the other functions are callable form external python code.

Notice the function >arrange<: This one reads the facetts of the mesh format and puts each facett into a 4x3Matrix (Normal vector plus 3 vertices)

If you need more infos, feel free to ask!

Share this post


Link to post
Share on other sites

An updated version of the Tweaker is now available. The improvements in a nutshell:

Link to the 3d print orientation tool

 

  • bi-algorithmic mode: Two different algorithms complement each other
  • simpler to apply, both in command line and IDE
  • command line parser for presetting tweaking mode
  • significant improvements for objects without plain surfaces

 

  • Like 2

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

    • How to 3D print with reinforced engineering materials
      Ultimaker is hosting a webinar where we explain how you can achieve and maintain a high print success rate using these new reinforced engineering materials. Learn from Ultimaker's Product Manager of Materials and top chemical engineer Bart van As how you can take your 3D printing to that next level.
      • 0 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!