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).
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.
- Download the MSI file and run it.
- If you want to run the latest version check the step-by-step in issue #24
- Download the source code in zip or tar.gz.
- Install Python 3 from https://www.python.org/downloads/
or install Anaconda 3.6 https://www.anaconda.com/download/
- Check the python version is above 3 by typing in the command line 'python --version'
- 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
- opening a dos prompt/linux terminal
- 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'
- Optional: with opengl installed you can (in a future release) view and slice STL files.
- python -m pip install PyOpenGL
- Download this repository as a zip file and extract
- 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:
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.
- Test PhotonFileEditor with your own (large) Photon files.
- Check if edited/saved Photon files print as expected on your Photon printer.
- Let me know of any bugs you find by posting a issue here
The User Interface and its esthetics always could benefit from further improvements. Any suggestions are more than welcome!
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!
Currently the following functionality is implemented:
- Viewing all data from a .Photon file, including encapsulated sliced bitmaps, generic info, meta-info and preview images/thumbnails.
- Editing all numeric data of the Photon File. Data-bytes which are internally used (location of bitmaps etc) are shown but readonly.
- Basic editing of individual layer images and multiple layers at once.
- Delete/Duplicate/Copy Layers
- Exporting all images
- Importing bitmaps (.e.g. from Povray as png-files) in an exisiting Photon File (which is thus used as a template)
- Undo before mentioned actions Delete/Duplicate/Copy.
- Apply new resin settings to the photon file
- Starting fresh with a new .Photon file
- Saving to a .Photon file.
Functionality under development
The following functionality will be implemented soon:
- Improved layer editing
- Slicing STL's to layer images
- 3D view of bitmap data
- Improved GUI