[LDPartEditor] First Alpha Version News - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: Parts Author Tools (https://forums.ldraw.org/forum-24.html) +--- Thread: [LDPartEditor] First Alpha Version News (/thread-13988.html) |
[LDPartEditor] First Alpha Version News - Nils Schmidt - 2014-09-20 I created a new topic since the old one was going to be more and more confusing and takes some time to load when displaying all messages at the same time. Nevertheless, I am still targeting to release the version 0.8.0 Beta on Monday, 24 December 2014 edit: Tuesday, 7th April 2015 ...and I just implemented a shader logic for chrome parts ;o) https://lh4.googleusercontent.com/-4XXXJ808_aM/VB1CI7_OMII/AAAAAAAAAPI/m5xNb9coowY/w634-h580-no/ChromeShader.png [LDPartEditor] Second Release Date Delay - Nils Schmidt - 2014-12-24 Philippe Hurbain Wrote:Thanks, Chris! First Christmas present... Now I'm waiting for this one Michael Heidemann Wrote:Do you still believe this is true? Well, I have to admit that this Christmas must last until eastern, if it should be the second present I wrote a blog entry on my sourceforge project page: "Due to an unexcpected burn-out, I am not able to release LDPartEditor 0.8.0 Beta at 2014-12-24." Last month, I wrote in total only 100-200 lines of code. I was not able to concentrate my efforts on the project since there was much more other stuff to do. However, I would like to finish LDPartEditor. My project schedule needs a re-design. I will keep you informed. [LDPartEditor] Scaling + Flat Subfiles - Nils Schmidt - 2014-12-26 https://lh6.googleusercontent.com/-N8q4cHBLbvY/VJ1O5ptkkMI/AAAAAAAAAP0/dE2eJTIgieE/w364-h240-no/flatSubfiles.png As mentioned here, LDPartEditor gives you a warning, if a flat subfile is scaled in the flat direction and can fix this too. Addtionally, I implemented a mechanism, which prevents scaling in flat directions within the 3D editor of LPE. With the manipulator, it is impossible to scale the subfile in the Y direction: https://lh6.googleusercontent.com/-fIgPQ6fFRgA/VJ1RgDM8q2I/AAAAAAAAAQY/YC2HQ5gLEDk/w432-h340-no/scaleOnY.png [LDPartEditor] Rectifier - Nils Schmidt - 2015-01-11 My Rectifier implementation is now complete I translated Philo's C++ code into Java and did some modifications. The main difference is, that you can specify the scope (file or selection) and the runtime is linear instead of quadratic. Theoretically, it will perform faster. https://lh5.googleusercontent.com/-nULyLWNfrwI/VLLHjTwxXqI/AAAAAAAAAQs/5IJM87dcVu4/w600-h300-no/Rectifier.png Re: [LDPartEditor] Rectifier - Philippe Hurbain - 2015-01-12 Yeah, this code is grossly inefficient (but I think that the worse I did in that respect is selector...). That said with most practical cases it takes a very small time so your code should be blazingly fast [LDPartEditor] Isecalc - Nils Schmidt - 2015-01-19 My Isecalc implementation is now complete I translated Philo's C++ code into Java and did some modifications. The main difference is, that you can specify the scope (file or selection) and you do not need to inline anything. "Isecalc" does also collinear line condensation. https://lh5.googleusercontent.com/-MuxNXvoZgXk/VL0lQXmkitI/AAAAAAAAARE/JkWHkd0d_bY/w324-h390-no/Isecalc.png PS: The next step is to implement SlicerPro [LDPartEditor] SlicerPro II - Slicing in any direction - Nils Schmidt - 2015-02-01 Well, after about 20 commits to my sourcecode repository I am really proud to say that a Java version of SlicerPro is now integrated into LDPartEditor. The main difference of this tool is really interesting: It works for every possible direction. I had to do some tricks to make sure that the precision is perfect, but however, it works now. Basically, you will have to do the following steps to use this tool:
https://lh5.googleusercontent.com/-ldGgHTFjK2k/VM1vxOLQ-RI/AAAAAAAAARY/2nvRNdL_3SM/w485-h410-no/slicerProII.png This was a screenshot from a first implementation. The triangles were not condensed into quads. https://lh4.googleusercontent.com/-BeEL8qS1fNA/VM1zpwi0m7I/AAAAAAAAARs/_x7VBecOS1E/w400-h410-no/SlicerProII2.png Re: [LDPartEditor] SlicerPro II - Slicing in any direction - Philippe Hurbain - 2015-02-01 Great! the "any direction projection" is indeed useful, I often pre-rotate former and pattern before using SP... [LDPartEditor] Intersector - Nils Schmidt - 2015-02-08 An improved version of the Intersector tool is now integrated into LDPartEditor. While the original Intersector tool outputs sometimes a warning like "*** problem during retriangulation ***", my Intersector implementation does not have this behaviour. Additionally, I changed the algorithm for the detection if a surface is inside or outside the model. The algorithm uses now a raytracing approach to detect the surface colour. The "LPE Intersector" can also be configured to keep the original colours. It outputs lesser triangles than Philo's implementation, does not have the option for "triangle condensation" and runs on all of your CPU cores to maximise the performance. Basically, you will have to do the following steps to use this tool:
Here is a screenshot, which demonstrates two different results (the grey quad was selected, then "Intersector" was run): https://lh6.googleusercontent.com/-BPe41Ea1Lj4/VNbJggP0hhI/AAAAAAAAASI/ca54WMse95A/w849-h799-no/Intersector.png Re: [LDPartEditor] Intersector - Philippe Hurbain - 2015-02-08 Eager to test this Re: [LDPartEditor] Intersector - Willy Tschager - 2015-02-08 Since it is promised to come out at Eastern I expect at least ONE Easter egg! w. [LDPartEditor] Intersector + Lines - Nils Schmidt - 2015-02-08 Here is an example file (with intersecting lines and condlines) which was generated by Intersector. I selected the following lines (in the 3D editor) Code: 2 12 -10 0 10 10 0 -10 Re: [LDPartEditor] Intersector + Lines - Philippe Hurbain - 2015-02-08 Excellent retriangulation! Re: [LDPartEditor] Intersector + Lines - Philippe Hurbain - 2015-02-09 ...and how does it behave with this more complex case? Re: [LDPartEditor] Intersector + Lines - Nils Schmidt - 2015-02-09 Challenge accepted ...here are the results. Re: [LDPartEditor] Intersector + Lines - Philippe Hurbain - 2015-02-09 Not too bad Now it would be great to be able to remove extraneous vertices, but... [LDPartEditor] Deep Inlining + "~Moved to" - Nils Schmidt - 2015-02-09 Today I implemented two little features:
Example: Imagine a part called 123456789.dat Code: 0 Foo When you take a look into the sourcecode with LDPartEditor, you will get a "~Moved to"-warning , because s\123456789s01.dat looks like this: Code: 0 Baz and refers to a red 4518.dat, which was ~Moved to 4518a.dat. The integrated quick-fix feature can now transform Code: 1 0x2FF0000 0 0 0 1 0 0 0 1 0 0 0 1 4518.dat into Code: 1 0x2FF0000 0 4 20 1 0 0 0 1 0 0 0 1 4518a.dat [LDPartEditor] Feature Backlog for 0.8.0 (Complete) - Nils Schmidt - 2015-02-11 Well, this list seems to be a very big spoiler, but anyway... I just wanted to tell you what is "next-on-my-list" until the 0.8.0 beta release is finally there. A lot of the tasks require one day or less to implement, so eastern should be a realistic release date. I already did the really complex things like Realtime Parsing, Multiple files opened/viewed at the same time, CSG, BFC, Arbitrary Precision, Multithreading / Parallelisation, TEXMAP, SlicerPro, Material Shaders for LDConfig, Intersector, ...and many more. I will "start" with (1) and end with (34).
..and in the future far from this day: Switching to Java 8 and transformation from SWT to JavaFX to overcome any platform restrictions. [LDPartEditor] Lines2Pattern (or "Who needs LDPatternCreator?") - Nils Schmidt - 2015-02-14 Today, I reached another milestone My "Lines2Pattern" tool is complete... So what does it? Well, it takes a set of lines and transforms it into a pattern, by triangulation. It triangulates the surface between lines which are coloured with the line colour 24. And with some magic, it detects different coloured lines (as a surface colour indicator) and can "guess" what colour the triangle will finally have. This will make the pattern creation a lot easier for you https://lh4.googleusercontent.com/-zgZWPHIqAv8/VN-5eDv36gI/AAAAAAAAASc/cIV6vGOjIus/w790-h857-no/Lines2Pattern.png edit: I changed the wording a little bit. Now it says "4. Make sure that colour indicating lines with other colours are placed, too!", to be less restrictive. edit2: The second step was rewritten to "2. Make sure that all lines are on the same plane." Re: [LDPartEditor] Lines2Pattern (or "Who needs LDPatternCreator?") - Philippe Hurbain - 2015-02-15 Wow. Wow, wow!!! No more painful triangulation [LDPartEditor] Code Repository is now hosted on GitHub.com - Nils Schmidt - 2015-02-17 Due to some technical problems with sourceforge.net, I had to migrate my project to github. Nevertheless, I am very happy with my decision You'll find the new repository here https://github.com/nilsschmidt1337/ldparteditor. edit: I created a little homepage, too: LDPartEditor on GitHub [LDPartEditor] PathTruder - Nils Schmidt - 2015-02-24 My PathTruder implementation is now complete I translated Philo's C++ code into Java and did some modifications. LPE's PathTruder supports all features of the original program. https://lh3.googleusercontent.com/-szyRsP6ULbU/VOyQnsMXOpI/AAAAAAAAATU/rjHnirKYt64/w740-h531-no/PathTruder1.png https://lh5.googleusercontent.com/-nwFshjYlIt4/VOyQn52LOJI/AAAAAAAAATI/fre3WDmJmfU/w634-h657-no/PathTruder2.png https://lh6.googleusercontent.com/-20ccarJNCE0/VOyQn1c2lSI/AAAAAAAAATQ/sJal23JnOQc/w634-h657-no/PathTruder3.png Re: [LDPartEditor] PathTruder - Orion Pobursky - 2015-02-25 Nice if you're program is cross platform (which I would assume since you're using Java) I'm going to suspend LDDP development since you've far surpassed my ability to extend it. Will LDPartEditor have a plugin system? [LDPartEditor] Plugin support - Nils Schmidt - 2015-02-25 Orion Pobursky Wrote:...if you're program is cross platform...Yes, it is. I had to setup a test environment to test it on Linux, Windows (XP,Vista,7,8) and Mac OS X. Orion Pobursky Wrote:Will LDPartEditor have a plugin system? Yes, I did some preparations to support plugins in the future (I guess it will be integrated in release 1.0.0). When I first thought of plugins for my application it was the beginning of 2012 and there was no line of code written. However, a custom plugin has to extend the my Plugin class and must override getPlugInAuthor(), getPlugInName(), onCanvas(...) and onData(...). There will be a plugin folder in the application directory. You can put the sourcecode of the java class there and it will be compiled at runtime if you decided to run your custom plugin. Of course, you'll need the documentation for the Composite3D and DatFile classes. I'll provide them to you, after release 0.8.0 is out. Code: import org.nschmidt.ldparteditor.plugin.Plugin; [LDPartEditor] SymSplitter - Nils Schmidt - 2015-02-27 My SymSplitter implementation is now complete 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 And you will get: Code: 0 !LPE TODO SymSplitter: Section in front of the plane. * in fact, the inlining is not implemented since you have other powerful features to do the inlining. https://lh4.googleusercontent.com/-zr_XRNPFJUY/VPBsfuqz-LI/AAAAAAAAATo/CvTs0jwjPZg/w600-h327-no/symSplitter.png Re: [LDPartEditor] SymSplitter - Philippe Hurbain - 2015-02-27 Thumbs up [LDPartEditor] Subdivision (Catmull-Clark + Loop) - Nils Schmidt - 2015-03-02 Subdivision is very nice, if you want to get a smoother surface. My CAD program supports now two different methods: Catmull-Clark and Loop Catmull-Clark works great for quads: ...and Loop splits quads into triangles, before processing: ...getting closer and closer to release [LDPartEditor] A Note to Primitives (Preview Window, Primitve Groups + Drag And Drop) - Nils Schmidt - 2015-03-15 https://lh3.googleusercontent.com/-vpGjFr4EbBU/VQUBjQZB5mI/AAAAAAAAAVA/iuPnuCYZPfA/w993-h698-no/PrimitiveChooser1.png As requested by Magnus Forsberg here, there will be a possibility to drag and drop primitives from a full customisable "primitive preview" view into the 3D editor. You can rotate and zoom the primitives inside the view, you can search the items and you can synchronise the list with your file system. And.. last but not least: You can group them into custom categories. I will give you more information on this later PS: This "feature" is one of the last five remaining tasks. Its strage somehow that I am excited of the LDPartEditor release, too Re: [LDPartEditor] A Note to Primitives (Preview Window, Primitve Groups + Drag And Drop) - Willy Tschager - 2015-03-15 Nils, could we possibly have the panes of the preview window labeled with Front/Top/Left/... and also some arrows showing the axes wouldn't hurt. Thanks, w. PS. Be assured that we are excited as you are :-) Re: [LDPartEditor] A Note to... / XYZ-Axis for Primitive Preview - Nils Schmidt - 2015-03-15 Maybe you want something like this? I will not implement a viewing angle label or an axis for each primitive pane. You can simply drag the primitive over the 3D view to see its original orientation (and cancel the drag-and-drop-event if you like). There are viewing angle labels and axis indicators on the 3D view already (as shown here). Re: [LDPartEditor] First Alpha Version News - Andrewlai - 2015-03-16 Hi Nils, Mentioned LDPartEditor looks very impressive. Is it an open software ? Would u guide me if there is any trial version available ? thanks. Andrew Software License and Software Manual - Nils Schmidt - 2015-03-16 Hello Andrew, LDPartEditor (LDPE) is "free software" I can not resist to post a quote from www.gnu.org in this context: Quote: “Free software” means software that respects users' freedom and community. Roughly, it means that the users have the freedom to run, copy, distribute, study, change and improve the software. Thus, “free software” is a matter of liberty, not price. To understand the concept, you should think of “free” as in “free speech,” not as in “free beer”. We sometimes call it “libre software” to show we do not mean it is gratis. I will write a manual for the users of my program (part authors) in the next days and will publish some technical infos how to modify my program (for other Java developers). Additionaly, it will be possible to give me a little donation, but I will not advertise for this. [LDPartEditor] Photo Album on Google+ - Nils Schmidt - 2015-03-19 FYI. You can find all the screenshots from the different development stages here: https://plus.google.com/photos/102010748695935999501/albums/6049007960881247633 |