Skip to content

Commit 9e6dd5c

Browse files
authored
Add files via upload
1 parent 7a3b0f2 commit 9e6dd5c

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ The PhotonSlicer Converts STL (binary) files to Images or PhotonFile. It is prog
44

55
---
66

7-
# Status
7+
## Status
88

99
Not yet ready:
10-
- PhotonSlicer was optimized for speed using Cython. The install packages need to be rebuild and are not yet available.
10+
- PhotonSlicer was optimized for speed using Cython. The install packages need to be rebuild and are not yet available.
1111
- Real life test with the produced photon files have to be done.
1212

1313
---
@@ -62,7 +62,6 @@ If you don't see a progress window and now file is added to 'C:/Program Files/Ph
6262
---
6363

6464
## Command Line Parameters
65-
6665
```
6766
usage: PhotonSlicer.py [-h] -s STLFILENAME [-p PHOTONFILENAME]
6867
[-l LAYERHEIGHT] [-r RESCALE] [-t EXPOSURE]
@@ -71,12 +70,12 @@ usage: PhotonSlicer.py [-h] -s STLFILENAME [-p PHOTONFILENAME]
7170
7271
required: stlfilename
7372
74-
examples: PhotonSlicer.cmd -s ./STLs/Cube.stl -> ./STLs/Cube.photon
75-
PhotonSlicer.cmd -s ./STLs/Cube.stl -p photon -l 0.05 -> ./STLs/Cube.photon
76-
PhotonSlicer.cmd -s ./STLs/Cube.stl -p /home/photon -l 0.05 -> /home/Cube.photon
77-
PhotonSlicer.cmd -s ./STLs/Cube.stl -p /Sqrs.photon -l 0.05 -> /Sqrs.photon
78-
PhotonSlicer.cmd -s ./STLs/Cube.stl -p images -l 0.05 -> ./STLs/Cube/0001.png,..
79-
PhotonSlicer.cmd -s ./STLs/Cube.stl -p ./sliced/ -l 0.05 -> ./sliced/0001.png,..
73+
examples: PhotonSlicer.exe -s ./STLs/Cube.stl -> ./STLs/Cube.photon
74+
PhotonSlicer.exe -s ./STLs/Cube.stl -p photon -l 0.05 -> ./STLs/Cube.photon
75+
PhotonSlicer.exe -s ./STLs/Cube.stl -p /home/photon -l 0.05 -> /home/Cube.photon
76+
PhotonSlicer.exe -s ./STLs/Cube.stl -p /Sqrs.photon -l 0.05 -> /Sqrs.photon
77+
PhotonSlicer.exe -s ./STLs/Cube.stl -p images -l 0.05 -> ./STLs/Cube/0001.png,..
78+
PhotonSlicer.exe -s ./STLs/Cube.stl -p ./sliced/ -l 0.05 -> ./sliced/0001.png,..
8079
8180
optional arguments:
8281
-h, --help show this help message and exit
@@ -101,7 +100,7 @@ optional arguments:
101100
-o OFFTIME, --offtime OFFTIME
102101
off time between layers (sec)
103102
-g GUI, --gui GUI show progress in popup window
104-
105103
```
106104

107105

106+

compileRLE.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Used to compile rleEncode.pyx
2+
# Linux Mint
23
# sudo apt-get install python3-dev
34
# python3 compileRLE.py build_ext --inplace
5+
#
6+
# Windows 10 (64)
7+
# "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
8+
# python compileRLE.py build_ext --inplace
49

510
from distutils.core import setup
611
from Cython.Build import cythonize

compileTIS.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
# Used to compile rleEncode.pyx
1+
# Used to compile triInSlice.pyx
2+
# Linux Mint
23
# sudo apt-get install python3-dev
3-
# python3 compileRLE.py build_ext --inplace
4+
# python3 compileTIS.py build_ext --inplace
5+
#
6+
# Windows 10 (64)
7+
# "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
8+
# python compileTIS.py build_ext --inplace
49

510
from distutils.core import setup
611
from Cython.Build import cythonize

0 commit comments

Comments
 (0)