fookatchu / sl1tophoton Goto Github PK
View Code? Open in Web Editor NEWConverter for SL1 to Photon files. Used to slice 3D-Models with Slic3r PE and print on Anycubic Photon
License: GNU General Public License v3.0
Converter for SL1 to Photon files. Used to slice 3D-Models with Slic3r PE and print on Anycubic Photon
License: GNU General Public License v3.0
Hello, It looks like photonfile.py is hard coded to 1440x2560. I see some good checking logic, and most of your code seems hard coded for 1440x2560.
When testing files in anticipation of using the Photon Mono X which is 3840x2400. I dont have one yet, but looking at the slicer options, I would greatly prefer to use sl1tophoton as my preferred method :)
Is support for 4K something that you are already working on?
Nice easy to read code by the way. If there is a branch that you are working on for 4K please let me know.
Would you consider adding a printerconf file, perhaps using configparser:
[DEFAULT]
xpixel= 1440
ypixel = 2560
zheight = 155
antialias = NO
[Photon Mono X]
xpixel= 3840
ypixel = 2400
zheight = 240
antialias = NO
Then adding a selector to the GUI, and --option to select the printer?
Hey, I stumbled across this after finding your thread on PrusaSlicer's issues. The Sparkmaker and Sparkmaker FHD both use Chitubox like the Photon, but output *.wow and *.fhd files. I'm not sure if there are any other differences between those files and the photon file though. Would it be possible to support converting sl1 files to Sparkmaker compatable files?
There seems to be a bug on linux where the order of the layers is incorrect. Needs further analysis.
In Ubuntu 18
$ python SL1_to_Photon.py test.sl1
Traceback (most recent call last):
File "SL1_to_Photon.py", line 79, in <module>
sl1.extract_images(tmpdirname)
File "SL1_to_Photon.py", line 39, in extract_images
with open(os.path.join(dirpath, filename), 'bw') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpy06zo06b/thumbnail/thumbnail400x400.png'
I installed its own venv:
(venv) $ pip install -r requirements.txt
Requirement already satisfied: numpy>=1.16.2 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: Pillow>=6.0.0 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: pyphotonfile>=0.1.1 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied: PySide2>=5.12.2 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied: shiboken2==5.14.1 in ./venv/lib/python3.6/site-packages (from PySide2>=5.12.2->-r requirements.txt (line 4))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.