Skip to content

Tag: python

Ursina – Colorize custom model using MTL file

I’m using python 3.8, Windows 10, Ursina. I have a custom 3D model, created with this tool. When exporting, it includes an MTL file (which I’m guessing it uses to store the shape colors). When I go to load it in Ursina, it gives me the following error: Where <path> is my (correct) folder pat…

FastAPI FileResponse cannot find file in TempDirectory

I’m trying to write an endpoint that just accepts an image and attempts to convert it into another format, by running a command on the system. Then I return the converted file. It’s slow and oh-so-simple, and I don’t have to store files anywhere, except temporarily. I’d like all the fi…