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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,419
» Latest member: PatrTher
» Forum threads: 6,245
» Forum posts: 52,219

Full Statistics

Online Users
There are currently 219 online users.
» 1 Member(s) | 214 Guest(s)
Applebot, Baidu, Bing, Google, Orion Pobursky

Latest Threads
The colour of textures in...
Forum: Parts Authoring
Last Post: Orion Pobursky
1 hour ago
» Replies: 4
» Views: 104
Keywords and invalid 0 li...
Forum: Parts Tracker Discussion
Last Post: Orion Pobursky
2025-11-03, 22:17
» Replies: 6
» Views: 146
Minifigure Head MINI HEAD...
Forum: Part Requests
Last Post: Bailey Meyer
2025-11-03, 20:37
» Replies: 5
» Views: 375
Friends 2025
Forum: Official Models
Last Post: Philippe Hurbain
2025-11-02, 19:24
» Replies: 1
» Views: 301
Technic 1990
Forum: Official Models
Last Post: Takeshi Takahashi
2025-11-02, 15:05
» Replies: 14
» Views: 18,396
Sorting by date
Forum: Website Suggestions/Requests/Discussion
Last Post: Peter Blomberg
2025-11-01, 10:22
» Replies: 5
» Views: 486
Parts request , spider we...
Forum: Part Requests
Last Post: Peter Grass
2025-10-31, 11:23
» Replies: 1
» Views: 206
Part 4070 differences in ...
Forum: Parts Authoring
Last Post: Peter Grass
2025-10-31, 10:58
» Replies: 7
» Views: 629
Empty file with MLCad
Forum: Parts Authoring
Last Post: Orion Pobursky
2025-10-30, 0:20
» Replies: 2
» Views: 293
Duplo parts not yet in LD...
Forum: Part Requests
Last Post: Peter Grass
2025-10-29, 9:46
» Replies: 16
» Views: 2,311

 
  LDraw-based addons for free games (SuperTuxKart, YSFlight, etc.)
Posted by: Eugen - 2019-06-18, 1:52 - Forum: LDraw File Processing and Conversion - Replies (2)

There are many LEGO-based games:

On June 13, 2019 Playground Games released "Lego Speed Champions" expansion for "Forza Horizon 4"
[Image: fh4-lego-render-1.jpeg?itok=isYRhcX7]

What you think about creating LDraw-based addons for free games? Wink

For example, I could recommend create LDraw-based (using free MOCs, without official LEGO sets or any copyrighted MOCs) addons for next free games (or recommend other):
  • SuperTuxKart - free & open-source cross-platform 3D racing game (for Linux, Windows, Mac OS, Android and other)
  • YSFlight - freeware 3D flight simulator, but not limited to flight simulation only (for Linux, Windows and Mac OS)
As for SuperTuxKart 0.6 there was LEGO-like addon: Also there was Tente3D-like addon for SuperTuxKart:
Addons for SuperTuxKart and YSFlight could be created using Blender (with some Blender addons). And LDraw parts/models could be imported to Blender, so Blender is recommended for such LDraw-based game addons creating.

There should be few categories for game addons:
  • Scene - city, landscape (for example, reuse "Datsville" project);
  • Vehicles - aircrafts, cars, vessels (controlled by gamer);
  • Ground objects - buildings, trees, other objects (non-controlled by gamer);
  • Characters - minifigs (gamer avatars; optional)

Print this item

  How to create Bill of Materials on two pages?
Posted by: nigan - 2019-06-17, 9:12 - Forum: General LDraw.org Discussion - Replies (1)

Hello everyone,,,

I am using MLCad to build train with a longer train baseplate. Though I can use small scale to create instructions, but I am not sure how to scale down baseplate in BOM.

Can I create two pages of BOM? Or can I hide baseplate in BOM? I tried to set baseplate as ghost in MLCad but it doesn't work, what can I do?


