Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,164
» Latest member: Thore
» Forum threads: 6,083
» Forum posts: 51,263
Full Statistics
|
Latest Threads |
New part
Forum: General LDraw.org Discussion
Last Post: Thore
11 minutes ago
» Replies: 0
» Views: 2
|
Owl with spread wings
Forum: Part Requests
Last Post: Philippe Hurbain
5 hours ago
» Replies: 2
» Views: 44
|
Modulex parts
Forum: Parts Authoring
Last Post: Orion Pobursky
6 hours ago
» Replies: 32
» Views: 4,609
|
80503pb01 lute instrument...
Forum: Part Requests
Last Post: N. W. Perry
2025-07-16, 14:24
» Replies: 9
» Views: 5,994
|
Parts we are Working on -...
Forum: Part Requests
Last Post: Jeff Jones
2025-07-16, 10:14
» Replies: 158
» Views: 152,332
|
Same set, different sheet...
Forum: Parts Tracker Discussion
Last Post: Magnus Forsberg
2025-07-15, 6:15
» Replies: 8
» Views: 504
|
71613/30346c01 too high?!
Forum: Part Requests
Last Post: Chris Böhnke
2025-07-14, 23:21
» Replies: 18
» Views: 4,918
|
5724pr0001 Bubble Canopy ...
Forum: Part Requests
Last Post: SNIPE
2025-07-12, 21:08
» Replies: 2
» Views: 416
|
Friends 2014
Forum: Official Models
Last Post: Takeshi Takahashi
2025-07-11, 16:20
» Replies: 18
» Views: 17,376
|
LDCAD about Add custom p...
Forum: LDraw Editors and Viewers
Last Post: Nate87
2025-07-11, 8:13
» Replies: 5
» Views: 3,320
|
|
|
"invisible" condlines for fine shading |
Posted by: Max Murtazin - 2022-07-13, 17:58 - Forum: Parts Authoring
- Replies (6)
|
 |
While modifying some stuff about part 50898, I have encountered a bit of a problem. There was a situation that required to use condlines with all points being on the same plane. It it okay? Or maybe there are some ways to work around such problems? If not use that condline at all, software like LDView gives off a pretty bad picture in terms of shading with edges appearing sharp when they clearly should be not that way
|
|
|
PLI randomly not visualized |
Posted by: Manarin - 2022-07-12, 7:45 - Forum: General LDraw.org Discussion
- Replies (3)
|
 |
Hi,
I'm new to this forum so forgive me if I'm doing something wrong.
I serched a tred that deal about my problem, but I didn't find enything.
So here is my problem. It's a week or so that LPUB doesn't show the PLI on each step.
It works on some and it doesen't on others, moreover, if I go back and forth in the pages, the PLI changes, even the BOM at the end of the file changes.
There is someone that can help me?
Thanks in advance
Ivan
|
|
|
1.8.60 Released (!LPE CONST expressions) |
Posted by: Nils Schmidt - 2022-07-10, 11:29 - Forum: Parts Author Tools
- Replies (14)
|
 |
