LDraw.org Discussion Forums
[LDPartEditor] 0.8.32 Beta Released (Manipulator / Usability / bugfix) - 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] 0.8.32 Beta Released (Manipulator / Usability / bugfix) (/thread-22202.html)



[LDPartEditor] 0.8.32 Beta Released (Manipulator / Usability / bugfix) - Nils Schmidt - 2017-06-17

Hey,

in the last weeks I had much fun at work and some time on the weekend for LDPE :)

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

Changelog:
(10 new features and 6 bug fixes)

With this release you will be able to...
  • ...see the distance traveled/angle rotated in the status bar while using the move or rotate tool.
  • ...access the manipulator features from a sub menu in the 3D editor context menu.
  • ...see a tooltip for view rotation in the primitive area.
  • ...move the Manipulator with left/right or up/down arrows on keyboard.
  • ...remove all "0 // Inlined:" notices with a "quick fix".
  • ...download/update the "ldconfig.ldr" file from LDraw.org.
  • ...download/update the "categories.txt" file from LDraw.org.
  • ...benefit from much faster undo/redo.
  • ...benefit fom a faster program start.
  • ...benefit from the fact that when using the translate/scale/set etc actions, it displays the global axis, if global mode is active.
The following critical issues were fixed:

  1. Sometimes, deselected elements were re-selected when selecting a subpart.
  2. "Save As..." did not trigger a check for warnings / hints / errors
  3. "LDConfig.ldr" / "ldconfig.ldr" issues on case sensitive file systems.
  4. LDPE false reported that the single !HELP meta command was "split apart".
  5. Sometimes, the UI freezed permanently under Linux.
  6. Implementation: Little resource leak with org.eclipse.swt.graphics.Cursor instances.
What will the next release 0.8.33 deliver? Bug fixes, more header validation features, usability improvements...



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, you have to excecute the shell script "run.sh" to start LDPE.
Please note that this software is in the beta stage. Although, this version 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, 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:
  • 64-bit Java Runtime Environment (JRE) 1.8
  • OpenGL 2.1 compatible Graphics Card
  • Operating System (64-bit): Windows [7 or newer], Linux [e.g. Ubuntu Linux >=14.4]
  • CPU: Multicore-Processor e.g. Intel Core 2 Duo or AMD Athlon II (>2.0Ghz)
  • RAM: 4GB
  • Video-Memory: 1 GB
  • Free Disk Space: 100 MB
Recommended Requirements:
  • Operating System (64bit): Windows 7,8,10, Linux [e.g. Ubuntu Linux >=14.4]
  • OpenGL 3.3 compatible Graphics Card
  • CPU: Multicore-Processor with 4 cores (or more)
  • RAM: >4 GB
  • Video-Memory: >1 GB
  • Free Disk Space: 512 MB
  • For a faster start, LDPartEditor and the LDraw™ library should be installed on an SSD.
--------------------------------------------------------------------------------
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:
This Java instance does not support a 64-bit JVM. Please install the desired version.


RE: [LDPartEditor] 0.8.32 Beta Released (Manipulator / Usability / bugfix) - Philippe Hurbain - 2017-06-19

Hard to tell which is my favorite improvement/new feature, so many Good Things ™ in this release... Probably instant undo wins by a short margin in front of keyboard manipulator actions!


Some spoilers for 0.8.33 (next release) - Nils Schmidt - 2017-06-19

