Coder Social home page Coder Social logo

fairing-factory's Introduction

Fairing Factory

A website and pipeline for make fairings of any shape for KSP.

The website will give you an area to drag point-to-point lines from either a 1m, 2m, 3m, or 5m base, and ending in a closed cap. You can cut the fairing into a couple of peices, then select a texture, and then you submit your fairing kit order.

The page that processes that form will put the fairing kit order into a json object and lpush it into a redis list.

A python script will consume these fairing kit orders, create a directory for the order, and a directory within that for each part. It will copy any pre-made parts, such as the base, into the kit directory. Then it will lpush a fairing part order for each fairing peice into redis, as well as a fairing kit tracker

A python3 script in blender will consume these part orders, create objects and node colliders with the desired shape, as well as UV coords, and save blend files in the part directories. It will also create the cfg files for each part. It will then lpush part receipts into redis.

Another python script will consume these part receipts and confirm that the part directory is present and contains all the proper files. it will then check the corresponding kit tracker for each one. It will set this part as finished in the kit tracker, and check if all the other parts in the kit are finished. If they are, it will remove the kit tracker and assemble the kit. It deletes the .blend files if requested by the user, and zips the whole kit directory up, and copies it to the download area. Then it somehow notifies the webserver to notify the user with a download link.

fairing-factory's People

Stargazers

Dan Johnson avatar Jimin Park avatar

Watchers

Nathaniel Nifong avatar

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.