[Image: attachment.php?thumbnail=1133]
xvideos.onl/ xnxx.onl/  chaturbate.onl/
[Image: attachment.php?thumbnail=1132]

Print this item

  Online tool for OMR compliance
Posted by: Lasse Deleuran - 2019-06-16, 19:58 - Forum: LDraw File Processing and Conversion - Replies (26)

When uploading sets to BrickHub.org, it now checks for OMR compliance, and in some cases, can fix errors directly on the site. here is a video showing how to use it. The checks and fixes are currently implemented in this Javascript file: LDROMR.js and are:

  • Check and fix file headers so they read "0 FILE <set number> - <name>.ldr" then "0 <description>", followed by "0 Name:<set number> - <name>.ldr".
  • Ensure the file name is "<set number> - <name>.mpd" with optional qualifiers starting from "-1" (See discussion below)
  • Check and fix moved parts: If a part is named "~Moved <name>" then replace its usages with "<name>.dat"
  • Check and fix placements: If a large number of parts are placed with more than three decimals in the position or rotation, then round the placement to three decimals. Example: "1 16 0.0001 0 0 ..." becomes "1 16 0 0 0 ...".
  • Check and fix all author lines: Ensure all authors are the same and read "!Author Name [username]"
  • Check and fix all license lines to read "Redistributable under CCAL version 2.0 : see CAreadme.txt"
  • Set all "0 LDRAW_ORG" lines to read either "Model" or "Unofficial_Model".
  • Set the "0 LDRAW_ORG Unofficial_Part" in all unofficial parts of the file.
  • Ensure all unofficial parts are copied into the MPD file and named with the set number prefix in the "0 FILE" and "0 Name:" lines.
  • If the set is from 2007 or after and contains old colors (6, 7, or 8), then replace them with the newer colored parts.
  • If the set is from before 2007 and contains new colors (70, 71, or 72), then replace them with the old colored parts.
  • Inline textured parts according to the non-finalized spec.
  • Substitute parts that have been replaced by LEGO. As an example, 2470 replaced 4459 in 1990, so the parts will be checked against the year.
  • Verify that "Theme" lines correctly identify a theme.
  • Verify that "History" lines are well formed.
  • Verify that "History" lines are in the correct order.
  • Check that tyres are colored 256 instead of 0.

The purpose of this work is to make it even easier to submit OMR-compliant model file - especially for people who are not using Windows, so they can't easily use MPDCenter.

I do not expect that I have found all OMR checks, and some of my checks might even be erroneous. This is why I am creating this thread. Let's discuss OMR checks and fixes Smile

Print this item

  Stickers with round or sharp edges?
Posted by: Jaco van der Molen - 2019-06-16, 19:33 - Forum: Parts Authoring - Replies (9)

Hi all,

Currently, I am trying my best to create the stickers for set 10266 (Apollo 11 Lunar Lander).
I do this to learn to work with LDPC and LDPE :-)


Since I do not own the model (yet) I can only judge online pictures and reviews, but it is my opinion that the edges are round.


Do we need to mimic this or would sharp (straight) edge be good too?
Currently, some stickers have this feature in the official library.
I could be mistaken, but I think most stickers in the newer sets nowadays have rounded edges whereas in the past most stickers had straight edges?

If they must be round, would it be an idea to create a submodel for the bottom box, since a sticker is, in fact, a box that is 0,25 LDU thick?

Attached is my first attempt at sticker nr. 5 of this set.

Also, what would be the part number for the sticker or how do we name it?

Jaco



Attached Files
.dat   ST05.dat (Size: 15.12 KB / Downloads: 3)
Print this item

  Faulty part (wrongly positioned holes): Train base plate 92088
Posted by: Lebostein - 2019-06-16, 5:02 - Forum: General LDraw.org Discussion - Replies (6)

Hi,

the trainbase plate 92088 (used in all train sets since 2010) has wrongly positioned square holes. The holes have a strange little offset to the middle, so it is impossible to stick plates to the bottom (see screenshot in attachment). The holes should be centered to the red plates you see in the screenshot.

