LDraw.org Discussion Forums
[LDPartEditor] 0.8.39 Beta Released (Shear Matrices / Edge Selection) - 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.39 Beta Released (Shear Matrices / Edge Selection) (/thread-22641.html)

Pages: 1 2


[LDPartEditor] 0.8.39 Beta Released (Shear Matrices / Edge Selection) - Nils Schmidt - 2017-12-29

Hi,

I wanted to release this version in 2018, but I completed it earlier... why should I wait? Wink

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

Changelog:
(6 new features and 7 bug fixes)

With this release you will be able to...
  • ...use a SlantingMatrixProjector tool to generate shear matrices.
  • ...save all your user settings in a file, and restore it when you want to (screenshot).
  • ...restore your 3D view settings when you completed a PartReview.
  • ...use ALT + UP/DOWN to move a line up and down in the text editor.
  • ...see a progress bar when downloading files from the PT for PartReview.
  • ...set the coplanarity threshold (Tools... -> Options...).

The following critical issues were fixed:

  1. Colour palette: The window was sometimes not wide enough.
  2. Sometimes long edges were hard to select until both vertices were visible.
  3. The logger did not detect errors while loading the workbench.
  4. An edge, or condline was selectable through a surface, even if it was hidden behind that surface.
  5. Ytruder generated triangles when it should generate quads.
  6. "Save As..." created a wrong part type (Flexible_Section).
  7. Divide by zero during Catmull-Clark subdivision

What will the next release 0.8.40 deliver? More features for subfile manipulation / bug-fixes.



The program was tested intensively with "real world" files.
However, it is still a beta version and something can go wrong in about 140.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, 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/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:
  • 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], Mac OS X [>=10.6]
  • 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], Mac OS X [>=10.6]
  • 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.39 Beta Released (Shear Matrices / Edge Selection) - Philippe Hurbain - 2017-12-29

Thanks Nils, almost a Xmas present Wink


RE: [LDPartEditor] 0.8.39 Beta Released (Shear Matrices / Edge Selection) - Philippe Hurbain - 2017-12-30

OK, I don't get the slanting tool...
How do I transform the base shape into the red one? All attempts I made do some slanting, but also result in squash/scale of the shape... Sad


RE: [LDPartEditor] 0.8.39 Beta Released (Shear Matrices / Edge Selection) - Magnus Forsberg - 2017-12-30

(2017-12-30, 10:53)Philippe Hurbain Wrote: OK, I don't get the slanting tool...
How do I transform the base shape into the red one? All attempts I made do some slanting, but also result in squash/scale of the shape... Sad

I'm equally confused....
How did you get the tool to do anything?


RE: [LDPartEditor] 0.8.39 Beta Released (Shear Matrices / Edge Selection) - Philippe Hurbain - 2017-12-30

(2017-12-30, 11:26)Magnus Forsberg Wrote:
(2017-12-30, 10:53)Philippe Hurbain Wrote: OK, I don't get the slanting tool...
How do I transform the base shape into the red one? All attempts I made do some slanting, but also result in squash/scale of the shape... Sad

I'm equally confused....
How did you get the tool to do anything?
As is described when you open the tool: select a red/blue lines with one common vertex, deselect them then select the thing(s) you want to transform, and call the slanting tool again.


Slanting tool example - Nils Schmidt - 2017-12-30

(2017-12-30, 10:53)Philippe Hurbain Wrote: OK, I don't get the slanting tool...
How do I transform the base shape into the red one? All attempts I made do some slanting, but also result in squash/scale of the shape... Sad

Assuming that you want to get this:
Code:
1 4 0 0 0 10 -10 0 0 -20 0 0 0 10 4-4cylc.dat
1 4 -10 -20 0 5 -10 0 0 -20 0 0 0 5 4-4con1.dat
1 4 -20 -40 0 5 0.5 0 0 1 0 0 0 5 4-4disc.dat
1 4 -20 -40 0 5 0.5 0 0 1 0 0 0 5 4-4edge.dat

Hit ESC to make sure that your previous slanting matrix is deleted.

Select this set of lines:
Code:
2 4 0 0 0 1 0 0
2 2 0 0 0 .5 1 0

Then select your base shape:
Code:
1 16 0 0 0 10 0 0 0 -20 0 0 0 10 4-4cylc.dat
1 16 0 -20 0 5 0 0 0 -20 0 0 0 5 4-4con1.dat
1 16 0 -40 0 5 0 0 0 1 0 0 0 5 4-4disc.dat
1 16 0 -40 0 5 0 0 0 1 0 0 0 5 4-4edge.dat

Finally, open SlantingMatrixProjector and apply the following configuration (screenshot):
  • Uncheck "Set origin to the center of the first axis pair."
  • Uncheck "Reset subfile orientation"

Click OK.


Side note for single rect-primitves:
If I want to project rect-primitives I draw just two lines X (red) and Z (blue) and select the rect.dat primitive.
Then I keep "Set origin to the center of the first axis pair." and "Reset subfile orientation" checked.
As a result the rect-primitive will fit to the two lines.


RE: Slanting tool example - Magnus Forsberg - 2017-12-30

So the red/green/blue lines act like some sort of magnifier?

If I use this:
Code:
2 4 10 0 0 11 0 0
2 2 10 0 0 10 -2 .1
2 1 10 0 0 10 0 1

on only the cylinder in this:
Code:
1 16 10 0 0 1 0 0 0 1 0 0 0 1 rect.dat
1 16 10 0 0 1 0 0 0 1 0 0 0 1 4-4cyli.dat
1 16 10 0 0 1 0 0 0 1 0 0 0 1 4-4edge.dat

I end up with this:
Code:
1 16 10 0 0 1 0 0 0 1 0 0 0 1 rect.dat
1 16 20 0 0 1 0 0 0 -2 0 0 .1 1 4-4cyli.dat
1 16 10 0 0 1 0 0 0 1 0 0 0 1 4-4edge.dat

That's not what I want.

Is it correct that the common point of the three lines has to be 0 0 0?


RE: Slanting tool example - Nils Schmidt - 2017-12-30

(2017-12-30, 16:31)Magnus Forsberg Wrote: [...]

That's not what I want.

Is it correct that the common point of the three lines has to be 0 0 0?


Currently, the common point C is added to your selection and translates it by C.X, C.Y, C.Z.
You can either move the lines or the cylinder to the origin.

I could implement a feature which disables the translation. Would this be helpful?


RE: Slanting tool example - Philippe Hurbain - 2017-12-30

(2017-12-30, 16:31)Magnus Forsberg Wrote: Is it correct that the common point of the three lines has to be 0 0 0?
Same thing here... I thought that the center of transformation would be the manipulator?


RE: Slanting tool example - Philippe Hurbain - 2017-12-30

...I don't want to be negative, as the 3 lines method is probably much more powerful if/when I master it. But setup seems pretty heavy since it requires to enter 3 lines (thus 12 coefficients) when most of the slanting operations I'd like to perform involve changing just ONE 0 coefficient in an identity matrix...