• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
SlicerSelector 3D Printer File Image 1
SlicerSelector 3D Printer File Thumbnail 1

SlicerSelector

kilinccagatay avatarkilinccagatay

January 25, 2025

printables-icon
DescriptionCommentsTags

Description

This script provides a convenient way to select a slicer when opening your .3mf or .STL files on macOS. Instead of manually opening each slicer application, this script lets you choose the slicer you want to use directly.

 

https://github.com/kilinccagatay/SlicerSelector

 

You can either create your own script based on this or use the version provided here as a .zip file.

To create your own :
  1. Open Script Editor on your Mac.
  2. Copy and paste the script below into the editor.
  3. Save the script as an application in your Applications folder.

Feel free to modify the slicer sorting or the default slicer in the code to fit your needs.

Important: This is a script, and every character matters. Even a missing comma or quotation mark can break the code. Please double-check for accuracy when making changes.

You can check my YouTube video to see how it works

 

 

 

on open (theFiles)

set slicerList to {"BambuStudio", "Creality Print", "OrcaSlicer", "PrusaSlicer"}

set chosenSlicer to choose from list slicerList with prompt "Select a slicer to open the 3MF file:" default items {"BambuStudio"}

 

if chosenSlicer is false then

else

set chosenSlicer to item 1 of chosenSlicer

set slicerPaths to {¬

{"OrcaSlicer", "/Applications/OrcaSlicer.app"}, ¬

{"PrusaSlicer", "/Applications/Original Prusa Drivers/PrusaSlicer.app"}, ¬

{"BambuStudio", "/Applications/BambuStudio.app"}, ¬

{"Creality Print", "/Applications/Creality Print.app"}}

 

-- Find the path of the chosen slicer

set slicerApp to ""

repeat with slicer in slicerPaths

if item 1 of slicer is chosenSlicer then

set slicerApp to item 2 of slicer

exit repeat

end if

end repeat

 

if slicerApp is not "" then

repeat with fileToOpen in theFiles

do shell script "open -a " & quoted form of slicerApp & " " & quoted form of POSIX path of fileToOpen

end repeat

else

display dialog "No matching slicer found." buttons {"OK"}

end if

end if

end open

License:

Creative Commons — Attribution — Noncommercial — NoDerivatives

Related Models

Thor Mjolnir Hammer Bic Pen preview image

Thor Mjolnir Hammer Bic Pen

effektz profile image

effektz

9,090

Diverse Schilder / various labels  for hobby & makers preview image

Diverse Schilder / various labels for hobby & makers

RPK profile image

RPK

2

Cute Fluffy Puppy Figurine to Print preview image

Cute Fluffy Puppy Figurine to Print

bonowski. profile image

bonowski.

3

Vorpal The Hexapod Walking Robot preview image

Vorpal The Hexapod Walking Robot

vorpal profile image

vorpal

4,986

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi preview image

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi

Fails&Makes profile image

Fails&Makes

Customizable EU License Plate Keychain preview image

Customizable EU License Plate Keychain

John_M profile image

John_M

42

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED preview image

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED

scottrlindsey profile image

scottrlindsey

4,452

Small Parts Storage Drawers - Organizer preview image

Small Parts Storage Drawers - Organizer

GT 3D Makers profile image

GT 3D Makers

29

9