All Projects → Photonsters → Slicer

Photonsters / Slicer

Licence: GPL-3.0 license
Photon Open Slicer - Command Line Slicer usable as MeshMixer plugin or as standalone

Programming Languages

HTML
75241 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Slicer

Shadowsocks Heroku
本项目已删除
Stars: ✭ 224 (+348%)
Mutual labels:  free
Cortex Analyzers
Cortex Analyzers Repository
Stars: ✭ 246 (+392%)
Mutual labels:  free
microtome
A browser based GPU accelerated 3D model slicer
Stars: ✭ 25 (-50%)
Mutual labels:  slicer
React Landing Page Template
A simple react one page landing page templates for startups/companies
Stars: ✭ 224 (+348%)
Mutual labels:  free
Startbootstrap Bare
A bare Bootstrap HTML starter template for rapid development - created by Start Bootstrap
Stars: ✭ 235 (+370%)
Mutual labels:  free
Startbootstrap Sb Admin
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
Stars: ✭ 2,861 (+5622%)
Mutual labels:  free
Oceanwp
Free multi-purpose WordPress theme
Stars: ✭ 219 (+338%)
Mutual labels:  free
neopo
A lightweight solution for local Particle development.
Stars: ✭ 19 (-62%)
Mutual labels:  photon
Waveline Server
Simple self-hosted music streaming server
Stars: ✭ 248 (+396%)
Mutual labels:  free
Build Your Own X
🤓 Build your own (insert technology here)
Stars: ✭ 125,520 (+250940%)
Mutual labels:  free
Udemy Course Grabber
A script/software for automatically enrolling/joining 100% discounted Udemy courses for free. Get Paid Udemy courses for free with just a few clicks.
Stars: ✭ 230 (+360%)
Mutual labels:  free
Warehouse Inventory System
Open source inventory management system with php and mysql
Stars: ✭ 235 (+370%)
Mutual labels:  free
Awesome Linux Software
A list of awesome applications, software, tools and other materials for Linux distros.
Stars: ✭ 16,943 (+33786%)
Mutual labels:  free
Books
Awesome Books
Stars: ✭ 3,242 (+6384%)
Mutual labels:  free
karting
A multiplayer racing example project in Unity using the SocketWeaver SDK
Stars: ✭ 39 (-22%)
Mutual labels:  photon
Mongodb Quickstart Course
Course demos and handout material for Talk Python's MongoDB Quickstart course
Stars: ✭ 220 (+340%)
Mutual labels:  free
Startbootstrap One Page Wonder
A simple, one page, Bootstrap HTML website template created by Start Bootstrap
Stars: ✭ 249 (+398%)
Mutual labels:  free
Flex-AntiCheat
Flex AntiCheat - Optimized Configs For Multiple AntiCheats
Stars: ✭ 37 (-26%)
Mutual labels:  photon
preact-photon-electron-quick-start
Demo desktop app built with Electron using the Preact-Photon UI library
Stars: ✭ 32 (-36%)
Mutual labels:  photon
Free Programming Books Zh cn
📚 免费的计算机编程类中文书籍,欢迎投稿
Stars: ✭ 85,491 (+170882%)
Mutual labels:  free

PhotonSlicer

The PhotonSlicer Converts STL (binary) files to Images or PhotonFile. It is programmed in Python 3 and uses Cython (fast compression / mesh calculations), OpenCV (image drawing routines), numpy (handling large image data) and pyopengl for slicing if possible.


Status

Operational:

  • The included produced photon files have been printed successfully.

Installation

Download the repository. Depending on your setup do one of the following:

  • Windows: 'Win64/' contains the 7Z files for Windows 64-bits returning your slicing progress in a window. Just unpack and run! If you want to have your progress info displayed as plain text, replace PhotonSlicer.exe with the file in Con64/.
    You can test your install with: photonslicer.exe -s STLs\legocog.stl -g True -f False

  • Linux/OSX: For Linux and OSX you have to install python and some libraries (Cython, numpy, opencv-python, PyOpenGL, PyOpenGL-accelerate, Pygame if glut not available). To test it: python3 photonslicer.py -s STLs\legocog.stl -g True -f False

  • Linux & MeshMixer: First make sure you already have Wine installed and use it to run MeshMixer 3.3. You should unpack the 'Win64/' 7Z files from the repository to e.g. 'Program Files'. You can test your it with: wine photonslicer.exe -s STLs\legocog.stl -g True -f False

