Jump to content
Ultimaker Community of 3D Printing Experts

linux: how to send STL to running Cura from command line?


Recommended Posts

Posted · linux: how to send STL to running Cura from command line?

Running Cura (3.3.1) on an Xubuntu 16.04. I didn't go through the hazzle to build my own Cura but am simply using the provided AppImage

 

I would like a way to send produced STL files to an already running instance, simply adding to the build plate. STL's are generated by some scripts, so I would prefer to avoid manually loading them from withing Cura.

 

It seems to work seamlessly on a Mac, so it should be doable on Linux with well.

 

I try something like:  

cura /home/mogul/stl-dump/benchy.stl

which starts a new Cura, so if I would like to add another model to the same print I had hoped simply to repeat like

cura /home/mogul/stl-dump/marvin.stl

but the later unfortunately starts a new instance of Cura rather than applying Marvin to the same plate as Benchy 

 

What am I missing? How can it be done?

 

/mogul

  • Link to post
    Share on other sites
    Posted · linux: how to send STL to running Cura from command line?

    I think the commandline argument you are looking for is —single-instance. That should connect to an already running instance and hand over the file to that.

    • Like 1
    Link to post
    Share on other sites
    Posted · linux: how to send STL to running Cura from command line?
    14 minutes ago, ahoeben said:

    I think the commandline argument you are looking for is —single-instance. That should connect to an already running instance and hand over the file to that.

    --single-instance do indeed get me the same Cura instance. But unfortunately when I call it second time, it replaces the part, not simply adding to the build plate.

    I want to print a Marwin and a Benchy at the same time.

    I couldn't find an option for that. Can it be done?

  • Link to post
    Share on other sites
    Posted · linux: how to send STL to running Cura from command line?
    2 minutes ago, ahoeben said:

    Doesn’t “./cura marvin.stl benchy.stl” work?

     

    It does. It isn't exactly the same workflow as I have on the mac where I am able to throw parts over one by one as they get made by the CAD tool chain.

    Now I will have to build all the STL files and then kick them to Cura in one go. I think I can work my way around it.

     

    I just find it a bit strange the same program on two different platforms behave differently here, but well, not a biggie, the

    --single-instance helped a lot.

     

  • 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

      • Talking additive | The 3D printing podcast
        Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
          • Like
        • 3 replies
      • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
        Save your seat for either broadcast on September 23.
        What will you learn?
        · Best practices for iterative print preparation and every lesson you should learn from each print
        · The right way to use per-object settings and when they are most useful
        · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
        · How to optimize print profile settings and whether to “keep” or “discard” changes
        · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
        · And a whole lot more tips and tricks!
         
        How can I join?
        This free masterclass will take place twice:
        1. 11am CEST (5pm SGT, 5am EDT)
        2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
          • Like
        • 0 replies
      • Do you use 3D printing at work? Let us know
        It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
        • 1 reply
    ×
    ×
    • Create New...