Glad you like it. For version 0.8.33 two things are already in the making:

  1. Absolute LDU based scaling. Lets say you have an 4-4edge and you want to set the diameter from 4 to 6 to 8 LDU, or a box that has a width of 10 LDU and should be 20 or 30 LDU. You don't have to calculate the scale factor anymore (#546)
  2. I fixed an annoying bug: When adding something in the 3D view, a mouse click was sometimes ignored (#547)



RE: [LDPartEditor] 0.8.32 Beta Released (Manipulator / Usability / bugfix) - Magnus Forsberg - 2017-06-19

Great fun, Thank you Nils.

Now I need to find a fun project.... Smile


RE: [LDPartEditor] Focus change when Undo - Philippe Hurbain - 2017-06-20

(2017-06-17, 23:29)Nils Schmidt Wrote:
  • ...benefit from much faster undo/redo.
...but now it seems that when I key in ctrl+z with focus on 3D window, the focus shifts to text window Sad


RE: Some spoilers for 0.8.33 (next release) - Philippe Hurbain - 2017-06-20

(2017-06-19, 20:00)Nils Schmidt Wrote: Absolute LDU based scaling. Lets say you have an 4-4edge and you want to set the diameter from 4 to 6 to 8 LDU, or a box that has a width of 10 LDU and should be 20 or 30 LDU. You don't have to calculate the scale factor anymore (#546)
I missed this feature for a long time, but I wasn't able to formalize my wish... Looks like you found a way!


RE: [LDPartEditor] vertex unification on primitive problem - Philippe Hurbain - 2017-06-20

In current implementation, a vertex already snapped on a primitive vertex can move to another primitive vertex if Unificator distance threshold is increased, or if a new primitive was added in the vicinity.
I've been burnt by this one twice today...


RE: [LDPartEditor] Focus change when Undo - Nils Schmidt - 2017-06-20

(2017-06-20, 8:32)Philippe Hurbain Wrote: ...but now it seems that when I key in ctrl+z with focus on 3D window, the focus shifts to text window Sad

I fixed this issue today (#548).


RE: [LDPartEditor] vertex unification on primitive problem - Nils Schmidt - 2017-06-20

(2017-06-20, 11:55)Philippe Hurbain Wrote: In current implementation, a vertex already snapped on a primitive vertex can move to another primitive vertex if Unificator distance threshold is increased, or if a new primitive was added in the vicinity.

I fixed this issue (#549).


RE: [LDPartEditor] Mesh reducer control? - Philippe Hurbain - 2017-06-21

Sometimes I wish I could somehow control the intensity of reduction performed by mesh reducer tool...


RE: [LDPartEditor] Rotate action multi copy - Philippe Hurbain - 2017-06-21

Low priority wish...
I'd like to have a multi-copy button for the translate and (more useful) the rotate action (eg. to create a tire from a single tread pattern)


RE: [LDPartEditor] Tools verbose and debug mode - Philippe Hurbain - 2017-06-21

Another low priority wish...
For some tools (mainly Edger2 and Rectifier) I'd like to have a verbose mode telling about the elements created. For these tools I also somehow miss my "debug mode" that creates new elements in weird colors, allowing to easily spot them.


RE: [LDPartEditor] Working folder issue on newly created files. - Philippe Hurbain - 2017-06-21

A low annoyance one...
If I create a new part (using the "New Part File" button) and reference other parts in the same folder, these parts trigger a "file not Found" error message. To get it working, I have to save, close and reopen the file.


RE: [LDPartEditor] Keyboard auto-repeat is not working for keyboard move/rotate - Philippe Hurbain - 2017-06-21

Small annoyance: keyboard auto-repeat is not working for keyboard move/rotate (can be considered a feature, as you get better tracking of what you do!)


LDU based scaling - Nils Schmidt - 2017-06-21

(2017-06-20, 11:50)Philippe Hurbain Wrote:
(2017-06-19, 20:00)Nils Schmidt Wrote: Absolute LDU based scaling. Lets say you have an 4-4edge and you want to set the diameter from 4 to 6 to 8 LDU, or a box that has a width of 10 LDU and should be 20 or 30 LDU. You don't have to calculate the scale factor anymore.
I missed this feature for a long time, but I wasn't able to formalize my wish... Looks like you found a way!

I implemented and tested this feature today (#546).


RE: [LDPartEditor] Working folder issue on newly created files. - Nils Schmidt - 2017-06-21

(2017-06-21, 13:22)Philippe Hurbain Wrote: A low annoyance one...
If I create a new part (using the "New Part File" button) and reference other parts in the same folder, these parts trigger a "file not Found" error message. To get it working, I have to save, close and reopen the file.

It is not necessary to save, close and reopen. You can click on the "Update/Compile linked Subfile Data" and the warning disappears.
A feature to automagically synchronise subfile depedencies is not easy to implement. I created an issue long time ago (#249).


RE: [LDPartEditor] Keyboard auto-repeat is not working for keyboard move/rotate - Nils Schmidt - 2017-06-21

(2017-06-21, 14:40)Philippe Hurbain Wrote: Small annoyance: keyboard auto-repeat is not working for keyboard move/rotate (can be considered a feature, as you get better tracking of what you do!)

What does "keyboard auto-repeat" mean?


RE: [LDPartEditor] Tools verbose and debug mode - Nils Schmidt - 2017-06-21

(2017-06-21, 13:09)Philippe Hurbain Wrote: Another low priority wish...
For some tools (mainly Edger2 and Rectifier) I'd like to have a verbose mode telling about the elements created. For these tools I also somehow miss my "debug mode" that creates new elements in weird colors, allowing to easily spot them.

I need clarification on the information you want to get and how this information should be formatted/delivered to the user.

Finally, I created some issues (#550 and #551).


RE: [LDPartEditor] Keyboard auto-repeat is not working for keyboard move/rotate - Magnus Forsberg - 2017-06-21

(2017-06-21, 19:39)Nils Schmidt Wrote:
(2017-06-21, 14:40)Philippe Hurbain Wrote: Small annoyance: keyboard auto-repeat is not working for keyboard move/rotate (can be considered a feature, as you get better tracking of what you do!)

What does "keyboard auto-repeat" mean?

I think it's a good feature.
I like that I have to press five times on the arrow keys to move something five steps.


RE: [LDPartEditor] Rotate action multi copy - Nils Schmidt - 2017-06-22

(2017-06-21, 13:04)Philippe Hurbain Wrote: Low priority wish...
I'd like to have a multi-copy button for the translate and (more useful) the rotate action (eg. to create a tire from a single tread pattern)

I implemented this feature today (#553).

Now it is possible to create copies with the arrow keys if Ctrl is pressed.

This is an extension to issue #537.


RE: [LDPartEditor] Rotate action multi copy - Philippe Hurbain - 2017-06-22

(2017-06-22, 5:46)Nils Schmidt Wrote:
(2017-06-21, 13:04)Philippe Hurbain Wrote: Low priority wish...
I'd like to have a multi-copy button for the translate and (more useful) the rotate action (eg. to create a tire from a single tread pattern)

I implemented this feature today (#553).

Now it is possible to create copies with the arrow keys if Ctrl is pressed.

This is an extension to issue #537.
Ah - interesting and useful, but that's not what I meant. I was instead thinking of dialog box Actions -> Rotate selection. there is already the (very useful) "make copy" button, I thought of adding a "number of copies" field next to this button (field default = 1). The benefit of Actions -> rotate is that it allows to specify an arbitrary angle without changing grid settings.


RE: [LDPartEditor] Tools verbose and debug mode - Philippe Hurbain - 2017-06-22

[quote pid='25522' dateline='1498074336']
I need clarification on the information you want to get 
[/quote]
For Rectifier: number of triangles paired into quads, number of condlines deleted because of tri->quad conversion, number of quads and number of edge lines converted to rect primitives.
For Edger2: number of condlines created, number of (normal) edge lines created, number of unmatched edge lines created.

Quote:and how this information should be formatted/delivered to the user.
Not sure on this one. Suggest to pop up a window with this information and a close button at the end of tool execution. Popup would be enabled by a global 'verbose' setting.


RE: [LDPartEditor] Working folder issue on newly created files. - Philippe Hurbain - 2017-06-22

(2017-06-21, 19:38)Nils Schmidt Wrote: You can click on the "Update/Compile linked Subfile Data" and the warning disappears.
Mmh... I'm afraid it does nothing!
But again, it's only a mild annoyance, I can easily live with this if it's a tough fix!


RE: [LDPartEditor] Keyboard auto-repeat is not working for keyboard move/rotate - Philippe Hurbain - 2017-06-22

Quote:What does "keyboard auto-repeat" mean?
When you hold a keyboard key more than a second or so, the keyboard generates the same key again and again rapidly while the key is pressed. But...
Quote:I think it's a good feature.
I like that I have to press five times on the arrow keys to move something five steps.
...as Magnus says, current behaviour is probably the best as it gives more control. If you want to move far away, the mouse drag is a better tool (and the new distance travelled display provides excellent feedback!)
...so drop this request Wink


RE: [LDPartEditor] Rotate action multi copy - Nils Schmidt - 2017-06-22

(2017-06-22, 7:40)Philippe Hurbain Wrote:
(2017-06-22, 5:46)Nils Schmidt Wrote: I implemented this feature today (#553).

Now it is possible to create copies with the arrow keys if Ctrl is pressed.

This is an extension to issue #537.
Ah - interesting and useful, but that's not what I meant. I was instead thinking of dialog box Actions -> Rotate selection. there is already the (very useful) "make copy" button, I thought of adding a "number of copies" field next to this button (field default = 1). The benefit of Actions -> rotate is that it allows to specify an arbitrary angle without changing grid settings.

Ok, I understand. Its done: Translate (#554) and Rotate (#555).


RE: [LDPartEditor] Tools verbose and debug mode - Nils Schmidt - 2017-06-22

(2017-06-22, 7:48)Philippe Hurbain Wrote: For Rectifier: number of triangles paired into quads, number of condlines deleted because of tri->quad conversion, number of quads and number of edge lines converted to rect primitives.
For Edger2: number of condlines created, number of (normal) edge lines created, number of unmatched edge lines created.

I implemented these features now: Edger2 (#556) and Rectifier (#557).


First official release for Mac OS X (0.8.33) - Nils Schmidt - 2017-06-23

I would like to announce that there will be a first official release for Mac OS X.
The upcoming version 0.8.33 was successfully tested on a MacBook Pro.
I just have to re-map the keys (because of the command button).

[Image: 27502746-b6e8efc2-5876-11e7-8dae-a513d95546d6.png]

However, my support for Mac OS X is limited (I have access to this MacBook only for a short period of time).