Code Monkey home page Code Monkey logo

photonfileeditor's Introduction

PhotonFileEditor

The PhotonFileEditor is a utility to display, make and edit files for the Anycubic Photon printer. The current version is beta. This means that you may encounter bugs. Some bugs can potentially harm your printer, imagine for instance a buggy photonfile which tells your printer to move down instead of up after printing a layer!

PhotonFileEditor is programmed in Python 3.6 and uses one mandatory library, pygame, and two optional libraries (numpy and pyOpenGL).


Installation

You can run PhotonFileEditor in Windows, OSX and Linux.

All the releases can be found at https://github.com/Photonsters/PhotonFileEditor/releases

For Windows an easy install package is available. For Linux and OSX you have to install python and some libraries.

Windows:

  • Download the MSI file and run it.
  • If you want to run the latest version check the step-by-step in issue #24

OSX/Linux:

  1. Download the source code in zip or tar.gz.
  2. Install Python 3 from https://www.python.org/downloads/
    or install Anaconda 3.6 https://www.anaconda.com/download/
  3. Check the python version is above 3 by typing in the command line 'python --version'
  4. Install the pygame library (https://www.pygame.org/wiki/GettingStarted) by
    • opening a dos prompt/linux terminal
      or if using Anaconda use the windows start menu, type/find 'anaconda' and run the anaconda prompt
    • type 'python -m pip install -U pygame --user' to install the required library
  5. Recommended: with numpy installed a number of actions will be a lot faster, like importing and exporting of images and also updating the layer image when navigating.(Anaconda installations already comes with Numpy 1.14.3 installed, however better to be safe than sorry, so...)
    • type 'python -m pip install -U numpy --user'
  6. Optional: with opengl installed you can (in a future release) view and slice STL files.
    • python -m pip install PyOpenGL
  7. Download this repository as a zip file and extract
  8. You have two options to run PhotonFileEditor:
    • from your file explorer find and run PhotonEditor.py
    • from a dos prompt/linux terminal, navigate to the directory where you extracted the zip file and type 'phyton PhotonEditor.py'

Attention: PhotonFileEditor will not work with Python 2! Read Issue #3


How to help with the development

There are a few things you could do to help me out with developing this program further:

Programming

The core programming team currently only consists of 1 programmer (me). Some extra hands are needed to make some faster progress. Please let me (GitHub alias NardJ) know.

Bugfixing

  1. Test PhotonFileEditor with your own (large) Photon files.
  2. Check if edited/saved Photon files print as expected on your Photon printer.
  3. Let me know of any bugs you find by posting a issue here

GUI

The User Interface and its esthetics always could benefit from further improvements. Any suggestions are more than welcome!

Functionality

If you are missing functionality which is not mentioned below, please let me know here.

Since this is very much an alpha version (or rather an alpha of an alpha version), all suggestions of any kind are more than welcome!


Implemented functionality

Currently the following functionality is implemented:

  1. Viewing all data from a .Photon file, including encapsulated sliced bitmaps, generic info, meta-info and preview images/thumbnails.
  2. Editing all numeric data of the Photon File. Data-bytes which are internally used (location of bitmaps etc) are shown but readonly.
  3. Basic editing of individual layer images and multiple layers at once.
  4. Delete/Duplicate/Copy Layers
  5. Exporting all images
  6. Importing bitmaps (.e.g. from Povray as png-files) in an exisiting Photon File (which is thus used as a template)
  7. Undo before mentioned actions Delete/Duplicate/Copy.
  8. Apply new resin settings to the photon file
  9. Starting fresh with a new .Photon file
  10. Saving to a .Photon file.

Functionality under development

The following functionality will be implemented soon:

  1. Improved layer editing
  2. Slicing STL's to layer images
  3. 3D view of bitmap data
  4. Improved GUI

Current screenshot

Basic settings view

image

Advanced settings view

image

Layer editing

image

photonfileeditor's People

Contributors

nardj avatar x3msnake avatar andoryuuta avatar reonarudo avatar

Watchers

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