Jump to content
mogul

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

Share this post


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

Share this post


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?

Share this post


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

Aw, yes, that’s right...

 

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

Share this post


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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

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!