[LDPartEditor] First Alpha Version News


[LDPartEditor] SymSplitter
#25
My SymSplitter implementation is now complete Smile
I translated Philo's C++ code into Java and did some modifications.

LPE's SymSplitter supports all features of the original program*, but works a little bit different.
Instead of deleting the file contents, it just reorders them, e.g.:

Take this as an input file:
Code:
4 16 -8 -5.25 8 -36.25 -5.25 36.25 56.6769 -5.25 36.25 28 -5.25 8
4 16 -36.25 -5.25 -36.25 -36.25 -5.25 36.25 -8 -5.25 8 -8 -5.25 -8
0 BFC INVERTNEXT
1 16 0 -5.25 0 -1 0 0 0 -1.3125 0 0 0 1 stud4a.dat
4 16 28 -5.25 -8 56.6769 -5.25 -36.25 -36.25 -5.25 -36.25 -8 -5.25 -8
1 16 0 -5.25 20 -1 0 0 0 -1.3125 0 0 0 1 stud4.dat
1 16 0 -5.25 -20 -1 0 0 0 -1.3125 0 0 0 1 stud4.dat

And you will get:
Code:
0 !LPE TODO SymSplitter: Section in front of the plane.
4 9 -8 -5.25 8 -36.25 -5.25 36.25 56.6769 -5.25 36.25 28 -5.25 8
1 1 0 -5.25 20 -1 0 0 0 -1.3125 0 0 0 1 stud4.dat

0 !LPE TODO SymSplitter: Section between the plane.
4 14 -36.25 -5.25 -36.25 -36.25 -5.25 36.25 -8 -5.25 8 -8 -5.25 -8
0 BFC INVERTNEXT
1 14 0 -5.25 0 -1 0 0 0 -1.3125 0 0 0 1 stud4a.dat

0 !LPE TODO SymSplitter: Section behind the plane.
4 16 28 -5.25 -8 56.6769 -5.25 -36.25 -36.25 -5.25 -36.25 -8 -5.25 -8
1 16 0 -5.25 -20 -1 0 0 0 -1.3125 0 0 0 1 stud4.dat

* in fact, the inlining is not implemented since you have other powerful features to do the inlining.

https://lh4.googleusercontent.com/-zr_XR...litter.png
Reply
« Next Oldest | Next Newest »



Messages In This Thread
[LDPartEditor] Rectifier - by Nils Schmidt - 2015-01-11, 19:05
[LDPartEditor] Isecalc - by Nils Schmidt - 2015-01-19, 15:47
[LDPartEditor] PathTruder - by Nils Schmidt - 2015-02-24, 15:07
[LDPartEditor] SymSplitter - by Nils Schmidt - 2015-02-27, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)