Giter VIP home page Giter VIP logo

fluxclient's Introduction

FLUXClient

FLUXClient is all you needed to do cool projects and develop new features with your FLUX Delta. It provides APIs to control your machine in every possible way. It's written mainly in Python with some C++ extensions powered by Cython.

Official site: http://flux3dp.com/
Official forum: http://forum.flux3dp.com/
Official documentation: http://dev.flux3dp.com/

Features

  • API for controlling your FLUX Delta.

  • Built-in commands:

    • gcode <-> fcode converter
    • delta discover
    • delta's authorization settings
  • Flux Studio's backend service:

    • printing with CuraEngine or Slic3r
    • svg file parser
    • laser fcode generate from bitmap or svg file
    • pen drawing fcode generate from svg file
    • scanning

Installation

Mac OS X

  • Install python 3.4+ and pip

  • Pillow: pip install Pillow

  • Numpy: pip install numpy

  • Scipy: pip install scipy

  • Setuputils: pip install setuputils

  • pcl(optional): brew install pcl --without-apps --without-qt

  • Compile and install FLUXClient:

git clone https://github.com/flux3dp/fluxclient  
cd fluxclient
python3 setup.py install

Windows

  • Install Visual Studio 2015 Community ( Select only VC++ and Python Tools )

  • Install Anaconda ( Special edition of Python 3.5 ) from here

  • Install Precompiled PCL 1.7.2 for Win64 for MSVC 2015 from here

  • Install Github Desktop ( or git for windows )

  • Pillow: pip install pillow

  • Numpy: pip install numpy

  • Pycrypto: pip install pycrypto

  • Cython: pip install Cython

  • Compile and install FLUXClient:

git clone https://github.com/flux3dp/fluxclient  
cd fluxclient
python3 setup.py install

Quick Start

Utility programs

$ flux_discover
Description: Discover FLUX 3D Printer in the LAN.

$ flux_upnp "device uuid"|"ip address"
Description: Fast manage device name, password, access control and network settings.

$ flux_robot "device uuid"|"ip address"
Description: Control flux device.

$ flux_camera "device uuid"|"ip address"
Description: Grab photo from device camera

$ flux_g2f -i input.gcode output.fc
Description: convert gcode to fcode

$ flux_f2g -i input.fc output.gcode
Description: convert fcode to gcode

SDK: Check this guide for a quick start

from fluxclient.sdk.delta import Delta 

# connect to machine
my_delta = Delta.connect_delta(ip='192.168.18.135', password='flux', kick=True)

# home
my_delta.home()

# move the tool head to position:(0, 0, 80)
my_delta.move(0, 0, 80)

# turn on the left side laser(red laser)
my_delta.turn_laser('L', True)

# disconnect with delta
my_delta.close()

Documents

sudo python3 setup.py build_sphinx
open ./build/sphinx/html/index.html

Community

You can ask questions and discuss with our developers on FLUX Official Forum. Issues are being tracked here on GitHub

License

fluxclient's code in this repo uses the AGPLv3 license, see our LICENSE file.

fluxclient's People

Contributors

yen-von avatar yagami-cerberus avatar blesscat avatar simonxeko avatar proclaim avatar shuoen avatar reo-g avatar jeffontheground avatar nanron0919 avatar davglass avatar root221 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.