When am I going to be able to export from CAD directly into Bambu Studio?

Just drew something in onshape.

Now export, save as, open studio, drag file in.

what is all this?

Why not select export from the cad, then bambu studio automatically opens and has the file?

Can the Bambu People and the CAD people please have a meeting and discuss how to make this work?

edit I wouldn’t be surprised if bambu was working on their own cad program. i dread to think how much money that would cost.

1 Like

Just so many “CAD people” to talk to…

  1. AutoDesk
  2. Dassult Systems
  3. Siemens
  4. PTC
  5. FreeCAD developers
  6. Blender developers

Plus probably a lot more.

2 Likes

Fusion’s File→3D Print can send the model to Studio, OrcaSlicer, or other application as an STL, OBJ, or 3MF file.

But I most often export a STEP file.

2 Likes

Meaning what, exactly? Opens it as a new model? Imports it into an open project? Replaces/updates an existing object with the same name? Just does the same thing as opening the file directly from the system using Studio file association?

In my own workflows the only time I’d maybe want the new export automatically opened would be the first time it is exported. After that it’s pretty much part of the project and, for me, needs to be replaced/updated depending on the situation. :person_shrugging:

As one idea of customizing one’s own workflow, a macro automation utility could be set up to watch a folder and open any new/updated 3MF/STL/OBJ files using the default file association or specific program. For that matter Studio can even be scripted from a command line, to some extent. But that will have limits. Perhaps some specific feature suggestions for automation could be presented.

-Max

1 Like

It sounds like what you want is the function mentioned above, similar to what Fusion 360 provides.

I use Onshape for most of my CAD work, and I was also frustrated by the lack of slicer integration, or at least some kind of direct handoff.

So I did a little vibe coding a few weeks back and came up with what I would call an inelegant but workable solution. This is well outside the scope of this forum, and the approach I am outlining assumes the user has reasonably solid desktop and scripting knowledge. Actual coding knowledge is not required, but you do need to understand the plumbing between Windows, the browser, a userscript, a local background service, and the Onshape API.

To be clear, I am sharing the concept and the rough architecture, not a supported project, not a tutorial, and not code.

I had considered posting it on GitHub, but I have no interest in turning this into unpaid tech support for people who do not want to make the technical effort. Too many users do not want to learn how to fish. They just want the fish handed to them, then complain when it is not filleted, cooked, and plated. I have no patience for that anymore, and that is one of many reasons I left software development over 30 years ago.

This post is only meant to show that the function is possible. For a technical user who understands the pieces involved, or who is willing to vibe code through them, it is not that hard.

Here is the raw recipe of how I did it.

It requires these three elements to function. If these three things are not familiar to you, this may be a daunting task.

  1. A custom userscript. I use Tampermonkey, but it should work with any userscript browser extension.
  2. A Python server that listens in the background and sits in the system tray.
  3. API keys generated from the Onshape developer account so the local server can talk to Onshape.

This is what my output looks like at the moment. It opens both Orca Slicer and Creality Print, which is based on Orca.


Once you click export, the slicer you chose opens and the STEP file is passed to it.

You still have to set the final slicer options manually. Orca Slicer does not appear to have hooks to automatically invoke a specific profile, or at least none that I found. If someone knows of a way to do that, I would like to hear about it.

Also, I have some test-server-connection features that still need work. They do not work reliably at the moment.

Due to Bambu’s open hostility toward developers, I have zero appetite to even try to support Bambu Studio. Truth be told, I never used Handy, and I have not used my Bambu login since 03/24. I have had the printer since 05/23. I have been using LAN mode ever since I could.

1 Like

Yet you no trouble supporting Nicrosoft Windows which is even more hostile towards developers, being proprietary closed source and run by a company which has for a long part of its history been openly hostile towards OSS and Linux.

What is really going on?

1 Like

Bambu can’t provide timely and effective support for Studio, which is vastly built on open source work, but they’re gonna make their own CAD?

Oooookay then.

1 Like

I am not making an ideological purity argument.

Windows is simply the operating environment where my CAD, browser, userscript, local service, and slicers are already running. I am not writing a Windows product, publishing a Windows integration, or offering support for it.

Bambu Studio is different. Supporting it would mean spending time testing against an application and ecosystem I do not use and have no interest in supporting.

The distinction is not open source versus closed source. The distinction is whether I am willing to spend my own time supporting another slicer target. In the case of Bambu Studio, the answer is no.

My intent was to show that what the original poster asked for is possible. Not only is it possible, but I provided proof that I had done it. I also gave a general direction for anyone who wants to duplicate the effort and has the technical background to do so.

That is the purpose of the post: proof of feasibility and a high-level architecture, not a turnkey project and not a support commitment.

Onshape is browser-based, so the exports are downloaded by the browser? In that case the/a browser can be set up to open the exported (downloaded) file type(s) using any application of one’s choosing. The exact method varies by browser, but this is a generic setting, not anything specific to 3D formats.

-Max

1 Like

Make that suggestion to Onshape. It is up to them to make that feature.

Fusion has a menu choice called '3D Print" through which a model can be sent directly into a slicer of choice. I go though many iteratios when prototyping. Without that feature, the workflow would have been tiresome when everytime I need to test print a change I have to export and then pull the exported model into the slicer.

I would not recommend this workflow imo but, you can do it right now

upon app loading you get greeted with lots of righthful warnings

and then youre done clicking ok and youre in bambustudio with your ephemeral model, of which there is no saved artifact of until you save it yourself…. [I dislike this strongly - IMO export model from cad is an act of publishing, I want artifacts, and I want them saved on my disk, outside of the locus of control of any specific app]

This is the heart of the issue and why those warning messages are issued.

What you want is this:

The problem is not that 3MF is a bad format. The problem is that many slicers use 3MF as a project container, not just as a neutral geometry file.

A 3MF file can include the model geometry, object placement, build plate assumptions, printer profile, material selections, and slicer-specific settings. That is useful when you reopen the file in the same slicer environment that created it. It is less reliable when the file is moved between different slicers, different printer profiles, or different build plate sizes.

For clean model transfer, STEP is usually the best option when the slicer supports it because it preserves the CAD geometry. If STEP is not available, STL is usually the safest fallback for basic mesh geometry. OBJ is typically a third choice unless you specifically need color or texture data.

So the safer workflow is to import the model geometry into your slicer and let your slicer apply the correct printer, plate, nozzle, material, and motion limits. Loading someone else’s 3MF project can also load assumptions that were valid on their machine but wrong on yours.

2 Likes

Fair nuff re: the error messages, I tried to change as few of fusions buttons from default as possible. I still won’t use that workflow because it does not produce an artifact, I’m big into artifacts.

Not sure what you mean with artifacts, but when I export from Fusion to BambuStudio (or Orcad Slicer) the 3.mf file (or .stl or .obj) is saved in C:\Users\bernd\AppData\Local\Temp\Neutron