OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

fr:861 dynamically build handy models submenu

Open ShaneDelmore opened this issue 1 year ago • 3 comments

For feature request 861, dynamically build handy models submenu list of models from user resources shape directory, followed by application resources handy_models directory.

This is a simple implementation with no caching and it does not have a gui like prusaslicer shape gallery does for users to add or remove models.

To use add a folder named shapes in your user application data directory and add stl or 3mf files. Underscores in the name will be replaced with spaces when generating the menu entries and the file extension will be discarded.

ShaneDelmore avatar Dec 30 '23 07:12 ShaneDelmore

This is targeted at https://github.com/SoftFever/OrcaSlicer/issues/861

ShaneDelmore avatar Dec 30 '23 07:12 ShaneDelmore

Maybe also rename the built-in model file names to make it consistent with current display names? "ksr fdmtest v4" looks much more unpleasing than "Autodesk FDM Test".

Noisyfox avatar Dec 31 '23 08:12 Noisyfox

Thanks Shane. I'm not very comfortable iterating through a folder when a context menu pops up. Plus, the handy_models folder is within the application folder, which is not recommended for storing user content. If you are interested and want to take on the challenge, porting PrusaSlicer's shape gallery would be more preferable. From there, we can further enhance it.

SoftFever avatar Dec 31 '23 09:12 SoftFever

I'll close the pr.

ShaneDelmore avatar Jan 01 '24 01:01 ShaneDelmore