Coder Social home page Coder Social logo

leota / blender-web-server Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 1.72 MB

blender-web-server is designed to integrate the powerful capabilities of Blender with web-based applications, enabling Blender to be accessed and controlled via a web server.

Home Page: https://polygona.io

License: GNU General Public License v3.0

Dockerfile 1.74% Python 96.38% Shell 1.88%
blender blender-python blender-scripts blender3d fastapi python webserver

blender-web-server's Introduction

blender-web-server

Overview

blender-web-server is designed to integrate the powerful capabilities of Blender with web-based applications, enabling Blender to be accessed and controlled via a web server. This project is particularly useful for those looking to integrate Blender into web-based 3D modeling and rendering workflows. See a live implementation at polygona.io.

Built using FastAPI, the blender-web-server is containerized for ease of deployment, utilizing Docker for consistent and scalable environments. For file storage and management, the project is configured to work with DigitalOcean Spaces.

Getting Started

Prerequisites

  • Python 3.10 and pip (Check with python --version and pip --version)
  • Docker

Local Setup

  1. Prepare Virtual Environment:

    • Install virtualenv if not already available: pip install virtualenv
  2. Environment Configuration:

    • Duplicate the environment template: cp ./app/.env-example ./app/.env
    • Edit ./app/.env to include the necessary environment variables.
  3. Running the Application:

    • Execute the development script: ./dev.sh

The application is now accessible at http://localhost:8080

Docker Deployment

Building and Running with Docker

To build and run blender-web-server within a Docker container, use the following commands:

docker build -t blender-container .
docker run -it --rm -p 8080:8080 blender-container

This will create a Docker image named blender-container and run it, making the application accessible at http://localhost:8080.

Contributing

We welcome contributions to blender-web-server! Please read our Contributing Guidelines for details on how to submit pull requests, and expectations regarding code contributions.

Support

If you find this project valuable or if it helps you in your projects, consider sponsoring it through GitHub Sponsors! Your support is essential to maintain and develop the project further.

SPONSOR ME

License

This project is licensed under the GNU General Public License - see the LICENSE file for details.

blender-web-server's People

Contributors

leota avatar

Stargazers

 avatar John Fajardo avatar

Watchers

 avatar

Forkers

polygona-ltd

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.