Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 225 online users. » 1 Member(s) | 218 Guest(s) Applebot, Baidu, Bing, Google, Internet Archive, Yandex, Max Murtazin
|
Latest Threads |
Parts request
Forum: Part Requests
Last Post: Peter Grass
1 hour ago
» Replies: 2
» Views: 341
|
New parts from Lego Instr...
Forum: Parts Authoring
Last Post: Timothy Hall
3 hours ago
» Replies: 82
» Views: 68,223
|
Transparent sticker colou...
Forum: General LDraw.org Discussion
Last Post: Travis Cobbs
5 hours ago
» Replies: 10
» Views: 615
|
The Emperor Zurg
Forum: Part Requests
Last Post: Julian Raymond Ruan
Yesterday, 13:07
» Replies: 0
» Views: 248
|
Batman Cowls
Forum: Part Requests
Last Post: Peter Grass
Yesterday, 1:13
» Replies: 1
» Views: 360
|
A fresh list of "most com...
Forum: Part Requests
Last Post: tom alphin
Yesterday, 0:11
» Replies: 7
» Views: 853
|
Fix for slightly incorrec...
Forum: Part Requests
Last Post: Huib Versteeg
2025-09-14, 9:50
» Replies: 4
» Views: 1,002
|
Lego Town Racer 1996 - 63...
Forum: Official Models
Last Post: Chris Böhnke
2025-09-13, 23:39
» Replies: 14
» Views: 2,360
|
Eyesight on Linux
Forum: Rendering Techniques
Last Post: Orion Pobursky
2025-09-13, 18:56
» Replies: 12
» Views: 9,003
|
Another common varient: 1...
Forum: Part Requests
Last Post: Rene Rechthaler
2025-09-12, 14:51
» Replies: 8
» Views: 5,776
|
|
|
Title annotation in LPub3D |
Posted by: Jaco van der Molen - 2018-11-06, 19:57 - Forum: LDraw Editors and Viewers
- Replies (7)
|
 |
Hi all,
A while ago I posted this thread:
https://forums.ldraw.org/thread-17401.html
Now I am struggling with the annotation for Technic Beams.
I haven't got a clue how to write a regular expression, so is there anyone here who can?
What I am aiming at is that the length of beams is annotated for beams of length 3 or longer and not the lift arms or bent beams.
[Edit]: and including the half or thin beams, but not the modified ones.
Thanks in advance!
[Edit]
Here is the list I want the length to be annotated:
32523.dat Technic Beam 3
32316.dat Technic Beam 5
32017.dat Technic Beam 5 x 0.5
32063.dat Technic Beam 6 x 0.5
32524.dat Technic Beam 7
32065.dat Technic Beam 7 x 0.5
40490.dat Technic Beam 9
32525.dat Technic Beam 11
41239.dat Technic Beam 13
32278.dat Technic Beam 15
No annotation needed for:
18654.dat Technic Beam 1
41672.dat Technic Beam 1 x 3 x 7 with 4 Axleholes and 3 Holes
41665.dat Technic Beam 1 x 4 x 7 with 5 Axleholes and 2 Holes and 1 Slot
43857.dat Technic Beam 2
60483.dat Technic Beam 2 Liftarm
50923.dat Technic Beam 2 Liftarm with Angled Ball Joint
64276.dat Technic Beam 2 Liftarm with Straight Ball Joint
85940.dat Technic Beam 2 with Angled Bar
41677.dat Technic Beam 2 x 0.5 Liftarm
32140.dat Technic Beam 2 x 4 Liftarm Bent 90
50904.dat Technic Beam 2 x 8 x 2 Double Liftarm with 2 1 x 3 Beams
98577.dat Technic Beam 3 with Integrated Ball Joint
61071.dat Technic Beam 3 with Panel Fairing Left
61070.dat Technic Beam 3 with Panel Fairing Right
44225.dat Technic Beam 3 with Rotation Joint 3 Pin
44224.dat Technic Beam 3 with Rotation Joint 3 Socket
6632.dat Technic Beam 3 x 0.5 Liftarm
33299.dat Technic Beam 3 x 0.5 Liftarm with Boss and Pin
60484.dat Technic Beam 3 x 3 T-shaped
32056.dat Technic Beam 3 x 3 x 0.5 Liftarm Bent 90
32249.dat Technic Beam 3 x 3 x 0.5 Liftarm Bent 90 Quarter Circle
32009.dat Technic Beam 3 x 3.8 x 7 Liftarm Bent 45 Double
32526.dat Technic Beam 3 x 5 Bent 90
32250.dat Technic Beam 3 x 5 x 0.5 Liftarm Bent 90 Quarter Ellipse
32271.dat Technic Beam 3 x 7 Liftarm Bent 53.13
45803.dat Technic Beam 3 x 7 x 3 Bent 90 Double Chamfered
41681.dat Technic Beam 3.8 x 1 Liftarm with Click Rotation Ring Socket
32449.dat Technic Beam 4 x 0.5 Liftarm
2825.dat Technic Beam 4 x 0.5 Liftarm with Boss
41679.dat Technic Beam 4 x 0.5 Liftarm with Click Rotation Hinge Half
43464.dat Technic Beam 4 x 3 Liftarm Triangle
32348.dat Technic Beam 4 x 4 Liftarm Bent 53.13
6629.dat Technic Beam 4 x 6 Liftarm Bent 53.13
11478.dat Technic Beam 5 x 0.5 Liftarm with Axle Holes at Both Ends
14720.dat Technic Beam 5 x 3 H-shaped
2905.dat Technic Beam 5 x 3 x 0.5 Liftarm Triangle
99773.dat Technic Beam 5 x 3 x 0.5 Liftarm Triangle Type 2
32251.dat Technic Beam 5 x 7 x 0.5 Liftarm Bent 90 Quarter Ellipse
32311.dat Technic Beam 7 Offset Liftarm with 24 Tooth Gears
32065.dat Technic Beam 7 x 0.5
32177.dat Technic Beam 7 x 1 Liftarm with Ribs and Fan
32308.dat Technic Beam 7 x 3 x 2 Liftarm Split
64179.dat Technic Beam 7 x 5 with Open Center 5 x 3
32079.dat Technic Beam 9 Liftarm Offset with Boss
64178.dat Technic Beam 11 x 5 with Open Center 5 x 3
|
|
|
The adventures of building a web renderer |
Posted by: Lasse Deleuran - 2018-11-05, 16:25 - Forum: Rendering Techniques
- Replies (44)
|
 |
