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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,894
» Latest member: Marcelo Filipe
» Forum threads: 6,502
» Forum posts: 53,770

Full Statistics

Online Users
There are currently 116 online users.
» 1 Member(s) | 110 Guest(s)
Applebot, Baidu, Bing, Google, Yandex, Jeff Jones

Latest Threads
2026 - New Parts -> Raw M...
Forum: Part Requests
Last Post: Gerald Lasser
Yesterday, 21:23
» Replies: 6
» Views: 4,098
Teenage Mutant Ninja Turt...
Forum: Official Models
Last Post: Chris Böhnke
Yesterday, 5:19
» Replies: 8
» Views: 3,136
LDraw.org 2026-05 Parts U...
Forum: LDraw.org Announcements
Last Post: Orion Pobursky
2026-05-31, 20:11
» Replies: 0
» Views: 185
Most Common Parts - 16 im...
Forum: Part Requests
Last Post: tom alphin
2026-05-30, 15:05
» Replies: 4
» Views: 555
Current LEGO Colour Palet...
Forum: Parts Authoring
Last Post: Chris Böhnke
2026-05-29, 21:24
» Replies: 2
» Views: 392
LDraw.org Official Parts ...
Forum: Parts Tracker Discussion
Last Post: Manfred Schaefer
2026-05-29, 12:14
» Replies: 18
» Views: 1,512
Hello! Parts 30258pb006,...
Forum: Part Requests
Last Post: Matthew
2026-05-27, 23:02
» Replies: 6
» Views: 640
Successor to LL918 using ...
Forum: MOCs (My Own Creations)
Last Post: Willy Tschager
2026-05-27, 13:05
» Replies: 1
» Views: 336
at rt
Forum: MOCs (My Own Creations)
Last Post: Jeff Jones
2026-05-27, 8:47
» Replies: 3
» Views: 431
One week to go.
Forum: Parts Tracker Discussion
Last Post: Magnus Forsberg
2026-05-25, 16:00
» Replies: 0
» Views: 328

 
  Idea for LUA script to create a knolling layout
Posted by: Jaco van der Molen - 2024-10-11, 6:49 - Forum: LDraw Editors and Viewers - Replies (22)

Hi all,

A question came up about creating a nice and satisfying knolled layout for a model.
This can now be done in LDPub3D, but the output is either a PDF page or PNG images showing the knolled BOM of a model.

If we want this in an LDraw file, we could be able to do this in a LUA script in LDCad.
There are a few sample scripts that take the bricks of a model and reorder them.
I was thinking about what if we can make something like the Selection Circle script does.

I am slowly learning (self taught) LUA and am trying to modify the Selection Circle myself.
But this is complex.

Maybe a LUA wizard or programmer can shine a light on this?

The steps involved, I think, would be something like this:

  1. Select all bricks in the model. This should be done in Nested mode to select all bricks in submodels too. Deleting all metacommands other then the header and bricks (for example steps, LPub commands, etc.) The result is a nice stack of all bricks in just one big model.
  2. Next we should reset all parts to plane level. So every brick that has a rotation should be reset to default straight rotation level on the y-plane (I hope I explain this correct) and maybe put all parts at the 0,0,0, coordinate. This can already be done with the provide sample script "Copy orientation"
  3. Then, we will want to sort the bricks based on size and color (or other order?)
  4. Next, starting with the smallest brick on the 0,0,0 position, rows and columns of the other bricks should be made to get a square or rectangular shape for the layout. You should be able to set the amount of rows or columns or calculate the best ratio for your model.
  5. After the first brick, the next should be positioned at say 20 LDU from the previous brick (distance between bricks would be 1 stud) either to form a row or column
  6. Then the next and the next and so on until the first X amount of bricks are neatly positioned and aligned in a row or column
  7. Then do the next row or column and so on
  8. A collision check should be done to make sure no bricks overlap

Am I on the right track? Is it too complex or can it be done in other ways?

