Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,542
» Latest member: Seth Bray
» Forum threads: 6,316
» Forum posts: 52,579

Full Statistics

Online Users
There are currently 188 online users.
» 5 Member(s) | 178 Guest(s)
Applebot, Baidu, Bing, Google, Yandex, Gabriel Läufer, Max Martin Richter, Rene Rechthaler

Latest Threads
LDraw.org 2025 Cost Fundr...
Forum: LDraw.org Announcements
Last Post: Orion Pobursky
1 hour ago
» Replies: 0
» Views: 37
[LDPE] 1.8.97 Released (s...
Forum: Parts Author Tools
Last Post: Magnus Forsberg
3 hours ago
» Replies: 2
» Views: 368
Part 24123 large rifle sh...
Forum: Part Requests
Last Post: Carl Rodabaugh
3 hours ago
» Replies: 1
» Views: 49
LDraw.org 2025-12 Parts U...
Forum: LDraw.org Announcements
Last Post: Auffenberg
4 hours ago
» Replies: 1
» Views: 295
Vertex precision
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
Yesterday, 21:58
» Replies: 5
» Views: 1,617
LEGO Parts Guide - Only 6...
Forum: Part Requests
Last Post: tom alphin
Yesterday, 20:47
» Replies: 5
» Views: 266
98138pb0.dat is missing i...
Forum: Parts Authoring
Last Post: Magnus Forsberg
Yesterday, 15:31
» Replies: 2
» Views: 134
How can I install on linu...
Forum: Help
Last Post: Orion Pobursky
Yesterday, 4:48
» Replies: 1
» Views: 97
Castle Ninja / Robber
Forum: Part Requests
Last Post: Carl Rodabaugh
Yesterday, 1:06
» Replies: 0
» Views: 89
help finding ldraw for el...
Forum: Help
Last Post: Brian H
2025-12-30, 23:22
» Replies: 2
» Views: 139

 
Lightbulb Script to Recolor Model from Inventory Parts
Posted by: Mike C - 2022-02-28, 2:01 - Forum: LDraw Editors and Viewers - No Replies

Hello everyone, 

This is my first time posting on these forums and my first time using Lua, but maybe this will be useful or fun to someone else. 

  • My 3 year-old and I build almost exclusively in DUPLO. 
  • Our collection is about 2,500 parts.
  • He enjoys building anything big: towers, bridges, castles, etc. 
  • I enjoy trying to make our creations aesthetically pleasing. So far, that just means using parts in a color gradient (e.g. rainbow). 
  • I also use Rebrickable.com to maintain my part inventory.

LDraw and LDCad have been wonderful resources for making us both happy. By coloring my designs in LDCad, I can have a plan when I begin a build with my sometimes impatient building partner.

These attachments are my attempt at using Lua to let me build in LDCad without worrying about color, and then recolor the entire model with a click from the parts we actually own. 

Originally, I wrote this to assign color to the parts in order by their y value. But then I actually read Roland's very helpful LDCad documentation at http://www.melkert.net/LDCad/docs/scriptAPI where I saw the getComp method, and realized I could parameterize this function to easily sort along different axes (e.g., XYZ, ZYX, etc.)

If anyone has ANY thoughts or suggestions, please share, as I am clearly new at this.

Next, I plan on working on scripts to build walls using the parts in my inventory. 

Happy building,
Mike



Attached Files Thumbnail(s)
                           

.zip   MJC-Recolor.zip (Size: 4.95 KB / Downloads: 3)
Print this item

  Extra search directories not working?
Posted by: N. W. Perry - 2022-02-27, 5:06 - Forum: LDraw Editors and Viewers - Replies (6)

I have a number of extra search directories set in my preferences, but LDView does not appear to be searching them so all those parts are missing. I know the directories are valid because if I set one of them as the main ldraw library, its parts (and only its parts) will appear just fine. Have I forgotten to tick a simple box somewhere, or is something amiss?

This is LDView 4.4.1 on MacOS by the way.

Print this item

Photo LeoCAD completely blank, no visible objects at all
Posted by: vitor campos - 2022-02-25, 4:36 - Forum: Help - No Replies

Hello o/

I'm new to the forum so first of all thanks for the effort around it. I really appreciate all of your time and effort.

I am running LeoCAD on a armhf machine (Ubuntu focal) and have even suceeded compiling it myself through git.

However, when I try to run it, it is plain white. I cannot see a brick on the project. Nor even the "mesh" is visible. Has anyone experienced something similar?

This is what my screen look like:[Image: 592331995_Capturadetela_2021-09-17_01-10...3f1893.png]

And this is my terminal info about the package and its dependencies!
[Image: 573839915_Capturadetela_2021-09-17_01-11...f35c24.png]

Thanks a lot!
Best,
Vitor

Print this item

  New LDraw.org Contributer's Agreement
Posted by: Orion Pobursky - 2022-02-23, 21:56 - Forum: Parts Tracker Discussion - Replies (1)

All,

A new Contributor's agreement has been agreed upon by the SteerCo. The text is as follows:


Quote:By submitting work ("the Work") to The LDraw Organization ("LDraw.org"), the submitter ("the Author"), agrees to release the Work under the Creative Commons Attribution License 4.0 International License ("CC BY 4.0").

The human readable and legal text of the CC BY 4.0 license can be found at this link:
https://creativecommons.org/licenses/by/4.0/


If you are reading this, you have, at a minimum, Parts Tracker submit privileges. While it is not required, I ask that all of you email [email protected] with the following:

"I accept the LDraw.org Contributor's Agreement dated 23-Feb-2022 with regards to all past and future contributions I make to LDraw.org".

There is some documentation and coding to do so the expected implementation of the CC BY 4.0 license will be the May or July update. I will not be suspending accounts or anything like that to enforce agreement (although expect an email nag from me if I don't hear from you) as the CC BY 2.0 is fine for us but it has some legal baggage that we want to avoid hence the revision.

Thank you and thank you for making the LDraw library what it is.

Print this item

  New LDraw.org Contributer's Agreement
Posted by: Orion Pobursky - 2022-02-23, 21:56 - Forum: General LDraw.org Discussion - Replies (1)

All,

A new Contributor's agreement has been agreed upon by the SteerCo. The text is as follows:


Quote:By submitting work ("the Work") to The LDraw Organization ("LDraw.org"), the submitter ("the Author"), agrees to release the Work under the Creative Commons Attribution License 4.0 International License ("CC BY 4.0").

The human readable and legal text of the CC BY 4.0 license can be found at this link:
https://creativecommons.org/licenses/by/4.0/


If you are reading this, you have, at a minimum, Parts Tracker submit privileges. While it is not required, I ask that all of you email [email protected] with the following:

"I accept the LDraw.org Contributor's Agreement dated 23-Feb-2022 with regards to all past and future contributions I make to LDraw.org".

There is some documentation and coding to do so the expected implementation of the CC BY 4.0 license will be the May or July update. I will not be suspending accounts or anything like that to enforce agreement (although expect an email nag from me if I don't hear from you) as the CC BY 2.0 is fine for us but it has some legal baggage that we want to avoid hence the revision.

Thank you and thank you for making the LDraw library what it is.

Print this item

  1.8.54 Beta Released (bugfixes / no Java / new installers)
Posted by: Nils Schmidt - 2022-02-22, 21:00 - Forum: Parts Author Tools - Replies (34)

Hey,


this version comes with new installers and does not need a Java installation anymore.
It also improves the compatibility with Mac OS X and Linux.


Please uninstall the previous LDPartEditor version, before installing version 1.8.54.
LDPE uses now a very modern technology stack (self-contained Java 17).



[Image: attachment.php?aid=12753]



As always, you can download LDPE from this page:

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


Changelog:
(2 new features and 2 bug fixes)


With this release you will be able to...

  • ...use installers of LDPartEditor for Windows, Linux and Mac OS X (without the need to install Java)
  • ...see more digits (at least 4 decimal places) on the protractor and the distance meter.

The following critical issues were fixed:

  1. "Set X/Y/Z (for Selection)" loaded always the vertex from the clipboard if there was one vertex stored in it.
  2. Outdated UI libraries for Mac OS X were updated.




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.

Installation on Windows:

  1. Download and extract LDPartEditor_win32_x64.zip
  2. Run LDPartEditor-1.8.54.msi
  3. Start LDPartEditor from the start menu

Installation on Linux:

  1. Download and extract LDPartEditor_linux_x64.zip
  2. Install ldparteditor_1.8.54-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.54.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

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.

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.

Print this item

  HISTORY lines and the CC BY 2.0
Posted by: Orion Pobursky - 2022-02-22, 17:54 - Forum: Parts Tracker Discussion - Replies (11)

I'm going to become much more of a stickler about HISTORY lines. If you have a submit on a part and you are not the author there must be at least 1 HISTORY line with your username. This is a CC BY 2.0 requirement that we must abide by. Submissions that fail to meet this criteria will be header edited or held until the submitter contacts a Header Admin for an edit.

Print this item

  Lego Mindstorms NXT, NXT 2.0, EV3
Posted by: Javier Orquera - 2022-02-21, 16:02 - Forum: Official Models - Replies (4)

Hello everyone:

This thread is for Lego Mindstorms NXT, NXT 2.0 and EV3 sets.

I have made several of them and posted in Eurobriks page (long time ago); I'm try to OMRize and share all of theme here, but before of doing that I've this question on Education Expansion sets: which number I need to use, since it's a two number sets and MPDCenter do not recognize the two number, just one?

Edit: As example EV3 Education Expansion 45544+45560 Elephant set.

Print this item

  Patterned part summary suggestion
Posted by: N. W. Perry - 2022-02-20, 20:05 - Forum: Website Suggestions/Requests/Discussion - No Replies

Could the patterned parts summary be configured to search for all variations of a part number (a, b, etc.)? For example, it would be helpful to see which patterns appear on any version of the minifig head, regardless of which type of stud it has.

Print this item

  clh3
Posted by: Orion Pobursky - 2022-02-19, 21:51 - Forum: Parts Tracker Discussion - No Replies

https://www.ldraw.org/cgi-bin/ptdetail.cgi?f=p/clh3.dat

Let's get this fixed. It's going to hold things up in 2 weeks.

Print this item