Hey,
this release introduces a complex and powerful feature:
The !LPE CONST meta command.
It allows you to use constants in almost any line type and replace them with a real value when needed.
However, the constants will be removed from a line when the line is modified from another source that is not the constant itself.
When you change a value of a constant afterwards, you need to click manually on the "Update/compile linked subfile data" button.
icon32_subcompile.png (Size: 1.72 KB / Downloads: 74)
You can see the calculated value in the warnings section of the text editor.
Syntax:
Code: 0 !LPE CONST variable = expression
0 // variable and expression must not contain spaces.
With that you can do things like:
Code: 0 !LPE CONST red = 4
0 !LPE CONST green = "0x200ff00"
1 red 3 0 0 1 0 0 0 1 0 0 0 1 box.dat
1 green 0 0 0 1 0 0 0 1 0 0 0 1 box.dat
1 red -3 0 0 1 0 0 0 1 0 0 0 1 box.dat
When you quick fix the warnings for the variable declarations, it will become:
Code: 1 4 3 0 0 1 0 0 0 1 0 0 0 1 box.dat
1 0x200ff00 0 0 0 1 0 0 0 1 0 0 0 1 box.dat
1 4 -3 0 0 1 0 0 0 1 0 0 0 1 box.dat
Code: 0 !LPE CONST angle = 20
0 !LPE CONST rx = cos(rad(angle))
0 !LPE CONST ry = sin(rad(angle))
0 !LPE CONST cx = 10*rx
0 !LPE CONST cy = 10*ry
1 7 10 0 0 1 0 0 0 1 0 0 0 1 box.dat
1 8 cx cy 0 rx -ry 0 ry rx 0 0 0 1.5 box.dat
0 !LPE CONST angle = angle+20
0 !LPE CONST rx = cos(rad(angle))
0 !LPE CONST ry = sin(rad(angle))
0 !LPE CONST cx = 10*rx
0 !LPE CONST cy = 10*ry
1 15 cx cy 0 rx -ry 0 ry rx 0 0 0 2 box.dat
It is possible to use the constants directly in subfiles.
But you can not automatically replace them with a quick fix from the parent file.
Code: 0 !LPE CONST subX = 8
0 !LPE CONST subY = 2
0 !LPE CONST subZ = 3
1 16 0 0 0 1 0 0 0 1 0 0 0 1 subfile.dat
subfile.dat
Code: 2 24 0 0 0 subX subY subZ
1 16 subX subY subZ 1 0 0 0 1 0 0 0 1 8-8sphe.dat
You can also combine it with the CSG or INLINE meta commands.
Code: 0 !LPE CSG_QUALITY 16
0 !LPE CONST cubeH = 1
0 !LPE CONST cubeH2 = cubeH*2
0 !LPE CONST sphereH = cubeH*1.35
0 // Won't override CSG constants
0 !LPE CONST csgA = 42
0 !LPE CSG_CUBOID csgA 4 0 0 0 cubeH 0 0 0 cubeH 0 0 0 cubeH
0 !LPE CSG_ELLIPSOID csgB 1 0 0 0 sphereH 0 0 0 sphereH 0 0 0 sphereH
0 !LPE CSG_CYLINDER csgC 2 0 -cubeH 0 .7 0 0 0 cubeH2 0 0 0 .7
0 !LPE CSG_CYLINDER csgD 2 -cubeH 0 0 0 cubeH2 0 .7 0 0 0 0 .7
0 !LPE CSG_CYLINDER csgE 2 0 0 -cubeH .7 0 0 0 0 .7 0 cubeH2 0
0 !LPE CSG_UNION csgC csgD csgD
0 !LPE CSG_UNION csgD csgE csgD
0 !LPE CSG_INTERSECTION csgA csgB csgF
0 !LPE CSG_DIFFERENCE csgF csgD csgF
0 !LPE CSG_COMPILE csgF
It does not support !TEXMAP / !: lines yet.
![[Image: attachment.php?aid=12753]](https://forums.ldraw.org/attachment.php?aid=12753)
As always, you can download LDPE from this page:
http://nilsschmidt1337.github.io/ldparteditor/
Changelog:
(4 new features)
With this release you will be able to...
- ...use the "!LPE CONST" meta command to define re-usable constants in parts and subparts.
- ...use calculated expressions for constants, too.
- ...quick-fix/replace constants with the text editor.
- ...combine "!LPE CONST" with "!LPE CSG" meta commands (but not with !TEXMAP commands, yet).
The program was tested intensively with "real world" files.
However, something can go wrong in about 140.000 lines of code.
Installation on Windows:
- Download and extract LDPartEditor_win32_x64.zip
- Run LDPartEditor-1.8.60.msi
- Start LDPartEditor from the start menu
Installation on Linux:
- Download and extract LDPartEditor_linux_x64.zip
- Install ldparteditor_1.8.60-1_amd64.deb
- Start LDPartEditor from the menu or via launcher
Installation on Mac OS X:
- Download and extract LDPartEditor_mac_x64.zip
- Mount LDPartEditor-1.8.60.dmg
- Drag LDPartEditor.app to the Applications folder
- 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: 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.
|
|
|
OMR Naming |
Posted by: Orion Pobursky - 2022-07-09, 1:38 - Forum: Official Models
- Replies (5)
|
 |
I'm starting to feel like Official Model Repository isn't descriptive enough. "Official" is ambiguous. It could mean these are models that are officially approved by LDraw instead of models of official LEGO sets. I thought maybe LDraw Set Database but LSD is a bad acronym. I'd love to use LEGO somewhere in the name but I think TLG's lawyers would object. Maybe LDraw Official Set Repository/Database?
Thoughts?
|
|
|
|