agent icon indicating copy to clipboard operation
agent copied to clipboard

3MF files

Open Brantlab opened this issue 8 months ago • 6 comments

Is there a way to get 3mf files to show up under models? I looked for a general way to move them manually but not finding a way.

Brantlab avatar May 04 '25 20:05 Brantlab

Yeah, would definitely like this as well.

thegpfury avatar Nov 02 '25 14:11 thegpfury

Hi, There is a typo generating the assetTypes.toml file. under models the .3mf extension is written as .3fm. You can edit the file, correct the extension name. you will also have to re index the whole database, you can do that by deleting the data.db file and restarting the container. By doing so you will loose all the custom data you might have added to the files.

My sugestion stop you current instance copy the docker compose file to another folder start the new instance it so it will create all the config files stop it edit the typo delete de data.db file start it again go to the webpage and see if everything looks good. if so, stop the new instance go back to your original one and delete the data.db and start it again

EduardoOliveira avatar Nov 02 '25 22:11 EduardoOliveira

I did this, and they show up under the models tab now, but they don't seem to work like the STL files do, as in I can't preview them?

thegpfury avatar Nov 02 '25 23:11 thegpfury

Previewing 3mf files is technically different and has not been implemented, maybe in a future version.

EduardoOliveira avatar Nov 02 '25 23:11 EduardoOliveira

Gotcha. That would be a huge benefit from my perspective.

thegpfury avatar Nov 03 '25 13:11 thegpfury

I understand, when I was actively developing the project 3mf wasn't just a big thing for me, but now I also recognise the value

EduardoOliveira avatar Nov 03 '25 13:11 EduardoOliveira