Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Anyone using custom properties and MBD to prepare slicer-ready 3D prints from Onshape?

Domechanic
Domechanic Member, pcbaevp Posts: 17 PRO
edited October 14 in General

For our small-series devices, we 3D print many of the components ourselves, on Bambu and Prusa printers. Today we re-enter layer height, infill and supports in the slicer every time, and I'd like to define this once in Onshape.

Our plan:

  • Properties: one custom property per part ("Print profile", e.g. PETG_strong) that maps to layer height, infill and support settings.
  • Print orientation: an MBD datum on the build-plate face of each part.
  • Export: STEP AP242 with MBD annotations, plus the part geometry.
  • Automation: a small Python tool reads the property and the datum, orients the part, and patches a template slicer project (Bambu Studio / PrusaSlicer).
  • Result: a ready-to-open slicer project 3MF with the print settings already applied.

Questions:

  • Has anyone built something similar or found a better approach?
  • Do you see any problems or pitfalls with this approach?

Thanks for any input!

Tagged:

Comments

  • brian_jordan
    brian_jordan Member, Developers Posts: 145 ✭✭✭
    edited October 14

    Is the Support-Fins FS the sort of thing you are looking for? I have used it on a couple of projects.

    image.png
  • Domechanic
    Domechanic Member, pcbaevp Posts: 17 PRO
    edited October 15

    I haven't really thought about drawing support in CAD yet.
    So far, I've found it works better in the slicer.
    Right now, I’m thinking more along the lines of defining the contact surface and perhaps support surfaces using MDB.


    Here’s what I’ve already tested, and it works in principle:
    - Select a base surface in MDB (e.g., Z) for alignment and contact with the print bed.
    - Import the exported STEP242 file into a script, rotate it to the print plane, and convert it to an STL file.


    That way, we can be sure that no matter who exports and prints it, the orientation will be correct.
    My question is more about the MDBs. Has anyone played around with these yet?