So it is impossible to rebuld sets like 60198 because you have stick a plate 4 x 8 to the bottom.



Attached Files Thumbnail(s)
       

.jpg   holes3.jpg (Size: 8.21 KB / Downloads: 93)
Print this item

  Model with every color
Posted by: Michael Horvath - 2019-06-16, 3:26 - Forum: General LDraw.org Discussion - Replies (4)

Does anyone have a model handy with one part for every color? Thanks.

Print this item

  [disregard] 3626bpao.dat
Posted by: Michael Horvath - 2019-06-16, 2:21 - Forum: Part Requests - No Replies

This file has a bunch of weird colors. For instance:

Code:
3 0x2F05C00 -0.1297 16.6768 -12.9742 0 16.6616 -13 0 16.5118 -13
4 0x2F05C00 0 16.1078 -13 -0.55 16.7488 -12.8906 -0.1297 16.6768 -12.9742 0 16.5118 -13
3 0x2F05C00 0 16.1078 -13 -0.7224 16.1568 -12.8563 -0.55 16.7488 -12.8906
4 0x2F05C00 -1.4158 16.3701 -12.7184 -1.0946 16.8569 -12.7823 -0.55 16.7488 -12.8906 -0.7224 16.1568 -12.8563
4 0x2F05C00 -1.9554 16.5807 -12.6111 -1.5187 16.9629 -12.698 -1.0946 16.8569 -12.7823 -1.4158 16.3701 -12.7184
4 0x2F05C00 -1.9554 16.5807 -12.6111 -1.9513 17 -12.6119 -1.7156 17 -12.6588 -1.5187 16.9629 -12.698
3 0x2F05C00 -1.9554 16.5807 -12.6111 -2.4328 16.7198 -12.5162 -1.9513 17 -12.6119
3 0x2F05C00 -2.4328 16.7198 -12.5162 -2.5166 17 -12.4995 -1.9513 17 -12.6119
4 0x2F05C00 -2.5166 17 -12.4995 -2.4328 16.7198 -12.5162 -2.9746 16.7997 -12.4084 -2.7453 17 -12.454
3 0x2F05C00 -2.9746 16.7997 -12.4084 -3.264 17 -12.3509 -2.7453 17 -12.454
4 0x2F05C00 -3.264 17 -12.3509 -2.9746 16.7997 -12.4084 -3.2554 16.7945 -12.3526 -3.4572 17 -12.3124
4 0x2F05C00 -3.2554 16.7945 -12.3526 -3.534 16.91 -12.2972 -3.4985 17 -12.3042 -3.4572 17 -12.3124
3 0x2F05C00 -3.2554 16.7945 -12.3526 -3.4 16.8071 -12.3238 -3.534 16.91 -12.2972
4 0x2F03C00 0 17 -13 0 16.6616 -13 -0.1297 16.6768 -12.9742 -0.1027 17 -12.9796
4 0x2F03C00 -0.1027 17 -12.9796 -0.1297 16.6768 -12.9742 -0.55 16.7488 -12.8906 -0.5628 17 -12.8881
4 0x2F03C00 -0.5628 17 -12.8881 -0.55 16.7488 -12.8906 -1.0946 16.8569 -12.7823 -1.0749 17 -12.7862
4 0x2F03C00 -1.5136 17 -12.699 -1.0749 17 -12.7862 -1.0946 16.8569 -12.7823 -1.5187 16.9629 -12.698
3 0x2F03C00 -1.5187 16.9629 -12.698 -1.7156 17 -12.6588 -1.5136 17 -12.699

Is this intentional? How can they be fixed?

ed.

Never mind. I see now that these are "custom colors".

Print this item

  How to get started developing a new LDraw Editor?
Posted by: Nathan Readioff - 2019-06-15, 12:11 - Forum: General LDraw.org Discussion - Replies (4)

