Giter VIP home page Giter VIP logo

Comments (1)

fgebhart avatar fgebhart commented on May 31, 2024

The main reasons why I initially introduced this resolution-limiting-voodoo was

  • to improve the user experience (of the average user) by limiting the computation time
  • to avoid the streamlit app from being shutdown due to rate-limiting / being non-functional due to resource issues

I agree that the first bullet point could be addressed by introducing something like your suggested compression-slider. Also currently there are only a few requests per day, which is why increased computation times should also not be an issue.

Still, I'm quite certain that at least some resolution limiting is required, as otherwise it would be super easy (simply by selecting a large area) to generate STL files with >10s of GB, which in turn would likely cause rate limiting or a crashed streamlit app.

However, I might be able to change the limitation quite a bit, because:

  • little app usage as mentioned above,
  • while working on the tiling feature, I started implementing zipping the STL files which allows to reduce the volume by roughly a factor of 4.

With that, I'm planning to first implement the tiling feature (as per #45) together with the zipping and will try to come up with a better resolution-limiting-voodoo (maybe with an additional slider) afterwards.

from mapa.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.