This thread is for sharing my learnings and war stories from the LDraw web-rendering project buildinginstructions.js.
You can see how it evolves on BrickHub.org.
Here is a current example of how it renders a LEGO model:
![[Image: 14.png]](https://brickhub.org/i/data/14/14.png)
It was not always like this. While there are at least two other web renderers that I know of, I still decided to start this project from scratch. This way I would get practical experience with the technologies involved (WebGL, Three.js, GLSL, etc.), and focus on having performance in mind from the very beginning. While the project itself hopefully ends up being of practical use for many, my goal with this thread is to share my experiences, wins and losses, and perhaps even get some good feedback to help drive the project forward.
The project started in July 2018 with the first breakthrough being in August 1. Back then I had finished an MPV of the .ldr parser while trying to adhere to the Three.js best practices for building a Loader. By modifying one of the Three.js sample files, I was able to get it to render:
![[Image: p4xuzyP.png]](https://i.imgur.com/p4xuzyP.png)
As you can see, there were some massive BFC issues, but that was alright for a start. The important part was to get started and get something, anything really, up and running.
My top 3 takeaways from this early stage are:
- Ignore everything that is not absolutely needed in order to get started. This includes conditional lines, quads, BFC, colors, metadata, viewport clipping, etc, etc. While it is important to do things right, the proof of concept both gave me something tangible and came with a morale boost.
- Three.js and the LDraw file format work well together from the perspective of placing things in 3D. It is obvious that James Jessiman knew what he was doing when designing the specification.
- Depending on your approach of design, BFC can be very difficult to get right. There is psudocode in the spec, but unfortunately it did not fit into the data models I had chosen. The pseudocode assumes a single pass of computing both BFC information and triangle wrapping, while my code handles the BFC computation in a separate initial step that creates reusable components.
That is all for the first post. I will try to keep this thread alive with more war stories.
|
|
|
LDraw brick models - not detailed? |
Posted by: Daniel West - 2018-11-04, 1:07 - Forum: Rendering Techniques
- Replies (3)
|
 |
I'm working on a rendering application which requires very accurate models of all LEGO parts.
Naturally the LDraw library is a first stop for me, but I am running into some curious cases of lack of detail even in very common parts like 2xN bricks.
If you look at the underside of a real (modern) 2 x 4 brick for example, you will see a number of small supports, as well as divots where the studs stick out. However, such details are not present in even high resolution LDraw models.
I think it's fair enough if LDraw has some sort of philosophy that the part authors don't worry too much about this sort of detail. But I was just wondering if I was missing anything, or if there was a way to access more detailed part files, especially for very common elements such as these.
Thanks!
|
|
|
LDCAD Parts List Export? |
Posted by: Jeff Boen - 2018-11-02, 22:26 - Forum: LDraw Editors and Viewers
- Replies (7)
|
 |
Sorry if I'm missing something obvious, guys. I'm now fully-converted to LDCad and loving it, but now that I've completed my first serious model using it (1400+ pieces) I can't seem to find an easy method to get a listing of all the parts used in it. I tried BrickUtils from years ago but it no longer appears to run and I can't quite follow all of the discussion about Rebrickable providing a parts list. Is there no parts list file export directly from LDCad?
Thanks again for all the great work and help!
|
|
|
USC Millenium Falcon - coloring confusion |
Posted by: Volker - 2018-11-02, 19:44 - Forum: Part Requests
- Replies (3)
|
 |
Hallo community,
I designed an escape pod for my USC MF and wanted to save it in an proper building instruction. So I´m an bloody beginner with MLCad. I send a request to LEGO, about the used color palette. I received this list:
Quote:154 - New Dark Red
21 - Bright Red
41 - Tr. Red
1 - White
42 - Tr. Light Blue
322 - Medium Azur
23 - Bright Blue
102 - Medium Blue
140 - Earth Blue
24 - Bright Yellow
26 - Black
48 - Tr. Green
28 - Dark Green
330 - Olive Green
106 - Bright Orange
194 - Medium Stone Grey
199 - Dark Stone Grey
138 - Sand Yellow
05 - Brick Yellow
192 - Reddish Brown
312 - Medium Nougat
315 - Silver Metallic
Starting with the mainly used colors of the surface (I marked them bold), I am not able to assign these in MLCad selectable colors - neither with the numbers, nor with the names. I am confused, is that now "light gray", "light bluish gray", "very light bluish gray", ...?
Totally puzzled
|
|
|
Using LDCad flexible parts with Studio |
Posted by: Philippe Hurbain - 2018-11-02, 15:41 - Forum: LDraw Editors and Viewers
- Replies (30)
|
 |
Studio is a nice LEGO CAD tool, but current version (2.0.1(39)) lacks flexible parts. Fortunately, with some tweaks (and a few caveats), it is possible to use LDCad flexible parts in Studio.
If you created your model with Studio, you need to - export it as LDraw
- open the exported model with LDCad
- add the flex parts using the guidelines that follow.
- reload the LDraw model in Studio.
If, like me, you are a die-hard LDCad user, you can still use these tips to make use of the great photorealistic rendering engine included in Studio, or its fast and user friendly instruction generator. I find that Studio editor is not nearly as convenient, flexible and powerful as LDCad, but I'm probably biased 
How it works?
LDCad uses specialized meta-commands to describe the flexible parts but also create a generic fallback LDraw representation. It is this fallback which is visible in Studio if two conditions are met:- the fallback is made with segment parts present in the LDraw library of Studio
- The segment parts are not scaled: Studio is not able to scale parts.
Important note:
This is NOT a LDCad flexible parts tutorial! For more details, see LDCad documentation, video tutorials and technical documentation.
|
|
|
Brickalo - Can Computers Play With Lego? |
Posted by: Neil Marsden - 2018-11-02, 10:46 - Forum: Rendering Techniques
- Replies (6)
|
 |
Hello LDRAW people
I’d thought I’d share a Lego LDraw based website I’ve created - www.brickalo.com - I’ve been working on getting a Python program to better understand how LDraw Lego parts might fit together. Brickalo creates unique LDraw .ldr files (and pretty pictures) containing 100 various Lego bricks randomly assembled by a computer (which is harder than it looks!)
It uses the command line version of MODO (which is freely accessible without a full license) to render the images
Let me know what you think
Thanks
Neil
|
|
|
|