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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,790
» Latest member: Hernandez
» Forum threads: 6,461
» Forum posts: 53,545

Full Statistics

Online Users
There are currently 279 online users.
» 0 Member(s) | 274 Guest(s)
Applebot, Baidu, Bing, Google, Yandex

Latest Threads
Technic 1993
Forum: Official Models
Last Post: Takeshi Takahashi
11 hours ago
» Replies: 16
» Views: 11,279
5687pb01 Dragonborn Palad...
Forum: Part Requests
Last Post: Magnus Forsberg
Yesterday, 5:36
» Replies: 3
» Views: 289
Black Widow “SDCC”
Forum: Part Requests
Last Post: James Simpson
2026-04-11, 23:22
» Replies: 0
» Views: 101
[LDPE] 1.9.03 Released (r...
Forum: Parts Author Tools
Last Post: N. W. Perry
2026-04-11, 15:09
» Replies: 1
» Views: 116
Pokemon
Forum: Official Models
Last Post: Florent Faramond
2026-04-11, 7:36
» Replies: 17
» Views: 2,349
Wheels needed for Set 772...
Forum: Part Requests
Last Post: Magnus Forsberg
2026-04-10, 14:11
» Replies: 6
» Views: 784
[LDPE] 1.9.02 Released (S...
Forum: Parts Author Tools
Last Post: N. W. Perry
2026-04-10, 13:47
» Replies: 8
» Views: 794
Proposed change to !CATEG...
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
2026-04-10, 2:59
» Replies: 13
» Views: 1,236
Some Parts id like for MO...
Forum: Part Requests
Last Post: Alpha_Wolf24
2026-04-08, 4:26
» Replies: 2
» Views: 429
30305c01 Rock Monster (Ro...
Forum: Part Requests
Last Post: Peter Grass
2026-04-06, 20:50
» Replies: 19
» Views: 16,961

 
  Extension for material properties?
Posted by: N. W. Perry - 2020-09-30, 15:03 - Forum: Official File Specifications/Standards - Replies (31)

I had this topic in mind, when I stumbled on this very old thread. With the vastly increased use of photo-realistic rendering since then, I'm wondering if the subject has been given any more thought?

In particular, I've found that there's a fair number of parts that are made of a softer plastic than the typical ABS brick, and/or have a rougher, matte finish (like the slope texture that kicked off that thread). While there are already color categories for rubber, various metals, etc., there seems to be a lack of options for describing different solid plastic properties within LDraw.


As a more general note, this seems like another in a family of physical part characteristics that I could envision being described by a series of metadata extensions, possibly as part of a hypothetical LDraw 2.0. Others in the family could include snapping/connectivity info, physical part dimensions (for accurately rendering seams, or calculating part collisions), and kinematic info (for describing technical functions like gear meshes).

Print this item

Photo New WebGL <brick-viewer> web component for MPD files
Posted by: Justin - 2020-09-26, 20:17 - Forum: LDraw Editors and Viewers - No Replies

Hey everyone,

This is my first post here, so hopefully announcements of this sort are ok.

I'm a web developer who works on libraries related to web components, a way for developers to create their own HTML tags. As part of a demo/codelab a coworker and I created a MPD viewer web component using three.js called <brick-viewer>.

<brick-viewer> wraps up three.js and it's LDraw loader example so that it's super easy to use. All you have to do is import the element definition, then use the tag:

PHP Code:
<?php 
<!-- import the custom element definition -->
<
script type="module" src="https://unpkg.com/brick-viewer?module"></script>

<!-- use
the tag anywhere in HTML -->
<
brick-viewer src="./radar_truck.mpd"></brick-viewer>

You can see a demo here: https://polymerlabs.github.io/brick-viewer/
And you can install it from npm with:

Code:
npm i brick-viewer

<brick-viewer> was made as a demo, but it's pretty usable. It displays build steps with a slider and that's controllable with an HTML attribute. The code itself is pretty straightforward, so it could be extended with new features. You can see the code and file bug reports and feature requests here: https://github.com/polymerlabs/brick-viewer/

I hope it enables sites like this to easily embed 3D models without any programming. It'd be nice to unleash the potential of WebGL + Lego on the web Smile

I'd love feedback if you try it out! We're new to the file formats and use cases, so if there's something we could do better, let us know.

One thing I'd love to know about is if there are any efforts to make .ldr files be able to link to each other, or newer formats that would allow that. It seems like having to make MPD files slows down the workflow, and makes it a bit harder to make a viewer app that could just render LDR files hosted on the web.



Attached Files
.png   Screen Shot 2020-09-26 at 1.04.11 PM.png (Size: 45.61 KB / Downloads: 36)
Print this item

  Friends Hedgehog 98389
Posted by: Takeshi Takahashi - 2020-09-22, 15:39 - Forum: Part Requests - Replies (3)

Hello,

Thanks for creating previous requested part 93088 (Puppy).

I'd like to request part 98389 (Hedgehog, Friends) for Friends OMR project
https://forums.ldraw.org/thread-24146.html

Creating plain base part is sufficient, as I'll try to have training for curved surface patterns, as well as 93088.

Looking into Philo's 93088, I can see what we need for cleaning up LDD exported data:
- Adding conditional lines
- Using primitives especially for connections with other parts (studs, accessory holes, handles for minifigs etc.)

I'll start making my first 3-D part from easier one soon (such as 94717), but animals are a little above me now.

Print this item

  The only official train motor in LDraw is from 1991 with fixed wheels?
Posted by: Lebostein - 2020-09-22, 7:48 - Forum: Part Requests - Replies (1)

I am somewhat shocked that the only official train motor in the LDraw library is the old one from 1991 with fixed wheels:
https://www.ldraw.org/parts/official-par...id=2894c01

But since 2006 (!!!) a new type of motor with axle holes was introduced:
https://www.bricklink.com/v2/catalog/cat...ge?P=x1688 (2006 - 2009, Initial 9V motor)
https://www.bricklink.com/v2/catalog/cat...P=87574c01 (2010 - 2015, "Power Functions" version)
https://www.bricklink.com/v2/catalog/cat...=bb0896c01 (2018 - 2020, "Powered Up" version)

But it seems no official parts for this "new" type of motor. There are some unfinished designs only, like that:
https://www.ldraw.org/cgi-bin/ptdetail.c.../87574.dat

Print this item

  577a and 577b length?
Posted by: Philippe Hurbain - 2020-09-20, 17:49 - Forum: Parts Tracker Discussion - Replies (5)

Could someone verify that lightsaber hilt length is different? If length is different (as they are modeled), I'm a bit surprised that they are mixed together on Bricklink...

Print this item

  Rendering of sheared RECT primitives
Posted by: Gerald Lasser - 2020-09-17, 22:33 - Forum: Parts Authoring - No Replies

I uploaded the cake costume parts, 35860 and 38560p01, and had them rendered in Stud.io.



What I got was an interesting result. on the LEFT the parts are as I have uploaded them to the PT, resulting in this "cond-line artefact". I remembered that I used a rect2p there with a shear matrix. So I in-lined this and I got the result on the RIGHT picture. Seems that the pre-processing for the renderer is not working correctly.


Has anybody noticed this and (re-)designed a part with this problem in mind?

Code:
0 // ORIGINAL CODE (LEFT)

1 16 0 -20 -10.75 19 0 0 0 1 20 0 0 .25 rect2p.dat
1 16 0 -20 10.75 -19 0 0 0 1 20 0 0 -.25 rect2p.dat


0 // INLINED CODE (RIGHT)
2 24 19 0 -10.5 -19 0 -10.5
2 24 -19 -40 -11 19 -40 -11
4 16 -19 0 -10.5 -19 -40 -11 19 -40 -11 19 0 -10.5
2 24 -19 0 10.5 19 0 10.5
2 24 19 -40 11 -19 -40 11
4 16 19 0 10.5 19 -40 11 -19 -40 11 -19 0 10.5


   

Print this item

  88013 Technic Large Motor
Posted by: Cam's Bricks - 2020-09-17, 3:50 - Forum: Part Requests - Replies (3)

I think my google fu chops are off today.

I cant find an alternate part number for this and cannot see this on the part tracker or any forum posts for the part number or other searches like "technic large motor" or "technic large" yield no results. 

Does someone have this or can point me to it?

Print this item

Lightbulb It is recommended that melkert should write a book
Posted by: Shi.Yan - 2020-09-16, 4:23 - Forum: LDraw Editors and Viewers - Replies (7)

It is recommended that melkert should write a book, a comprehensive introduction to ldcad

Print this item

  Highlight edges in model tree?
Posted by: N. W. Perry - 2020-09-15, 22:23 - Forum: LDraw Editors and Viewers - Replies (2)

Is there a way to highlight edge lines while browsing the model tree? I know condlines will highlight, but regular edges don't seem to.

Print this item

  Where has Brickshelf gone?
Posted by: Magnus Forsberg - 2020-09-14, 16:19 - Forum: Off-Topic - Replies (4)

Anyone else having problems reaching Brickshelf?

Print this item