LDraw.org Discussion Forums

Full Version: [LDPartEditor] 0.8.18 Beta Released
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi :)

next small increase to version 0.8.18... well, this time its clear what 0.8.19 will bring ;)

[Image: imgDuke2.png]
As always, you can download LDPE from this page:
http://nilsschmidt1337.github.io/ldparteditor/

Changelog:
(4 new features and 3 bug fixes)

With this release you will be able to...
  • ...trigger "Show selection in Text Editor" from a button on the GUI of the 3D editor.
  • ...benefit from the fact that selecting "Show Selection In Text Editor" jumps to the next selected line.
  • ...benefit from the fact that a change to the colour palette is updated instantly on all editor windows.
  • ...customize the colours of the selection cross (3D editor)

The following critical issues were fixed:


  1. Wrong BFC rendering for primitives (in the primitve area)
  2. TJunctionFinder eliminates lines at random (normal mode)
  3. The "(!)" sign is set for (part) files which are created by the PartReview tool. This is not desired. (the "(!)" sign indicates that the file is located outside the project or the library structure of the project)

What will the next release 0.8.19 deliver? Bug fixes (selection, icons, text editor selection highlight) , usability  improvements (tabs on the 3D editor), maybe some new fancy features...



The program was tested intensively with "real world" files.
However, it is still a beta version and something can go wrong in about 100.000 lines of code.

Make sure that you choose the right architecture for your OS and Java Virtual Machine (JVM) (64bit or 32bit).
A short guide how to check if a 64bit JVM is installed on your system is located at the bottom of this message.

  1. Download the zip-Archive
  2. Extract the archive content to the location of your choice
  3. On windows, double-click "run.bat" to start LDPE.
  4. On linux/mac, you have to excecute the shell script "run.sh" to start LDPE.
Please note that this software is in the beta stage. Although, LDPE 0.8.18 was tested, there are already known issues  for this release. There is a potential risk of data loss.

You can search for updates if you do the following steps:

  1. On windows, double-click "update.bat" to search for updates.
  2. On linux/mac, you have to excecute the shell script "update.sh".
I listen carefully to your requests and possible complaints. Please leave me a message, with your thoughts and wishes to further improve the software.

LDPE is a 3D CAD application: The overall system requirements are higher. While I recommend to use a powerful 64-bit multicore system, it could be possible, to run LDPE on older machines as well.

System Requirements:

Minimum System Requirements:
  • Java Runtime Environment (JRE) 1.8
  • OpenGL 2.1 compatible Graphics Card
  • Operating System (32/64bit): Windows [XP; Vista; 7 or newer], Mac OS X [>=10.6], Linux [e.g. Ubuntu Linux >=10.4]
  • CPU: Multicore-Processor e.g. Intel Core 2 Duo or AMD Athlon II (>2.0Ghz)
  • RAM: 4GB
  • Video-Memory: 512 MB
  • Free Disk Space: 100 MB
Recommended Requirements:
  • Operating System (64bit): Windows 7, Mac OS X [>=10.6], Linux [e.g. Ubuntu Linux >=10.4]
  • CPU: Multicore-Processor with 4 cores (or more)
  • RAM: >4 GB
  • Video-Memory: >=1 GB
  • Free Disk Space: 512 MB
--------------------------------------------------------------------------------
How to check your JVM version (32- or 64-bit):
--------------------------------------------------------------------------------

You can try on the command line:

Code:
java -d64 version

If it's not a 64-bit version, you'll get a message that looks like:

Code:
This Java instance does not support a 64-bit JVM. Please install the desired version.

In general, I recommend to install the 64-bit version of the JVM for Java 8.
Quote:As always, you can download LDPE from this page:
http://nilsschmidt1337.github.io/ldparteditor/
I was able to download and install it fine from github, but it seems that the updater still fetches version 0.8.17.
(2016-07-13, 7:05)Philippe Hurbain Wrote: [ -> ]I was able to download and install it fine from github, but it seems that the updater still fetches version 0.8.17.

The updater works fine now. The process took a little bit more time Smile
Bug of the day:

* LDPE now launches without opening the text editor. Opening a part you either get a text editor and 3d without any content or the part gets opened in 3d but no text editor gets launched and you have to "Open in Text Editor" in the parts tree
* I'm moving the first steps into CSG. Rotating a part at 90 degree you get undesired digits. Check:

0 !LPE CSG_ELLIPSOID a  1 0 0 0 1 0 0 0 1 0 0 0 1
0 !LPE CSG_ELLIPSOID a 1  0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 -1.0 0.0

w.

PS. I'll come back for more CSG questions so bare with me. 'Til then I would appreciate if you could add pics for 0 !LPE CSG_QUALITY [3 to 48] to your wiki.
Hi,

I just want to give you some advice for good feature requests / bug reports (again):

  1. Describe precisely what you observe. Take a screenshot or record a movie if needed.
  2. Say clearly what you want. Make a sketch or a mockup.
  3. Be precise as possible. Everybody should be able to understand what you want to say.
  4. If you say some application behaviour is wrong, my interest is to know what is right instead.
  5. Do not make use of ambiguousness and colloquialism.
Some very good approaches for agile projects like LDPE are User Stories.
One sentence, starting with "As a user I want..." is what I like and how I describe most of the ideas I got.

E.g.
As a user I want to customize the colours of the selection cross (3D editor)