Setup MeshMixer

  1. Install MeshMixer (Linux users: First install Wine and install MeshMixer in Wine)
  2. Download and unpack the zips in /Win64 (use 7-zip) to a location on your computer e.g. C:/Program Files/PhotonSlicer/
  3. Open MeshMixer
  4. Go to menu File > Preferences (Alt-T)
  5. Go to tab Printers
  6. Choose Add
  7. Fill fields as follows:
    • Manufacturer: 'Anycubic'
    • Model: 'Photon - MC Rapid Clear' or append your own resin brand/type names
    • Width: '65.00'
    • Depth: '115.00'
    • Height: '155.00'
    • Printer software name : 'Photon Slicer'
    • Printer software path : 'C:/Program Files/PhotonSlicer/PhotonSlicer.exe'
    • Format of file to ... : 'STL'
    • Command line arguments: '-g True -f False -e folder -l 0.05 -o 6 -t 8 -be 90 -bl 8 -p "C:/Program Files/PhotonSlicer/STLs/photon" -s'
  8. Close window 'Printer Properties'
  9. Close window 'Preferences'

You can add an extra 'printer' for each resin / settings combo you need.

Use MeshMixer to Slice

  1. Open an STL file, check if fits the build volume and is not below it.
  2. Press 'Print' icon on bottom of left toolbar.
  3. A progress windows appears.
  4. The folder with your photon file opens

If you don't see a progress window and now file is added to 'C:/Program Files/PhotonSlicer/STLs/photon' check 'C:/Program Files/PhotonSlicer/log.txt' for error messages.

YouTube tutorial

Tutorial

MeshMixer Full Workflow

  1. Open an STL file, check if fits the build volume and is not below it.
  2. Hollow in MeshMixer
  3. Infill in MeshMixer
  4. Orientation - Principles using Anycubic Photon Slicer
  5. Supports in MeshMixer
  6. Press 'Print' icon on bottom of left toolbar. A progress windows appears.
  7. The folder with your photon file opens

Functionality under development

  • The main focus will remain speed, although OpenGL slicing made it a lot faster.
  • Since PhotonSlicer was mainly meant as a plugin, mesh editing (hollowing/infill/positioning) will not be developed. Use the functionality of MeshMixer instead!

Command Line Parameters

usage: PhotonSlicer.py [-h] -s FILENAME [-p PHOTONFILENAME]
                       [-r RESCALE]
                       [-l LAYERHEIGHT] [-t EXPOSURE] [-be BOTTOMEXPOSURE]
                       [-bl BOTTOMLAYERS] [-o OFFTIME]
                       [-g GUI] [-f FORCECPU]
                       [-e EXECUTE]

required: stlfilename

examples: PhotonSlicer.exe -s ./STLs/Cube.stl                         -> ./STLs/Cube.photon
          PhotonSlicer.exe -s ./STLs/Cube.svg                         -> ./STLs/Cube.photon
          PhotonSlicer.exe -s ./STLs/Cube.stl -p photon -l 0.05       -> ./STLs/Cube.photon
          PhotonSlicer.exe -s ./STLs/Cube.stl -p /home/photon -l 0.05 -> /home/Cube.photon
          PhotonSlicer.exe -s ./STLs/Cube.stl -p /Sqrs.photon -l 0.05 -> /Sqrs.photon
          PhotonSlicer.exe -s ./STLs/Cube.stl -p images -l 0.05    -> ./STLs/Cube/0001.png,..
          PhotonSlicer.exe -s ./STLs/Cube.stl -p ./sliced/ -l 0.05 -> ./sliced/0001.png,..
          PhotonSlicer.exe -s dialog -p dialog -g True -f False    -> OpenGL is used

optional arguments:
  -h, --help            show this help message and exit
  -s STLFILENAME, --stlfilename STLFILENAME
                        name of (binary) stl file to import
  -p PHOTONFILENAME, --photonfilename PHOTONFILENAME
                        photon file name (ends with '.photon') OR
                        output directory (ends with '/') for images OR
                        'dialog' to select photon file (only in GUI mode) OR
                        'dialogdir' to select dir to save images (only in GUI mode) OR
                        'photon' as argument to generate photon file with same name OR
                        'images' to generate images in directory with same name as stl
                        these can be combined e.g. './subdir/photon'
  -l LAYERHEIGHT, --layerheight LAYERHEIGHT
                        layer height in mm
  -r RESCALE, --rescale RESCALE
                        scales model and offset
  -t EXPOSURE, --exposure EXPOSURE
                        normal exposure time (sec)
  -be BOTTOMEXPOSURE, --bottomexposure BOTTOMEXPOSURE
                        exposure time for bottom layers
  -bl BOTTOMLAYERS, --bottomlayers BOTTOMLAYERS
                        nr of layers with exposure for bottom
  -o OFFTIME, --offtime OFFTIME
                        off time between layers (sec)
  -g GUI, --gui GUI     show progress in popup window
  -f FORCECPU, --forceCPU FORCECPU
                        force slicing with CPU instead of GPU/OpenGL
  -e EXECUTE, --execute EXECUTE
                        execute command when done
                        'photon' will be replace with output filename
                        if argument is 'folder' a file browser will open

Kudos to @mkeeter @fros1y @enov for the inspirational work and permissive license on the Hackaton Slicer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].