LDraw.org Discussion Forums
[LDPE] 1.8.80 Released (text editor calculations / better rounding / new grid / ARM) - 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: [LDPE] 1.8.80 Released (text editor calculations / better rounding / new grid / ARM) (/thread-28306.html)



[LDPE] 1.8.80 Released (text editor calculations / better rounding / new grid / ARM) - Nils Schmidt - 2024-06-22

Hey,

for linetypes 1-5, !LPE VERTEX, !LPE CSG, !LPE DISTANCE and !LPE PROTRACTOR you can now do math in the text editor:

Code:
2 24 0 0 0 1 2.25+1| 1

after hitting enter this will become

2 24 0 0 0 1 3.25| 1

| is the cursor position

a complex example:

2 24 0 0 0 1 abs((2+cos(PI)-10)/4.0)| 1

results in

2 24 0 0 0 1 2.25| 1

| is the cursor position

The math also works with floating point number input fields.
I improved the rounding a little bit and added a new 3D grid (Ctrl+Shift+G).


[Image: imgDuke2.png]

As always, you can download LDPE from this page:

http://nilsschmidt1337.github.io/ldparteditor/

Changelog:

(6 new features and 1 bug fix)

With this release you will be able to...
  • ...do simple math in the text editor (e.g. (-3+5)*2 and hit enter).
  • ...do simple math in floating point number input fields.
  • ...benefit from auto-rounding for the results of scripted expressions (e.g. 1.99999998 becomes 2).
  • ...benefit from better rounding in general (e.g. for PathTruder results).
  • ...try a new 3D grid (Ctrl+Shift+G).
  • ...try LDPartEditor on ARM Macs.

The following critical issue is fixed:

  1. Undoing at the end of the file led to wrong line number.

The program was tested intensively with "real world" files.
However, something can go wrong in about 140.000 lines of code.

Installation on Windows:

  1. Download and extract LDPartEditor_win32_x64.zip
  2. Run LDPartEditor-1.8.80.msi
  3. Start LDPartEditor from the start menu
Installation on Linux:

  1. Download and extract LDPartEditor_linux_x64.zip
  2. Install ldparteditor_1.8.80-1_amd64.deb
  3. Start LDPartEditor from the menu or via launcher
Installation on Mac OS X:

  1. Download and extract LDPartEditor_mac_x64.zip
  2. Mount LDPartEditor-1.8.80.dmg
  3. Drag LDPartEditor.app to the Applications folder
  4. Copy ldparteditor.sh to your home folder
        4a. Open a Terminal.app and run ./ldparteditor.sh
        4b. Or open a Terminal.app and run /Applications/LDPartEditor.app/Contents/MacOS/LDPartEditor

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:
  • 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: 150 MB
Recommended Requirements:
  • Operating System (64bit): Windows 7,8,10,11, 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: 500 MB
  • For a faster start, LDPartEditor and the LDraw™ library should be installed on an SSD.



RE: [LDPE] 1.8.80 Released (text editor calculations / better rounding / new grid / ARM) - N. W. Perry - 2024-06-22

Very nice! The grid will be quite handy, and I had a use case for math entry just the other day.