I need clean feedback to estimate the effort it takes to fix a bug / to implement a feature.
Otherwise, I can't fix it (even if I wanted to).

Leg godt

Nils
I make some progress with the implementation of tabs for the 3D editor.
The 'Sync' button will get an icon. It activates/deactivates the synchronisation between the selection of tabs in the 3D editor and text editor.
  • Selecting a tab in the text editor will select the tab in the 3D editor (and display the part in the 3D editor)
  • Selecting a tab in the 3D editor will select the tab in the text editor (and display the part in the text and the 3D editor)


[Image: Tabs3DEditor.PNG]



(2016-07-15, 10:40)Willy Tschager Wrote: [ -> ]* LDPE now launches without opening the text editor. Opening a part you either get a text editor and 3d without any content or the part gets opened in 3d but no text editor gets launched and you have to "Open in Text Editor" in the parts tree

This is a desired behaviour. Some users complained about the text editor window (they had to close it every time).
Maybe I can add some option to enable/disable the text editor on start?

(2016-07-15, 10:40)Willy Tschager Wrote: [ -> ]* I'm moving the first steps into CSG. Rotating a part at 90 degree you get undesired digits. Check:

0 !LPE CSG_ELLIPSOID a  1 0 0 0 1 0 0 0 1 0 0 0 1
0 !LPE CSG_ELLIPSOID a 1  0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 -1.0 0.0

Thanks! :)
I fixed it.
The issue will be gone with release 0.8.19.
(2016-07-15, 10:40)Willy Tschager Wrote: [ -> ]Bug of the day:

* LDPE now launches without opening the text editor. Opening a part you either get a text editor and 3d without any content or the part gets opened in 3d but no text editor gets launched and you have to "Open in Text Editor" in the parts tree

Here is screenshot:

[attachment=2378]

as you can see 30082out.dat is loaded but neiter Text nor 3D show any content. Try this file:

[attachment=2379]

w.
Feature request of the day:

* As a user I'd like to have a wrapper window, which would full-screen either the Text or the 3D pane with a click in the right top-hand corner or split the two panes with a divider I can move with the mouse:

[attachment=2380]

this would IMHO make the handling of the two editors much easier and the continuous taskbar-clicking superfluous.

w.
(2016-07-15, 10:40)Willy Tschager Wrote: [ -> ]PS. I'll come back for more CSG questions so bare with me.

I'm fixing:

30082.dat

I tried to use CSG to rebuild to cut sphere. Here is what I came up with, based on your tutorial on the wiki:


Code:
0 BFC CERTIFY CCW

0 // Set the quality and epsilon value (optional)
0 // SYNTAX 0 !LPE CSG_QUALITY [3 to 48]
0 !LPE CSG_QUALITY 16
0 // SYNTAX 0 !LPE CSG_EPSILON [>=.0001]
0 !LPE CSG_EPSILON .0001

0 // Define the shapes
0 // SYNTAX 0 !LPE [CSG SHAPE] [ID (can be any string without spaces)] [COLOUR] [MATRIX]
0 !LPE CSG_ELLIPSOID a 1  0 0 10 7 0 0 0 0 7 0 -7 0
0 !LPE CSG_CUBOID    b 4  0 0 0 10 0 0 0 10 0 0 0 10

0 !LPE CSG_CYLINDER z 14 0 -7 13.5 2.5 0 0 0 14 0 0 0 2.5
0 !LPE CSG_CUBOID y 4  0 -4.5 16.5 2.5 0 0 0 2.5 0 0 0 3
0 !LPE CSG_CUBOID x 4  0 4.5 16.5 2.5 0 0 0 2.5 0 0 0 3

0 // Modify the shapes
0 // SYNTAX 0 !LPE [CSG FUNCTION] [origin ID] [origin ID2] [target ID3]
0 !LPE CSG_DIFFERENCE a b f
0 !LPE CSG_UNION x y w
0 !LPE CSG_UNION w z v
0 !LPE CSG_DIFFERENCE f v u

0 // Compile the output
0 // SYNTAX 0 !LPE CSG_COMPILE [ID]
0 // The COMPILE command displays the CSG volume on the screen
0 // Inlining the following line will generate triangles of the CSG volume
0 !LPE CSG_COMPILE u


I also inlined the compiled U but was not very happy with the output, so I guess there is room for improvement of my code. Any help and suggestion is welcomed.

w.

PS. It would help if you could offer a raw code like 0 !LPE CSG_CUBOID    x c  0 0 0 1 0 0 0 1 0 0 0 1 from a drop-down box in the toolbars for the primitives and the operators so I don't have to check back with the wiki.
(2016-07-19, 8:20)Willy Tschager Wrote: [ -> ]
(2016-07-15, 10:40)Willy Tschager Wrote: [ -> ]* LDPE now launches without opening the text editor. Opening a part you either get a text editor and 3d without any content or the part gets opened in 3d but no text editor gets launched and you have to "Open in Text Editor" in the parts tree

Here is screenshot ...
as you can see 30082out.dat is loaded but neiter Text nor 3D show any content. Try this file:

w.

I identified the root cause! Currently, LDPE is not able to reload a file which has unsaved changes.
What you really want: A question dialog with the possibility to revert all changes or to continue your work on the modified file.

I created a ticket. The feature will be inlcuded in version 0.8.19 Smile
Pages: 1 2