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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,534
» Latest member: john carol
» Forum threads: 6,308
» Forum posts: 52,552

Full Statistics

Online Users
There are currently 196 online users.
» 0 Member(s) | 194 Guest(s)
Bing, Google

Latest Threads
Technic 1992
Forum: Official Models
Last Post: Takeshi Takahashi
Yesterday, 19:34
» Replies: 29
» Views: 41,906
Part 11459p01.dat colour ...
Forum: Parts Authoring
Last Post: N. W. Perry
2025-12-27, 15:11
» Replies: 3
» Views: 207
Missing Opal Trans Yellow
Forum: Official File Specifications/Standards
Last Post: Willy Tschager
2025-12-27, 9:29
» Replies: 1
» Views: 170
Submit button
Forum: Website Suggestions/Requests/Discussion
Last Post: Orion Pobursky
2025-12-27, 2:12
» Replies: 1
» Views: 166
Part 14769p10.dat gaps an...
Forum: Parts Authoring
Last Post: N. W. Perry
2025-12-26, 21:55
» Replies: 3
» Views: 246
30mm vs 30.4mm Wheels & T...
Forum: General LDraw.org Discussion
Last Post: tom alphin
2025-12-26, 5:50
» Replies: 9
» Views: 4,215
LDraw.org 2025-12 Parts U...
Forum: LDraw.org Announcements
Last Post: Orion Pobursky
2025-12-25, 5:21
» Replies: 0
» Views: 203
Could stickers be mapped ...
Forum: Parts Authoring
Last Post: N. W. Perry
2025-12-23, 22:02
» Replies: 10
» Views: 570
Suggestion: for primitive...
Forum: Parts Tracker Discussion
Last Post: Willy Tschager
2025-12-23, 15:51
» Replies: 1
» Views: 180
Feature request - Add cur...
Forum: LDraw Editors and Viewers
Last Post: Roland Melkert
2025-12-23, 8:11
» Replies: 5
» Views: 339

 
  I used LDraw files and LDCad to train an AI program to recognize bricks
Posted by: Jacob Sullivan - 2020-02-21, 22:13 - Forum: General LDraw.org Discussion - Replies (4)

Big shout out to the LDRAW community and Roland Melkert for LDCad! And Rebrickable!
I trained a machine learning algorithm to recognize pictures of bricks, using an animation I made in LDCad. With a parts list from Rebrickable. And parts from LDraw of course. 
My ideal scenario is to grab a handful of bricks, toss them on the table, take a picture, and have the program catalog the pieces.

I put all the how-to details in an article on medium. https://towardsdatascience.com/machine-l...12e0544012
I am working on some other ideas for machine learning brick projects. And it would be cool if people have feedback or wanted to collaborate.

Print this item

  Cannot run the POV for the file from LDRAW
Posted by: jass - 2020-02-21, 9:06 - Forum: Rendering Techniques - Replies (1)

I updated the new LDRAW ALL IN version. There is no problem in the modeling by MLCAD. But when I run the POV file exported from LDRAW, the wrong message is as below.
I checked the before POV file made by old LDRAW ALL IN version, there is no problem. I don't know if there is any option need to setup. Thanks a lot.


Parse Error: No matching } in ‘texture’, undeclared identifier 'lg_gold_chrome' found instead

#ifndef (LDXColor334) // Chrome Gold
#declare LDXColor334 = #if (version >= 3.1) material { #end
texture {
lg_gold_chrome
}
#if (version >= 3.1) } #end
#declare LDXColor334_slope = #if (version >= 3.1) material { #end
texture {
lg_gold_chrome
#if (LDXQual > 1) normal { bumps 0.3 scale 25*0.02 } #end
}
#if (version >= 3.1) } #end
#end

Print this item

  Writing a parser
Posted by: Michael Horvath - 2020-02-20, 22:36 - Forum: LDraw File Processing and Conversion - Replies (12)

I'm starting to write my own parser that will convert an MPD file to JSON format.

Are the FILE, Name:, Author:, !LICENSE, ROTATION properties case-sensitive? Will they always be the same case as I typed them or should I ignore case?

Thanks.

Print this item

  Double click oops
Posted by: Orion Pobursky - 2020-02-19, 3:28 - Forum: LDraw Editors and Viewers - Replies (8)

In case anyone has wondered what happens when you accidentally double click a part in the parts bin after a Select All:

   

Print this item

  Interactive Town Scene
Posted by: Michael Horvath - 2020-02-19, 2:59 - Forum: MOCs (My Own Creations) - No Replies

I know I have posted this before, but I've been making the Datsville HD render more interactive.

[Image: 49555063436_7519970cec_c.jpg]

https://mjhorvath.github.io/Datsville/do...n-map.html

You can click on the buildings (only one so far) and a popup blurb will appear with a message from a Datsville resident.

Not sure how much further I will go with this. It depends on how much I can automate the process, since I plan on making further revisions to Datsville itself too.

Print this item

  Parts Request: Dogs
Posted by: Batareikin - 2020-02-16, 11:58 - Forum: Part Requests - No Replies

Hello

Part request

Husky 

Dog Husky with Black Eyes, Black Nose Print and Marbled Dark Bluish Gray Ears and Back Pattern
https://rebrickable.com/parts/16606pat00...k-pattern/