LMKWYT

Print this item

  Part request: "Brickmania Track Links" (Third Party parts)
Posted by: Eugen - 2024-10-10, 16:17 - Forum: Part Requests - No Replies

Create "Brickmania Track Links" parts from scratch for LDraw Parts Library as "Third Party parts".


There was an attempt to create for Stud.io, but its files might be not be used directly:
Quote:They are based on Lego piece 3711, but designed in CAD and then transformed to Ldraw. It has fully functional connectivity for use in studio. You can find the studio and partdesigner files on my Bricksafe page. To import them into your studio custom part palette, open the .part file in PartDesigner and then export it to studio.
There was an official announcement for providing LDraw parts: but its never released into public:

Print this item

  Part request: "Shupp XXL Train Wheels" (Third Party parts)
Posted by: Eugen - 2024-10-10, 15:48 - Forum: Part Requests - Replies (8)

Recreate "Shupp XXL Train Wheels" from scratch for Parts Library as Third Party parts.

For the "Shupp XXL Train Wheels" (https://www.shapeways.com/shops/shupp-s-...rain-stuff), there was an attempt to create LDraw parts, but its files created with a "CAD->STL->DAT" workflow (not exact LDraw way to model wheels), and this attempt files might not be included into LDraw due to many other issues:


UPDATE: Removed request for "Brick Train Depot" due to owner decision to prohibit including its parts to LDraw Parts Library.

Print this item

  Creator 2017
Posted by: Marc Belanger - 2024-10-10, 1:18 - Forum: Official Models - Replies (2)

Creator 2017 models thread.

Print this item

  230290 "Josef Prusa" is real set?
Posted by: Eugen - 2024-10-09, 21:52 - Forum: Off-Topic - Replies (2)

Was this set a real LEGO set? According to ID it is "Duck".

There was few similar MOCs on Lego.Ideas and Rebrickable:

[Image: lego.jpg]

Print this item

  PT Polocies and FAQ
Posted by: Orion Pobursky - 2024-10-09, 20:05 - Forum: Parts Tracker Discussion - Replies (14)

As part of my initiative to simplify things, I'm combining the following documents into one document and removing anything overly obvious:
https://www.ldraw.org/pt-policies.html
https://www.ldraw.org/ptfaq.html
https://www.ldraw.org/authorfaq.html
https://www.ldraw.org/reviewfaq.html

My new draft is here:
https://www.ldraw.org/draft-documents/pa...d-faq.html
https://www.ldraw.org/pt-policies.html

Let's discuss what else needs to be in here.

Print this item

  What is the state on Third Party parts?
Posted by: Eugen - 2024-10-09, 6:55 - Forum: General LDraw.org Discussion - Replies (12)

Years ago it was a joke that "LDraw.org opens to LEGO clone bricks":


Now I see there are some Third Party parts on PT, and some of them already certified:

Third Party are not exact LEGO clones, but a LEGO-compatible parts with its own design.

So:
  1. What is the state of Third Party parts?
  2. May I design own LEGO-compatible part and pull it to Parts Tracker for including into Parts Library?
  3. What is the state for including non-LEGO-compatible parts from other construction sets now?

Print this item

  Flag 2 x 2 with Blue and Yellow Rectangle Pattern (Sticker)
Posted by: Eugen - 2024-10-06, 10:48 - Forum: Parts Authoring - Replies (14)

I just authored draft of 2335pb024.dat part (from 3825-1 and 3833-1 sets)


UPDATE: Files submitted to PT: LeoCAD screenshot:

   

Print this item

  FreeStyle 1995-1998
Posted by: Eugen - 2024-10-06, 0:54 - Forum: Official Models - Replies (5)

FreeStyle was a sets theme from 1995 to 1998, a successor of the Basic theme, which itself was brought back in 1999.

Many sets from the FreeStyle theme was converted into Promotional sets by various companies, including by LEGO Group itself, which added such a small LEGO® SYSTEM™ sets with their own products or provided it as gifts:
  • Milky Way's "Magic Chest" (1995-1997) by Mars, Inc.forums.ldraw.org/thread-28440.html 
    (included 1777, 1778, 1779, 1823, 1859 and some other FreeStyle sets, with build instrcutions for custom larger models)
  • LEGO co-branded Sabach Promotional Sets (1997)
  • 1298 - LEGO Advent Calendar Set (1998), part of the Classic Basic theme.
    (included 1777, 1778, 1779, 1823, 1859 and other, with an extra Santa Minifig set)

Print this item

  Milky Way Magic Chest 1995-1998 (Promotional)
Posted by: Eugen - 2024-10-05, 21:26 - Forum: Official Models - Replies (2)

The Milky Way Magic Chest (or simply "Magic Chest") was a series of products made by Mars, Inc., produced in 1995-1998 in a form of the small paperboard boxes, each with a single Milky Way chocklate and one of the few LEGO® SYSTEM™ Promotional sets from FreeStyle theme:


FreeStyle theme sets OMR models thread: forums.ldraw.org/thread-28441-post-55072.html

There was few themes introduced in the Milky Way "Magic Chest":
  • Transport (1995, blue boxes), called "in the clouds, on ground and on sea"
  • Farmer and pets (199?, pink boxes), called "funny"
  • Animals (199?, winter decorated boxes), called "in the clouds, on ground and on sea", mix of sets from its Transport and Farm themes

NOTE: LDraw MPD file made with the latest LeoCAD ("continuous" build), designed to be a container for whole "Magic Chest" series, where each theme is a separate submodel, consisting of 4 or 5 theme models (as separate submodels). Also, for each promotional set theme models are based on there are submodels, which in turns consisting of each its subset (3 variants per set).


Milky Way Magic Chest - Transport (1995)

It was a series of 5 boxes, each with the one of five LEGO® SYSTEM™ Promotional sets (each set consisted of 3 subsets):
  1. 1777 set:
    1. 1777-1 - Airplane (Low-Wing)
    2. 1777-2 - Airplane (High-Wing)
    3. 1777-3 - Cargo Vessel (Container Ship, Barge)
  2. 1778 set:
    1. 1778-1 - Police Patrol Boat [?]
    2. 1778-2 - Police Vessel [?]
    3. 1778-3 - Police Speed Boat [?]
  3. 1779 set:
    1. 1779-1 - Seaplane
    2. 1779-2 - Helicopter
    3. 1779-3 - Snowmobile [?]
  4. 1823 set:
    1. 1823-1 - Sailboat
    2. 1823-2 - Airplane
    3. 1823-3 - Yacht [?]
  5. 1859 set:
    1. 1859-1 - Airplane (Low-Wing) - same as 1777-1, but in different colors
    2. 1859-2 - Airplane (Low-Wing, with short wings)
    3. 1859-3 - Narrowboat (Houseboat, Riverboat)

It also provides a partial instruction for 4 models (originally unnamed) could be built from combination of this sets:
  1. Transport-1 - Large Passenger Airplane (Airliner)
  2. Transport-2 - Cargo Plane (Transport Aircraft)
  3. Transport-3 - Cargo Vessel (Container Ship, Oil/Grain Tanker)
  4. Transport-4 - Cargo Car (Flatbed Truck)

(I recreated models myself, but someone else made it on Rebrickable too: rebrickable.com/mocs/MOC-109660)

LeoCAD Screenshot:
   


Milky Way Magic Chest - Farmer and pets (199?)

TBA


Milky Way Magic Chest - Animals (199?)

TBA



Attached Files
.mpd   Milky Way Magic Chest.mpd (Size: 14.91 KB / Downloads: 7)
.mpd   Milky Way Magic Chest (updated).mpd (Size: 14.91 KB / Downloads: 3)
Print this item