Hi, I’m new to the forum! I’m mainly a digital Lego builder, with a soft spot for real space and sci-fi models.  I’ve been a long-time dabbler with Lego Digital Designer, using LDraw to format models for instruction manuals and recently exploring Mecabricks and Blender for rendering.  However, since Lego has confirmed that LDD will not be updated to run on MacOS Catalina (which is dropping support for 32-bit apps) and I haven’t found any alternative Mac editors that I feel comfortable using, I’m seriously looking at the possibility of creating my own Lego CAD program - a native MacOS app, coded in Swift, using the Metal 3D graphics framework.

I’ve never actually coded for the Mac before, so I am not sure how far I will get with this.  But I used to play with the Dark Basic programming language and some low-level DirectX 9 commands, so I know the basics of high-level 3D object manipulation, and my day job is partly spent writing C++ programs. Would there be room for another LDraw editor in the community, any interest in having something for the Mac?


I also had a few questions after reading up on the LDraw file format. Please, please don’t take these as criticisms of the library, or think that I am asking/suggesting that anything should be changed, I am only asking to try and get a deeper understanding of how the format works.

Why do you use a right-handed coordinate system, with negative y straight up? The two main conventions are +x to the right, +y upwards, and +z either into or out of the screen (for left or right handed). So why was this one chosen? 

Each brick in the library is constructed from a series of recursive primitives, so what’s the best way to manage a brick in a program? Do you consider the brick as an object with multiple child limbs (with the limb structure preserving the LDraw primitive file hierarchy)? Or is it better to combine the geometry data of all of the primitives into a single 3D mesh? And has anyone ever pursued the LDD approach of hiding studs and anti-studs once they are connected, to reduce the scene poly-count?

None of the bricks contain normal data for the vertices, so how do you go about computing this? I mean, I know it’s a vector cross-product for each triangle, but how do you work out if an edge should be a hard edge (like for sides of a 2x4 brick) or a soft edge (like the rounded surface of a minifig head)? How do you go about searching the vertex data for shared edges?  (And out of historical curiosity, why wasn’t the LDraw library designed to include the normal data? Was the original intention to use flat shading only?)

What is the importance of the back-face culling commands in the file format?  Polygons can be rendered as single or double sided, but single sided is the default for performance reasons, and polygons facing away from the camera can be automatically culled by the 3D render engine.  So why does this need to be such a major part of the file format specification? Is this used to help determine which way a normal vector should point when creating a triangle?

For the ROTSTEP command, why does it specify three Euler angles for the rotation instead of a quaternion? And what’s the rotation order (x,y,z, z,y,x, …)?  Also, am I correct in assuming that REL and ABS denote use of perspective or orthographic rendering modes?

When defining parts in a model, the file format specifies x,y,z positions then a 3x3 rotation matrix.  Why isn’t a full 4x4 matrix used, so that all position, scale, rotation information could be encoded in one structure?

From looking at the Bricksmith editor, steps seem to have a default rotation of x,y,z = 31,41,21 degrees.  Why is this angle chosen, does the default ever vary from program to program?

Again, please don’t take any of these questions as criticisms of the LDraw format, I really am just trying to understand how the file format has evolved and how it works currently.


Oh, and sorry for such a huge first post, it’s turned out way longer than I expected! Smile

Print this item

  Tile 1x1 Round
Posted by: Orion Pobursky - 2019-06-15, 0:37 - Forum: Parts Authoring - Replies (25)

I'm sure I missed some sort of relevant discussion but why are the top edges rounded on the 1x1 round tile but nowhere else? It seems to me that these edges should be sharp just like every other part.

Print this item

  Forum template
Posted by: Orion Pobursky - 2019-06-14, 23:13 - Forum: Website Suggestions/Requests/Discussion - Replies (1)

With the low hanging fruit out of the way and the 1.9 update to mybb nowhere in sight, I’m gonna embark on updating the forum theme. Wish me luck.

Print this item