Dog with Black Eyes, Black Nose Print and Marbled Black Ears and Back Pattern
https://rebrickable.com/parts/16606pat00...k-pattern/

German Shepherd variants
https://www.ldraw.org/parts/official-par...rtid=92586

Dog - Alsatian / German Shepherd with Dalmatian Print
https://rebrickable.com/parts/92586pr000...ian-print/

Dog - Alsatian / German Shepherd with Black Eyes, Nose and Fur Print
https://rebrickable.com/parts/92586pr000...fur-print/

Dog - German Shepherd [Police Dog] with Black Eyes and Forehead Print  ???
https://rebrickable.com/parts/92586pr000...ead-print/

Dog - Alsatian / German Shepherd With Black Nose and Ears, White Around Mouth
https://rebrickable.com/parts/92586pr000...und-mouth/

Terrier

Dog Terrier with Black Eyes and Nose and Pink Tongue Print
https://rebrickable.com/parts/27981pr000...gue-print/

Dog Terrier with Black Eyes and Nose and Light Bluish Grey Fur Lines Print (Toto)
https://rebrickable.com/parts/27981pr000...rint-toto/

French Bulldog
? https://www.ldraw.org/cgi-bin/ptdetail.cgi?s=29602

Dog - French Bulldog, Grumpy Face with Black Nose and Pink Tongue Print
https://rebrickable.com/parts/32892pr000...gue-print/
? https://www.ldraw.org/cgi-bin/ptdetail.c...602p01.dat

Dog - French Bulldog - Grumpy Face with Black Nose and Mouth - White Spot on Forehead Print
https://rebrickable.com/parts/32892pr000...ead-print/


Dog - French Bulldog
https://brickset.com/parts/design-66181

Dachshund

Dog - Dachshund, Black Eyes Nose and Print
https://rebrickable.com/parts/53075pr000...and-print/

Print this item

  Help me figure out a math/measurement problem
Posted by: N. W. Perry - 2020-02-16, 4:57 - Forum: Help - Replies (5)

I found a measurement discrepancy in set 21004 between the LDraw version and the real thing. I know that sometimes things don't work out precisely between the two, but in this case there's a mismatch of exactly 4 LDU, and I'm trying to pinpoint why.

This involves the rotunda section with its stacked 6x6 dishes and 4x4 round plates, and the 6L axle that supports it. Here are the precepts:

  • The 6L axle has a length of 120 LDU, nominally equal to 48mm in real life.
  • As we know, plate height is 8 LDU (12 with the studs), so two stacked plates are 16 LDU high (20 with studs).
  • The center of the 6x6 dish has the ordinary plate height of 8 LDU, and the cavity adds another 8 LDU, making it equal to two stacked plates in height.
  • As a result, the 4x4 round plate sits entirely flush within the 6x6 dish.
  • Per the instructions, and confirmed in the physical set that I own, the 4x4 round plate at the top of the assembly sits fully within the uppermost 6x6 dish, and the bottoms of both that dish and the 4x4 dish should be at equal height.
  • The axle hole in the 4x4 dish is 12 LDU deep.
So, here's an image showing the problem; the axle assembly and the stacked dishes are shown offset for clarity, but at their correct vertical position:
   

As you can see, the 4x4 dish and plate at the top are 4 LDU too high, because the rest of the assembly is only 104 LDU high rather than the necessary 108. Where is that extra 4 LDU coming from?

I thought perhaps the axle hole in the 4x4 dish should be 16 deep instead of 12, but a rough measurement of the real part suggests that 12 is correct. All of the dishes seem to be modeled at their correct height, too, so the only thing I can think of is the axle. Indeed, measuring the real axle shows that it's just a bit over 47mm long, not 48. It may even be 47.2mm, leaving it 2 LDU short of its theoretical length, but that still leaves another 2 LDU to account for. Could the height of the embossed stud logo account for that (see the 2x2 round plates at the bottom), or just the natural physical play between parts?

Print this item

  How to import LDCad file to Solidworks?
Posted by: Cuong Nguyen Viet - 2020-02-15, 8:16 - Forum: General LDraw.org Discussion - Replies (1)

Dear LDraw.org member!

I am learning how to simulate lego set. I tried with LDCad with its script.
I think this is the best simulate for lego set now. 
But, I saw in youtube that they can simulate lego set with Solidworks.
So could you give me some advice, how to import LDCad file to Solidworks?
Thank you! 


This video using SR3DBuilder. But the Developer was pass away some years, and now I cannot install it in my PC window 10.

Print this item

  Compiling help
Posted by: Michael Horvath - 2020-02-15, 3:16 - Forum: LDraw File Processing and Conversion - Replies (1)

Could someone with Visual Studio installed compile the following program please?

http://ourrandombits.blogspot.com/2015/0...-file.html

Thank you.

Print this item

  Variants of Electric Technic Motor 4.5V 17 x 6 x 5
Posted by: Willy Tschager - 2020-02-13, 21:13 - Forum: Parts Authoring - Replies (3)

Guys,

I'm working my way through:

https://www.ldraw.org/cgi-bin/ptdetail.c...288c01.dat
https://www.ldraw.org/cgi-bin/ptdetail.c...288c02.dat

and would like to know if someone has pictures of the variants.

Type 2 should have a hole at the rear.

w.

Print this item