Giter VIP home page Giter VIP logo

msource-demo's Introduction

Intro

This is a simple app that allows you to upload an .stl file, slice it using Slic3r, then parse the GCode file in order to make some basic cost estimations on the model.

It doesn't determine if the model metric used is mm or inches. Assumes mm

Prerequisites

I've developed this on Mac OSX, so the instructions are currently tailored to that platform. (In an ideal world, I would have put it into a Docker/VM for reuse)

_Homebrew needs to be installed - https://brew.sh/ _

  • Python3 - brew install python
  • Pipenv - brew install pipenv
  • Redis - brew install redis
  • Slicer - https://dl.slic3r.org/dev/mac/slic3r-1.3.1-dev-9856947.dmg

Setup

  • Open a terminal window

  • Run redis-server /usr/local/etc/redis.conf

  • Open a second terminal window

  • Go to the msource-demo/backup directory

  • Run pipenv install

  • Run pipenv shell

  • Run celery -A run.celery worker -c 1

  • Open a this terminal window

  • Go to the msource-demo/backup directory

  • Run pipenv shell

  • Run FLASK_APP=run.py flask run

  • Open the url http://127.0.0.1:5000/ in the browser

msource-demo's People

Contributors

donskifarrell avatar

Watchers

 avatar James Cloos avatar  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.